Solved

Print PDF via server

Posted on 2012-04-10
4
518 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 76

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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Contact management 16 151
Clone Windows 2003 SBS into VMware Virtual Machine 3 85
Dentrix G4 1 32
Backup DHCP Server 8 76
PaperPort has a feature called the "Send To Bar". It provides a convenient, drag-and-drop interface for using other installed software, such as Microsoft Office. However, this article shows that the latest Office 2016 apps (installed with an Office …
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This video shows where to find the word count, how to display it, and what it breaks down to in Microsoft Word.
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 …

744 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

12 Experts available now in Live!

Get 1:1 Help Now