Welcome! Log In Create A New Profile

Advanced

Default Preview Printer

Posted by Aad Mess 
Aad Mess
Default Preview Printer
May 11, 2009 10:45AM
Hello,

How can i set the default printer when i use a preview screen from a report (Windev 12)
(So when i press on the print button in the preview screen the systeem uses my pre-defined printer and not the windows default)

Regards, Aad
Al
Re: Default Preview Printer
May 11, 2009 11:18AM
Hello Aad

At some point in your app you can run IConfigure() as either a process to ask the user to select a printer from a list or pass the printer name to it

Check the help on IConfigure() for examples

There are also various WD_Imprimer_Etat.wdw or WD_Print_Report.wdw windows in various styles in the Windev12 folder

Regards
Al
Aad Mess
Re: Default Preview Printer
May 12, 2009 11:05AM
Thanks Al,

When i use iConfigure before i use a report with iPreview, Windev uses the printer i selected before as default from within the preview screen. I will test some more but it seems to do the trick.

Regards, Aad
Author:

Your Email:


Subject:


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.
Message: