realbasic-nug
[Top] [All Lists]

Problem with OpenPrinterDialog on Windows

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Problem with OpenPrinterDialog on Windows
From: Paul Rehill <paul dot rehill at gmail dot com>
Date: Tue, 31 May 2005 22:02:54 +1000
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=UMjabShaIMM4wXif+VRxIGHVL8JvfY4a/FfJvJDwrGbaSDLvUnq/sJK7u7e6tHqWDtj+IZ5wMLX4k/PsE2XUbJhz18x4pfYLz1TW7ET2a+E+IXIHBJPMZ7Vgp98hAMYWTb5c/iRCVO6b/S7Byo9oarSXvtsS4dHygEKzn87Rs5k=
I experience a problem with OpenPrinterDialog on Windows XP when
passing a printer setup object to it.  It works fine on Mac OS 10.3. 
Basically, OpenPrinterDialog works fine the first time it is accessed
but after passing a printer setup object to it the second time, it
always returns a Nil graphics object.

Thankfully this problem doesn't occur with Open Printer so I have
included conditional statements which use OpenPrinterDialog on Mac OS
and OpenPrinter on Windows computers as a workaround.

Has anyone else seen this problem?

Regards

Paul Rehill
mathsteacher.com.au
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>