Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Tue Oct 16, 2018 7:30 pm
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: printing with out OpenPrinterDialogBox
PostPosted: Mon Nov 19, 2012 9:56 pm 
Offline
User avatar

Joined: Wed Sep 20, 2006 5:12 pm
Posts: 680
Location: Puerto Rico
can print direct with out show the OpenPrinterDialog
:idea:

_________________
Thanks for any contribution and God blesses all (I start Using RS in 10/12/2010)
Mac Mini with Lion v10.7.5 and Real Studio 2012r1 Pro And Windows 7 RS2012r1 Personal and Linux RS2012r1 Personal Register user
my Hobbies R/C Turbines Jets Models


Top
 Profile  
Reply with quote  
 Post subject: Re: printing with out OpenPrinterDialogBox
PostPosted: Mon Nov 19, 2012 10:20 pm 
Offline

Joined: Fri Jan 06, 2006 3:21 pm
Posts: 12388
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
 Profile  
Reply with quote  
 Post subject: Re: printing with out OpenPrinterDialogBox
PostPosted: Mon Nov 19, 2012 10:56 pm 
Offline
User avatar

Joined: Wed Sep 20, 2006 5:12 pm
Posts: 680
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 Lion v10.7.5 and Real Studio 2012r1 Pro And Windows 7 RS2012r1 Personal and Linux RS2012r1 Personal Register user
my Hobbies R/C Turbines Jets Models


Top
 Profile  
Reply with quote  
 Post subject: Re: printing with out OpenPrinterDialogBox
PostPosted: Mon Nov 19, 2012 11:30 pm 
Offline

Joined: Fri Jan 06, 2006 3:21 pm
Posts: 12388
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
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group