Welcome!
Log In
Create A New Profile
Home
>
WinDev Forum
> Topic
Advanced
WD12 default printer
Posted by Jan de Bruin
Forum List
Message List
New Topic
Jan de Bruin
WD12 default printer
January 26, 2009 09:07PM
Hey..
Is it possible to change the default printer in WinDev..
OR
How to print to a specific printer ?
TIA !!! :joke:
Jan
Reply
Quote
Arie
Re: WD12 default printer
January 26, 2009 09:35PM
use iConfigure("your_printer") to "select" the printer
followed by iPrintReport (report_name)
iListPrinter() gives you all the printers on your system
Changing the default printer? Sorry, dont know.
Arie
Reply
Quote
Arie
Re: WD12 default printer
January 26, 2009 09:42PM
Do you mean "change the default windows printer" permanently?
Then you can use CallDLL32("winspool.drv","SetDefaultPrinterA",sPrinterName)
Arie
Reply
Quote
Jimbo
Re: WD12 default printer
January 26, 2009 09:51PM
Moderator
Hi,
iConfigure(PrinterName, False)
changes the default printer to the desired one.
Regards,
Guenter
Reply
Quote
Jan de Bruin
Re: WD12 default printer
January 26, 2009 10:03PM
Thanks and Arie too !!!
It works..
Greetings
Jan
Reply
Quote
Newer Topic
Older Topic
Print View
RSS
Author:
Your Email:
Subject:
Help information
BBcode help
Smileys help
Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
[Please, enable JavaScript to see the code]
Enter code:
Message:
[Please Enable JavaScript]