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 Chris Miller 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
Oct 22, 2003
20
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
 
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