New topic: printing with out OpenPrinterDialogBox
<http://forums.realsoftware.com/viewtopic.php?t=45990> Page 1 of 1 [ 4 posts ] Previous topic | Next topic Author Message jetpr Post subject: printing with out OpenPrinterDialogBoxPosted: Mon Nov 19, 2012 9:56 pm Joined: Wed Sep 20, 2006 5:12 pm Posts: 520 Location: Puerto Rico can print direct with out show the OpenPrinterDialog _________________ Thanks for any contribution and God blesses all (I start Using RS in 10/12/2010) Mac Mini with Snow Leopard v10.6.8 and Real Studio 2012r1 Pro And Windows 7 RS2012r1 Personal and Linux RS2012r1 Personal Register user my Hobbies R/C Turbines Jets Models Top timhare Post subject: Re: printing with out OpenPrinterDialogBoxPosted: Mon Nov 19, 2012 10:20 pm Joined: Fri Jan 06, 2006 3:21 pm Posts: 11821 Location: Portland, OR USA No. But you can show the dialog once and then save the PrinterSetupString to reuse later. After the first time, you'll be able to print direct without showing the dialog again. Top jetpr Post subject: Re: printing with out OpenPrinterDialogBoxPosted: Mon Nov 19, 2012 10:56 pm Joined: Wed Sep 20, 2006 5:12 pm Posts: 520 Location: Puerto Rico how get the Printer Setup String OpenPrinterDialog return Graphics no string _________________ Thanks for any contribution and God blesses all (I start Using RS in 10/12/2010) Mac Mini with Snow Leopard v10.6.8 and Real Studio 2012r1 Pro And Windows 7 RS2012r1 Personal and Linux RS2012r1 Personal Register user my Hobbies R/C Turbines Jets Models Top timhare Post subject: Re: printing with out OpenPrinterDialogBoxPosted: Mon Nov 19, 2012 11:30 pm Joined: Fri Jan 06, 2006 3:21 pm Posts: 11821 Location: Portland, OR USA Not OpenPrinterDialog, use PrinterSetup.PageSetupDialog. Then save the PrinterSetup's SetupString. Later you can create a new PrinterSetup and set its SetupString to the saved value. Then call OpenPrinter. Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 4 posts ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
