Is there any way to control print setup options from this API? We have this need to route the output of our printed pages to specific printers, based on users settings and also set the page size that should be selected. This is a actually a very common and popular scenario in many vertical industries, but somehow all PDF viewer systems(in Chrome, Edge, Firefox), have issue with. I was hoping that this API can offer something in that regard. The scenario is very simple: Different PDF files are generated on the server side, depending on the form, the proper page size and the proper printer, must be selected. Once the user clicks on the print option, the print dialog must be initialized with suggested settings. It would be great if you could bypass the print dialog, but I believe that would be a security violation from browser's point of view.
It sounds like what you need is a print server that can do the printing based on the parameters for each form. That would let you take the responsibility of printing off the browser and just use Embed API to get the file to the server. That would also bypass the print dialog.
Thanks Joel. As I mentioned the pdf files are already generated on the server and we know the page size and the printer that they should go to. However, the UI is a page on a browser where the user can preview the form and then print it if they want. If they issue the print command from the browser, we want the right info to be populated in the print dialog box.
Does this Adobe Embed API provide a feature to initialize print parameters?