realbasic-nug
[Top] [All Lists]

Re: Problem with OpenPrinterDialog on Windows

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Problem with OpenPrinterDialog on Windows
From: Loren <getreal at rbapp dot com>
Date: Tue, 31 May 2005 11:09:55 -0700
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <f72ec0cb05053105023906081f at mail dot gmail dot com>
I have had many problems with the windows dialog boxes and passing printer setup

my reports are to all print in landscape, so it would be nice for the user to not have the requirement to have to pick it when they run the first report, i can set it on the mac, but they are pc users and the windows version requires you to do a setup before being able to change the setup. i was also not able to get a setup string and hard code it because it contains printer specific info on windows, and they need to pick different printers, so i disable the print option until they do setup first, and they have to click landscape and manually type in the margins

and even with that the fonts print different sizes on pc versus mac are different and on windows, margins are different on every printer, etc

the dialogs for print page # to page # give different answers mac versus pc, i think it may have been fixed in some rb version where all give 0 as first and the other gives 1 as first page, don't remember now, i gave up and just made .pdfs and let them print from that

printing cross platform is really terrible

not sure if there is an easy solution, i haven't been able to find one yet

and i just love the sensibility of having a 'supplies' button on mac tiger... how bout a 'setup' button so i don't have to click cancel, setup, click around, ok, file print blah blah.... the only thing i do like on the windows print, is printer 'page setup' is in the SAME dialog

let us know if you find anything good

sorry had to complain a bit, it took hours upon hours on printing for me i had to vent a little bit, only a little, the screaming already happened

On May 31, 2005, at 5:02 AM, Paul Rehill wrote:

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
_____




_/ | \________________________________
Loren
RB 555P Mac n Win Ide
Einhugarfied and monkey'd up
Tigger 10.4.1 - g5 2g
W2000 on Virt Pc and some junky laptop
discodj a~t mac _ c~o~m



_______________________________________________
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>