Hi,
I am having trouble setting the preferred printer. I have searched through and it seems that what I am doing should work.
The printer is installed on a workstation (KELLEYS) and is shared. On my pc I have installed the printer and it shows up as “dymoright on KELLEYS”.
When I run the following code I just get the printer selection box, if I pick the printer from there it works fine. I was wanting to be able to skip that part however.
In the printer selection box it shows the printer as “\KELLEYS\dymoright” so I have tried setting the PreferredPrinter to “dymoright on KELLEYS” and “\KELLEYS\dymoright”.
Could someone take a look and let me know if I am overlooking something.
forms.Label_WorkOrderSticker.controller.setPreferredPrinter("\\KELLEYS\dymoright")
//Print this form with current foundset, without preview
forms.Label_WorkOrderSticker.controller.print(true, false);
This is on Servoy 4.1, Vista SP1 (both machines).
Thanks