I am not sure this is the correct place to put this, but here it goes. We have a set of already created PDF documents that we want to have our system print out the correct one (without dialog box) when the system receives user information. The way this would work is the user is logged into the system and when that happens one of 100 PDF docs are printed out for them. Think of a kiosk environment.
I know the names of the PDFs, I know where they are located, I know what the user should get, but I do not know how to print out the PDF without a dialog box. In fact it would be even better if the PDF did not even display in the browser and would just print.
Any idea? Can this be done?
If you are creating a "kiosk-type environment", you need to be aware of the requirements/restrictions of the Acrobat and Reader EULAs. Start by reading those to ensure that you are not violating them.
Assuming that you are not, then you just automate Adobe Reader to print the file.
A "kiosk-type environment" may have been misleading. It is not a kiosk in the sense that it is sitting out for anyone to access. It is more of a system that is used internally to print forms for co-workers. The only reason why I said kiosk is becuase of the need for silient printing capibilities.
"just automate Adobe Reader to print the file"
Some of our applications need to print PDF files silently as well. I downloaded the SDK to see if this will be a fit for us. Part of the issue for us is that these applications run on a server as scheduled tasks which process incoming flat files. Each flat file contains statement information which is used to create a formatted statement using a RDLC report def, and then that is rendered as a PDF file. The PDF file is then to be printed on one of two printers designated to use special forms that are perforated and fold for mailing.
We tried printing them raw, but as expected, there are too many limitations - no full duplex, and some prints are even blank even though the PDF isn't. On other printers, using regular paper, these same PDFs print as expected when printing from Adobe Acrobat and, as expected,replicate some of the limitations when printing from DOS.
So, I'm looking into the Acrobat SDK to see if it'll work for us. The best scenario, actually the only scenario that will work for us, would be that the SDK provides an assembly that can be bundled into each application and therefore can be installed as part of each application. Since the company puts so much resistance to installing software like Word, Acrobat, Excel, etc.. on servers, even if we did go through the required approval process, it's likely our request will be rejected.
I am also looking into Advanced PDF Printer because it appears to be a bit more straight forward for what we need, but proof is in the pudding!
Adobe does NOT support the installation and use of Adobe Acrobat or Adobe Reader on a server - so that's clearly not an option.
If you want a server-based solution for printing PDFs, Adobe offers two options.
1) Adobe PDFLibrary. This is a programming library for working with PDFs that you would link your own (C/C++-based) application against and install on your serv
2) Adobe LiveCycle Production Print. This is a server-based application for printing PDFs (and other formats) to various printer and print streams. You can call it with a variety of APIs.
i wrote an article how to open and show and silent print pdfs in Windows and Mac OSX with examples (using native commands):
even if is for Adobe Air you can you native commands examples for any other programming language