Solved

Print PDF via server

Posted on 2012-04-10
4
519 Views
Last Modified: 2012-07-03
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
0
Comment
Question by:theo kouwenhoven
  • 3
4 Comments
 
LVL 77

Expert Comment

by:arnold
ID: 37830863
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.
0
 
LVL 16

Author Comment

by:theo kouwenhoven
ID: 37831407
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?
0
 
LVL 16

Accepted Solution

by:
theo kouwenhoven earned 0 total points
ID: 38137072
Hi All,

We solved the problem by writing a java program, this program is polling a mapped drive so that any PDF copied to that map will be printed.
Because it's a solution written for a customer. I'm not allowed to publish.
0
 
LVL 16

Author Closing Comment

by:theo kouwenhoven
ID: 38148212
I didn't receive a solution so we had to find someone who was able to writ this for us.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

With the internet and the ease of information transference, many professional jobs can be done anywhere today.  Why should it make a difference whether an x-ray is read in India or the United States as long as the radiologist is qualified?   Outso…
Meetings to discuss business process can waste time, and often do .  The meeting's dialog can get confusing when participants have different professional perspectives and backgrounds.  A jointly-developed process picture helps wade through the confu…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now