Link to home
Start Free TrialLog in
Avatar of Theo Kouwenhoven
Theo KouwenhovenFlag for Netherlands

asked on

Print PDF via server

Hi Experts,

I like to print PDF's in a batch process on my Win 2003 server, how can that be done?
I have a process on the server that is polling a map and can fire a job when a PDF is placed in this map, but what command do I have to give to print the PDF?
Do I need specific software (Free if possible)

Thanks

Murph
Avatar of arnold
arnold
Flag of United States of America image

http://www.robvanderwoude.com/printfiles.php

Has examples of command lines that you can use.
Powershell example
http://powershell.com/cs/blogs/karl-prosser/archive/2009/02/10/print_2D00_file_2D00_function.aspx

A different option could be to use PDF to ps converters and then send the ps to the printer
Presumably your printers support raw ps printing.
Avatar of Theo Kouwenhoven

ASKER

Hi Arnold,

Tanks for the response,
The first link is the status that I reached and discovered that there is a difference between the command for a PC and for a Sever, according to Adobe it's only possible on a server with a real (payed) server version.

A .bat file containing the following command, works on the PC
"C:\Program Files\Adobe\Reader 10.0\Reader\AcroRd32.exe" /T /H %1 %2
(Where %1 is the PDF's fullpath and %2 the printer name)

I tried the powershell version, but have a simular problem, Karl Prosser also mentioned on his site :
"I haven’t yet been brave enough to try it on PDFs with adobe reader."

How do I convert PDF to PsotScript or PCL and haw can I send that to my printer?
ASKER CERTIFIED SOLUTION
Avatar of Theo Kouwenhoven
Theo Kouwenhoven
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I didn't receive a solution so we had to find someone who was able to writ this for us.