Solved

Print PDF via server

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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Not a Schema Admin?  Schema Role on Non-AD Controller? 7 49
Domain Share problems 5 55
Backup DHCP Server 8 108
SBS 2003 RWW Login 3 36
This article shows how to convert a multi-page PDF file into multiple image files, with one image file created for each page of the PDF. It does this by utilizing an excellent, free software package called GraphicsMagick. The solution is amazingly s…
Today companies are subjected to more-and-more data, and it won't stop any time soon.  But there are obvious opportunities for reducing data, particularly data duplicated among companies.
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…

803 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