Is there a way to direct a print job to a named (not default) printer, without showing a popup dialog box to select the printer? This works fine for directing to the default printer, but I have several task specific printers that I need to direct outputs to at different times without requiring user interaction.
What are you trying to print? If you happen to be printing a report from a report viewer then component has its own print function that does indeed take a printer name. If you’re using createPrintJob() then there is a function (undocumented it seems, I’ll make a note to add it to the manual) that allows you to specify the name of the printer. You would do something like the following:
job = system.print.createPrintJob(my_component)
Yes that is exactly what I was looking for. Thank you.