Skip to main content
Participant
August 24, 2012
Question

Reader 10.1.4. Printing PDF by command line

  • August 24, 2012
  • 1 reply
  • 18738 views

Hi

In an application I have developed I print PDF files to a defined printer using command line, such as

"C:\Program Files (x86)\Adobe\Reader 10.0\Reader\acrord32.exe" /N /T "myPDFfile.pdf" "\\servername\printername"

I have noticed a change of behaviour with Reader 10.1.4 to previous versions.

To test locally I share a local printer (e.g. share name "bobsprinter") connected to my machine ("bobsmachine") and include it in the command line as follows

"C:\Program Files (x86)\Adobe\Reader 10.0\Reader\acrord32.exe" /N /T "myPDFfile.pdf" "\\bobsmachine\bobsprinter"

I have noticed that with Reader 10.1.4 a print job is no longer submitted, unless I take out the machine name and just leave in the shared printer name:

"C:\Program Files (x86)\Adobe\Reader 10.0\Reader\acrord32.exe" /N /T "myPDFfile.pdf" "bobsprinter"

Where it then works OK.

Question: Why would there be this change of behaviour in 10.1.4? Is there anything I need to consider? I have not come across anything in the release notes.

I have noted that on my customer's site my command line (with machien and printer name) still works OK with 10.1.4. Maybe because the shared printer is on another network?

Many thanks in advance.

This topic has been closed for replies.

1 reply

Adobe Employee
August 31, 2012

Hi Bob,

Thanks for reporting the problem faced by you. My investigations suggest that command line printing behavior between Reader 10.1.3 and 10.1.4 is still the same.

It prints the document on Reader 10.1.3 and 10.1.4 only when you do not specify the servername(localhost) on command line. However, It prints both with/without using the servername when Acrobat is used.

Thanks,

Atul Agarwal

Adobe Systems