Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printing from acroread using Unix command line

Status
Not open for further replies.

jcmercure

Programmer
Joined
Oct 22, 2003
Messages
20
Location
US
Hello -

I need to script the printing of PDF files in a UNIX script file. I can't find any documentation regarding acroread command line functions.

Can someone please tell me if it possible to script printing of PDF files in UNIX using acroread?

I will need to be able to pass the filename and printer queue to acroread.

Thanks in advance.

- John Mercure
 
acroread will only allow you to read pdf files, and not create them. take a look at the link below for a pdf creation tool for unix

 
Thank you for your response. Unfortunately, I am not looking to create the PDF, that part is done already. I just need to print a PDF via a shell script and wish to do so using acroread.

I have actually found information regarding this. The syntax is something like:

cat $FILE | acroread -toPostScript | lp -d $PRINTER

I haven't had the opportunity to test it yet, but I have found similar information in multiple locations, so I suspect that this is correct.

Thanks again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top