Page 1 of 1
Windows Printer Dialog
Posted: Wed Sep 20, 2017 10:42 pm
by Joerg Hamacher
Hello everybody,
how can I open the windows printer dialog (in a form and / or in a web page)?
And how can I assign the selected printer to the printing process in RDMLX?
Reports are generated and printed with the RDMLX commands.
Best regards,
Joerg
Re: Windows Printer Dialog
Posted: Thu Sep 21, 2017 8:36 am
by Stewart Marshall
Hi Joerg
Have a look at the
Windows Printing Extensions
Regards
Re: Windows Printer Dialog
Posted: Thu Sep 21, 2017 4:35 pm
by Joerg Hamacher
Hi Stewart,
can I set these extensions "on the fly" in a LANSA form?
Best regards,
Joerg
Re: Windows Printer Dialog
Posted: Thu Sep 21, 2017 5:37 pm
by MarkD
This seems to say you can -
http://docs.lansa.com/14/en/lansa015/in ... _value.htm
Windows printing extension parameters such as WPEN, WPPN, WPPS, WPPD, WPFD, WPDF, WPDS, WPFO and WPAS may be specified in this parameter. Any value specified in argument 2 should follow the same rules as defined for use of the windows printing extension parameter on the command line. (Refer to Windows Printing Extensions.)
Re: Windows Printer Dialog
Posted: Thu Sep 21, 2017 10:55 pm
by Joerg Hamacher
Hi Mark,
thank you for this information - it is working!
I put WPEN and WPPD in the initialize event of a form, then called a function with the print commands - and the printer dialog appears.
Best regards,
Joerg