Hi All.
In lazreport, you can set the specific printer when you create the report, but I have an interesting challenge.
The user have a Report Printer, Label Printer and a Receipt Printer.
The App's settings load these upon startup, and the types & brands of printers may vary from user to user.
I need to tell LAZ report before it prepare the report to use the Label printer or Receipt printer. If I allow the use the Preview and change the printers it may have undesirable outcomes.
I have tried Printer.setprinter(Mysettings. receiptprinter) before I open the report but that has no effect.
I need to use my settings to set the printer based on the user's setup.
I will appreciate your help as always.
Regards,
Peter