I am trying to print a form in Servoy Web client. Seems like none of the things are working for me.
1. Trying to show the Print dialog, to select some printer. But the print dialog to select the printer is never shown.
- Code: Select all
controller.print(false, true);
2. How to script to use a preferred printer without showing the Print dialog?
- Code: Select all
controller.setPreferredPrinter('Samsung ML-2850 Series PCL6');
controller.print(false, false);
This shows the file save dialog to save the form in pdf.
3. Changing this client property has no impact. Never ever the printer selection dialog pops up.
- Code: Select all
application.putClientProperty(APP_UI_PROPERTY.USE_SYSTEM_PRINT_DIALOG, true);
Is there some thing which is missing? Please help.