HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML v3 Archived Forums (Read Only) › General questions / FAQ › Automatically open print dialog › Re: Re: Automatically open print dialog
@wilvec wrote:
Any chance to send the converted document directly to the printer?
I mean, do not open a viewer and display the print dialog box, but print it directly.
The only way to print PDF silently is to run something like that on the client machine:
AcroRd32.exe /t “C:document.pdf” “HP LaserJet 3300 Series PCL 6” “HP LaserJet 3300 Series PCL” “DOT4_001”
or
AcroRd32.exe /t “C:document.pdf” “\serverprintername” “Kyocera FS-1010” “192.168.0.1”
For network printers sometimes it works without driver/port names:
AcroRd32.exe /t “C:document.pdf” “\serverprintername”
Of course the above is not usable for web application scenarios. In web applications (running acroread as a browser plugin) the silent print cannot be done for security reason.