Solved

Print PDF via server

Posted on 2012-04-10
4
522 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 78

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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

PaperPort 14.5 Patch 1 update is often not detected or downloaded automatically. This article provides direct download links to solve the problem for retail (non-bundled) versions of the Standard and Professional editions, as well as the Professiona…
A high-level exploration of how our ever-increasing access to information has changed the way we do our jobs.
This video shows where to find the word count, how to display it, and what it breaks down to in Microsoft Word.
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…

734 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