I would like to silently print PDF files from the hard drive to a named printer, which may or may not be the default printer.

In the this thread, it shows how to silently print the PDF but it always goes to the default printer. Is there a command line that allows the entry of the printer name? Is there a better way to go?



11 Years
Discussion Span
Last Post by dan7

I used the link in your thread to find out how to do the printing but I too would like to print to a specific printer.

I used this command...

?"[FilePrintTo(" & Chr(34) & sPDFPath & Chr(34) & "," & Chr(34) & PrinterName & Chr(34) & "," & Chr(34) & printerDriver & Chr(34) & "," & Chr(34) & PrinterPort & Chr(34) & ")]"


[FilePrintTo("c:\test.pdf","\\echo\Canon i6500","winspool","Ne02:")]

I found this information on adobe.com...

It does say that this should pop up a modal window (therefore not silent) however this did not happen with me and it allows me to print silently to a named printer

Edited by Dani: Formatting fixed


For pdf silent printing we are using CLPrint on Command Line PDF

You can easy Print all your PDF documents to any printer you have. You can define the DPI, print range, color mode and many more all from your command prompt.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.