Printing PDFs from Windows Command Line

Hello support

I have been using pdfprint.exe (command line) for a long time on w2003 32bit without any problems.

I now want to upgrade my server to w2012 64bit. And a faster server.
I have tried to move my pdfprint.exe (version 2.0) to the new server.
It works, but it is slow.
A job prints on 1.7 seconds on w2003
The same job prints on 2.6 seconds on w2012
When I have 2000 jobs to print, the speed matters.
Do you have any explanation to that??

I know there is a newer version, but I have no license to that at the moment. I have tried to test with the new version, but only one page out of 12 is printed, so I am not able to compare the speed.

If I can be sure the newest version will solve my speed issue, I would upgrade to that one.

Do you have any suggestions?
Customer
-------------------------------------------------------

image

The speed may caused by more issues, such as network transfer speed, anti-virus application, printer driver, etc., I suggest you may disable anti-virus application in your system and upgrade printer driver to latest version to try again, this may improve printing speed to you.

You can also run following command line to print your PDF file to Windows Printer, the following command line will print your PDF file faster,

pdfprint.exe -raster2 -rasterbwtext -rasterbitcount 1 -xres 150 -yres 150 C:\input.pdf

the following command lines are useful to you to print some problem PDF files,

pdfprint.exe -shell C:\test.pdf
pdfprint.exe -shell2 C:\test.pdf
pdfprint.exe -raster2 C:\test.pdf
pdfprint.exe -vector C:\test.pdf
pdfprint.exe -printermargins -raster2 C:\test.pdf
pdfprint.exe -useembedfont C:\test.pdf

To get color printing with raster mode, please use the following command lines,

pdfprint.exe -raster2 -rasterbitcount 16 -xres 150 -yres 150 C:\test.pdf
pdfprint.exe -raster2 -rasterbitcount 24 -xres 150 -yres 150 C:\test.pdf

The following command line will print your PDF file at high quality,

pdfprint.exe -raster2 -xres 600 -yres 600 C:\input.pdf

You can use following command lines to batch print all of your PDF files,

#1: Batch print all PDF files in D:\temp folder,

for %F in (D:\temp\*.pdf) do "C:\VeryPDF\pdfprint.exe" -printer "docPrint" "%F"

#2: Batch print all PDF files in D:\temp folder and sub-folders (recursion),

for /r D:\temp %F in (*.pdf) do "C:\VeryPDF\pdfprint.exe" -printer "docPrint" "%F"

You can also do same thing in .bat file, but you need use "%%" to instead of "%" in .bat file,

for %%F in (D:\temp\*.pdf) do "C:\VeryPDF\pdfprint.exe" -printer "docPrint" "%%F"

for /r D:\temp %%F in (*.pdf) do "C:\VeryPDF\pdfprint.exe" -printer "docPrint" "%%F"

VeryPDF

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Related Posts

This entry was posted in PDF Print and tagged , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!