Question Locked

Windows XP Batch script for printing pdf documents

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi,
We have an java application which gets the pdf docs from all the offices to the central office where we have configured a printer.Now How can i print the downloaded pdf documents are there any windows batch scripts to accomplish this task on that windows xp machine.
Pls suggest as soon as possible.

Thanks and Regards,
Azeem.

3 replies

by tony hopkinson

You will probbaly have to buy some.

If you are using acrobat reader for instance, you can call it with a file and a /p parameter. Unfortunately those nice people at adobe realised no one was paying for their stuff, so the stopped it from closing at the end of the print run. You can get round that but it's messy.

A linux box would do it easy, AcroBat Pro would, people like AmyUni (they sell a pdf printer driver), or you could write a program to do it.

In short yes but no but.

by bizzo

The command line to print using Acrobat Reader 9.0 is:

"c:\Program Files\Adobe\Reader 9.0\Reader\AcroRd32.exe" /p /h "filename.pdf"

If you have a different version, or if it's installed in a different location, the commandline will be different.

This discussion is closed to new replies.