application.getPrinters()

Hi!

I am creating a user setup from. One of the data entry is a default printer name that the user will be able select available printers and save it in the table. Is there a function that pops the printer dialog? I have seen only application.getPrinters() but it only gets all the printer names in an array.

Thanks!

If you just want to save a printername, I think the easiest way to get all the printers application.getPrinters() and then put them in a valuelist using application.setValuelistItems().
Then use that valuelist on the field you want to save the printer in.

Joas:
If you just want to save a printername, I think the easiest way to get all the printers application.getPrinters() and then put them in a valuelist using application.setValuelistItems().
Then use that valuelist on the field you want to save the printer in.

Done. Thanks!