I would like to print one label or other form for selected record without dialog, triggered from webbrowser.
But on serverside every time the form will be opened with printing dialog.
I need to get the desired forms to be printed without logging into server to answer the print dialog.
Every hint is very welcome,
…also hints how to change printer and printersettings via procedure
(in Pan6 I had done this long time with → executeunix “lpstat -l -p”,Printerliste…, to get info about printers and then always could do → printonerecord ““)
with printtopdf I could do printings for current record without dialog,
so I want to use the “printonerecord”-statement without dialog…
I have to print on real printers like a Dymo Label Printer “Address-Label) and for other forms on HP Laser Jet (Invoice and packing-list) I would like to print the necessary tasks without the dialog.
Nothing what I have tried worked for me, could not get the Panorama X printing commands to do what I need
(in Panorama6 there were parameters saved within the form-variables when it was first time set up with the choosen printer and printer-settings, I could not find anything like that in Pan X, where should I look for that?)
many thanks for your help, so I could solve part of the problem. I’m now able to send tasks to the choosen printer, even tell the printer the necessary paper dimensions for label or regular paper sheet.
Do you know how to tell the printer, to take the paper only from tray 3 for example? Didn’t found a way for that. Are there anywhere system variables connected with the forms of a database, where printersettings are stored?
Do you know how to tell the printer, to take the paper only from tray 3 for example?
Unfortunately, Apple has never provided an API for this sort of printer specific capability. In other words, there is no way to do this. I think the only way to achieve this would be to hook up multiple printers.
I accomplished printing to an specific tray by defining a slightly smaller paper size.
As you point out, this is a trick that only works with a specific printer. It would be nice if Apple offered an API that would allow this to be done with any printer via the printer drive, but in 2026 I’m not holding my breath waiting for this. Probably lucky that Apple hasn’t dropped support for printing completely!