
Hi all,
I develop a screen which contains two button to print two different reports directly to printers. One report is printed on a default printer. Another report must be printed in a Dotted Printer. Do you know how to code to print a report to a specified printer in stead of using default printer in the window?
Regards,
Hieu Vu
*This post is locked for comments
I have the same question (0)hi,
You should add an init method to your report with the following code:
printer = '\\\\path\your_printer';
this.DeviceName(printer);
this.setTarget(printmedium::Printer);
hope it helps
Regards,
Thomas