How to print more PDF files at same time by PDFPrint Command Line application?

Hello,

We use PDFPrint in version 3.0 (Windows Server 2008 R2) for some years.
For some time, we have problems with the software.

If PDFPrint is started several times at the same time to print different documents from different directories, it is not always printed on the specified printer.

Example:
pdfprint.exe -printer Printer1 c:\Printer1\Document123.pdf
pdfprint.exe -printer Printer2 c:\Printer2\Document987.pdf

If this is done simultaneously (automatically in the background), it can be printed as follows:

Document123.pdf -> Printer2
Document987.pdf -> Printer1

How can this be prevented?

The problem does not always occur.

Customer
-----------------------------------------


Please add -nochgprinter parameter to solve this problem, -nochgprinter parameter doesn't change the "default printer" during printing, you can run following command lines to solve this problem,

pdfprint.exe -nochgprinter -printer Printer1 c:\Printer1\Document123.pdf
pdfprint.exe -nochgprinter -printer Printer2 c:\Printer2\Document987.pdf

VeryPDF

See Also:

Category Archives: PDF Print
http://www.verypdf.com/wordpress/category/pdf-print

How do I use pdfprint.exe to print to a paper size other than Letter on a network printer while logged in as a user instead of an administrator?
http://www.verypdf.com/wordpress/201310/how-do-i-use-pdfprint-exe-to-print-to-a-paper-size-other-than-letter-on-a-network-printer-while-logged-in-as-a-user-instead-of-an-administrator-39111.html

VN:F [1.9.20_1166]
Rating: 1.0/10 (1 vote cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
Posted in PDF Print | Tagged , , | Leave a comment

Print documents to virtual printer first, virtual printer will create PDF files and then forward printed documents to physical printer

Now I can get the SPL file, and use spl2pdf_cmd to convert it to PDF file. BUT got another strange and critical problem:

1. For the PDF generated (FP00001_verrypdf.pdf) by spl2pdf_cmd, when I use vc++test.exe to OCR it as text output, could not get the needed info.

2. I also used the arcrobat pdf virtual printer tool, for the same print job, it can output a PDF (FP00001_virtual.pdf), and use vc++test.exe to OCR it, could get quite accurate result.

I will attach all the related files later.

FP00001.SPL: the SPL file
FP00001_real.jpg: the real printer output

FP00001_verrypdf.pdf: used the spl2pdf_cmd to get the PDF from SPL file
FP00001_verrypdf.txt: used the verypdf OCR tool vc++test.exe to get the text output

FP00001_virtual.pdf: used arcrobat virtual printer to get the PDF
FP00001_virtual.txt: used the verypdf OCR tool vc++test.exe to get the text output

The command I used as below:
----------------------------

D:\>cd D:\Project\verypdf\pdf2txtocrsdk_qt

D:\Project\verypdf\pdf2txtocrsdk_qt>vc++test.exe FP00001_verrypdf.pdf FP00001_verrypdf.txt
nRet = 0

D:\Project\verypdf\pdf2txtocrsdk_qt>vc++test.exe FP00001_virtual.pdf FP00001_virtual.txt
nRet = 0

D:\Project\verypdf\pdf2txtocrsdk_qt>

Customer
-------------------------------------------------------------
FP00001_verrypdf.pdf is a PDF file which contain image data only.
FP00001_virtual.pdf is a PDF file which contain text contents.
FP00001.SPL is an EMF-SPL file which contain image data only.

If you wish to create the FP00001_virtual.pdf file, you need modify the options in your virtual printer in order to create a text based FP00001.SPL file, then you will able to create FP00001_virtual.pdf file properly by SPL2PDF SDK.

You may also download following products from our website to try,

http://www.verypdf.com/app/document-converter/try-and-buy.html#buy_pro
http://www.verypdf.com/artprint/docprint_pro_setup.exe

http://www.verypdf.com/app/mini-emf-printer-driver/index.html
http://www.verypdf.com/artprint/mini-emf-printer.exe

You can use these products to create text based EMF-SPL file properly.

VeryPDF
-------------------------------------------------------------
I just used virtual printer for comparison and test purpose. In the real project, only physical printers used.

For the physical printer, can I get the pdf file (which is generated via spl file) similar to the one generated by virtual printer, so could get the text info easily?

Customer
-------------------------------------------------------------
>>For the physical printer, can I get the pdf file (which is generated via spl file) similar to the one generated by virtual printer, so could get the text info easily?

This matter is depend on your physical printer, the different physical printers will create different SPL file formats, we suggest you may use your real physical printer to test the final SPL format, so that you will able to find out the issues easily.

VeryPDF
-------------------------------------------------------------
Your help remind me of a new solution,but not sure if it is feasible:

1.replace the physical printer driver with the virtual printer driver in our project's specific third party application config.

2. when printing, the virtual printer can generate the pdf with text info, which can be easily extracted.

3. use the virtual printer sdk, when the pdf saved, some callback function will be triggered, in the callback, i can add some logic to make the original real physical printer to print the same thing.

Is the above possible? Thanks!

Best regards.
Customer
-------------------------------------------------------------
>>1.replace the physical printer driver with the virtual printer driver in our project's specific third party application config.
>>2. when printing, the virtual printer can generate the pdf with text info, which can be easily extracted.
>>3. use the virtual printer sdk, when the pdf saved, some callback function will be triggered, in the callback, i can add some logic to make the original real physical printer to print the same thing.
>>Is the above possible? Thanks!

Yes, of course, above solution is possible, we have finished some similar projects for other customers in the past.

We have several methods to "hook a physical printer" or "redirect print job from virtual printer to physical printer", we have also several software to finish these functions.

Method 1. Use VeryPDF HookPrinter SDK to capture SPL files and use "SPL to PDF Converter Command Line" to convert from SPL files to PDF files.

If you need to hook a physical printer, yes, VeryPDF HookPrinter SDK is a good choice, after you install the VeryPDF HookPrinter SDK, when you print documents to arbitrary Windows printer, you will able to capture the SPL files,

http://www.verypdf.com/app/hookprinter/index.html
http://www.verypdf.com/app/hookprinter/try-and-buy.html#hookprinter-sdk

But with this method, you need also use "SPL to PDF Converter Command Line" or "SPL to PDF Converter SDK" product to convert from SPL files to PDF files,

http://www.verypdf.com/app/hookprinter/spool-spl-to-pdf-converter.html
http://www.verypdf.com/app/hookprinter/try-and-buy.html#spl-to-pdf-cmd

The generated PDFs' quality is depend on your physical printer.

Method 2. Install docPrint Pro as a "dummy printer", connection between docPrint Pro and physical printer.

You can download and install docPrint Pro from this web page,

http://www.verypdf.com/app/document-converter/try-and-buy.html#buy_pro
http://www.verypdf.com/artprint/docprint_pro_setup.exe

You can install docPrint Pro product as a "dummy printer", add a connection between docPrint Pro and physical printer, when you print a document to docPrint Pro, docPrint Pro will save print job to PDF file first, and the forward print job to physical printer continue, you will get both PDF file and printout, please look at following web pages for more information,

http://www.verypdf.com/wordpress/201607/can-i-forward-and-redirect-print-jobs-from-one-printer-to-another-in-windows-42706.html

http://www.verypdf.com/wordpress/201609/intercepting-data-sent-to-a-windows-printer-print-capture-software-hook-startdoc-startpage-endpage-enddoc-abortdoc-etc-functions-keeping-a-soft-copy-of-print-jobs-hook-print-spooler-on-43013.html

http://www.verypdf.com/wordpress/201608/how-to-redirect-print-jobs-from-one-printer-to-another-printer-42971.html

http://www.verypdf.com/wordpress/201608/hook-windows-printer-capture-printed-documents-and-save-them-to-pdf-ps-eps-tiff-jpg-excel-xls-etc-formats-printer-capture-intercept-and-capture-everything-that-you-send-to-windows-printer-42943.html

http://www.verypdf.com/wordpress/tag/hook-printer

http://www.verypdf.com/wordpress/tag/capture-printer

Method 3. Install docPrint Pro as a "System-wide HookPrinter", use docPrint as a Printer Capturer.

You can download and install docPrint Pro from this web page,

http://www.verypdf.com/app/document-converter/try-and-buy.html#buy_pro
http://www.verypdf.com/artprint/docprint_pro_setup.exe

docPrint Pro software has a "-hookprinter" function, this function is same as "VeryPDF HookPrinter SDK", but it has two more functions,
1. Save the captured print jobs to PDF or image files first,
2. Forward the captured print jobs to physical printer continue,

Please by following steps to use "-hookprinter" option,

1. Download and install docPrint Pro v7.0 version first,

2. Run following application to set Printer Capturer options,

"C:\Program Files (x86)\docPrint Pro v7.0\artprint.exe" -hookprinter

You need set "Output folder" to save captured documents.
You need click "Install HookPrinter" button to install Printer Capturer.
You need click "Save&Close" button to close this dialog, and print a document to an arbitrary Windows Printer, you will get captured documents appear in predefined folder automatically.

3. OK.

"-hookprinter" option will capture everything that you sent to any Windows Printer.

If you want just print a document to docPrint first, and then forward to other printers, you can use "-forward-options" option to instead of "-hookprinter" option, for example,

"C:\Program Files (x86)\docPrint Pro v7.0\artprint.exe" -forward-options

After you set the options, click "Save&Close" button to close this dialog, when an user print a document to docPrint, docPrint will redirect the print job to predefined printer properly.

"-hookprinter" and "-forward-options" are two different printer capture and forwarding methods, you can choose either one according to your requirements.

Method 4. Print a document to docPrint or "docPrint PDF Driver" and save to a new PDF or image or other formats.

This solution is simple, after you install the docPrint Pro software, you will see two printers appear in the Printer&Fax folder, docPrint and docPrint PDF Driver. You can simple print a document to docPrint or docPrint PDF Driver and save to a new PDF or image or other formats easily.

In general, "-forward-options" option in docPrint Pro software is more simple and work better, the other options are complexity for end users.

We suggest you may test above methods, if you encounter any problem, please feel free to let us know, we will assist you asap.

VN:F [1.9.20_1166]
Rating: 2.0/10 (1 vote cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
Posted in docPrint Pro, VeryPDF SDK & COM | Tagged , , , , , | Leave a comment

SPL files not generated with HookPrinter SDK installed

Hello,

I have found that sometimes the SPL files are not generated after I have installed the HookPrinter SDK, even if I uninstalled and re-installed again.

The printer is USB printer, and the virtual printer has also been tried.

I just followed the readme.pdf in the HookPrinter.zip, how can I check what I did wrong, or if it is a bug?

Thanks a lot!
Customer
----------------------------------------
I checked the VeryPDF-HookPrinter.log in C:\Users\Administrator\AppData\Local\Temp:
------
[2017-08-08 12:13:09][PID:184912][Uedit32.exe] [PrnModule] Callback EndDocCallback, FindAndCopy: C:\Windows\system32\spool\PRINTERS\*.spl, found 0 files.
[2017-08-08 12:13:09][PID:184912][Uedit32.exe] [PrnModule] >
[2017-08-08 12:13:09][PID:184912][Uedit32.exe] [PrnModule] Callback EndDocCallback, FindAndCopy: C:\Windows\system32\spool\PRINTERS\*.shd, found 0 files.
[2017-08-08 12:13:09][PID:184912][Uedit32.exe] [PrnModule] >
[2017-08-08 12:13:10][PID:184912][Uedit32.exe] [PrnModule] Callback EndDocCallback, FindAndCopy: C:\Windows\system32\spool\PRINTERS\*.spl, found 0 files.
[2017-08-08 12:13:10][PID:184912][Uedit32.exe] [PrnModule] >
[2017-08-08 12:13:10][PID:184912][Uedit32.exe] [PrnModule] Callback EndDocCallback, FindAndCopy: C:\Windows\system32\spool\PRINTERS\*.shd, found 0 files.
[2017-08-08 12:13:10][PID:184912][Uedit32.exe] [PrnModule] >
------

From the log, it tells that 0 files found under C:\Windows\system32\spool\PRINTERS, but I monitored carefully that the SPL and related files will be generated temporarily and then deleted, just did not copy to the C:\Users\Administrator\AppData\Local\Temp folder ...

How to resolve this problem?

Thanks!
Customer
----------------------------------------
Though the SPL can not be generated in C:\Users\Administrator\AppData\Local\Temp folder, the evaluation popup dialog window can be shown correctly, looks like the HookPrinter failed to capture the SPL files under C:\Windows\system32\spool\PRINTERS timely and copy them to C:\Users\Administrator\AppData\Local\Temp folder ...

Or is there any setting wrong with me?

Customer
----------------------------------------
I found the temporary files under C:\Windows\system32\spool\PRINTERS are 00009.SPL and 00009.SHD, but 00009.SPL is 0K, while 00009.SHD is 2K, will the file size be related?

Will the OS version be related ? Or any windows OS is OK ?

Any help is highly appreciated! Currently blocked by this issue ...

Customer
----------------------------------------
I created a test DOC file in MS Word, found the same, SPL file is 0K, while SHD is 5K,
but I used a virtual PDF printer named "PDF Printer", is it the root cause?

I am now trying the standard Windows Printer ...

For the real printer, seems the same problem ...

Customer
----------------------------------------
Sorry! please IGNORE my previous post.

For the real printer, The SPL file as snapshot printer.png shows, and the log also as below:
VeryPDF-HookPrinter.log:
---
[2017-08-09 17:31:52][PID:8372][EmicroMHT.Client.exe] [PrnModule] Callback EndDocCallback, FindAndCopy: C:\Windows\system32\spool\PRINTERS\*.spl, found 0 files.
[2017-08-09 17:31:52][PID:8372][EmicroMHT.Client.exe] [PrnModule] >
[2017-08-09 17:31:52][PID:8372][EmicroMHT.Client.exe] [PrnModule] Callback EndDocCallback, FindAndCopy: C:\Windows\system32\spool\PRINTERS\*.shd, found 0 files.
[2017-08-09 17:31:52][PID:8372][EmicroMHT.Client.exe] [PrnModule] >
---

The SPL got proper size now ,but in the TEMP folder, still did NOT find it there ...

Customer
----------------------------------------
I have double checked this problem in your system, I can get hook SDK without any problem, please look at attached screenshot, please print a Word document to either printer, you will get SPL file in temporary folder properly.

VeryPDF
----------------------------------------
Thanks for kind help!

Now looks normal and works good! What steps you have done for this?

I only noticed that you used install64.bat to install the HookPrinter, is it a must on windows 64 bit system? I only used the install32.bat, since I thought it should be also compatible with 64 bit windows?

Customer
----------------------------------------

VeryPDF HookPrinter SDK:

http://www.verypdf.com/app/hookprinter/index.html
http://www.verypdf.com/app/hookprinter/try-and-buy.html#hookprinter-sdk

>>Now looks normal and works good! What steps you have done for this?

Because you haven't install HookPrinter properly, you need run a CMD window by administrator privilege, run following command line to register HookPrinter into your system, you will get it work fine,

install64.bat

>>I only noticed that you used install64.bat to install the HookPrinter, is it a must on windows 64 bit system? I only used the install32.bat, since I thought it should be also compatible with 64 bit windows?

Yes, you must run install64.bat to install it into your system.

On 32bit system, you need run install32.bat to install it into your system.

VeryPDF

VN:F [1.9.20_1166]
Rating: 6.0/10 (2 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 2 votes)
Posted in VeryPDF SDK & COM | Tagged | Leave a comment

How to convert PCL file to PDF file and overlay a PDF template as background?

Hi,

We are running a legacy software ( cobol ) which produces simply txt-files with a little bit of pcl-code for the printer control.
Up to now we are producing our pdfs in 3 steps.
1) we use pcl2pdf ( http://www.visual.co.uk/pcl2pdf.html ) to convert pcl to pdf.
2) we use pdfstamp ( http://www.adultpdf.com/products/pdfstamp/index.html ) to stamp an image to the pdf.
3) we use pdfmerge ( http://www.adultpdf.com/products/pdfstamp/index.html ) to attach other pdf.docs to the generated pdf from step 2.

The result is a PDF like the following, which is produced via the same pcl-file that I attached to this mail (551296-R01-2017-06-27_20-10-43.pcl).

We are looking for alternatives to this.

I just started with the trial-version of VeryPDF PCL converter.

A) I tried to convert an example-file ( see attached ) but unfortunately the pdf file doesn't convert german Umlaute ( i.e. ?, ? pcl2pdf does it )

B) I have to try the pcltool command-line version because I need the overlay feature.

I copied pcltool.exe and all dll's from then installation directory to another path and tried to convert like:

c:\d\VeryPdf\pcltool -templateatbottom -template "%CD%\Rechnung.pdf" c:\d\VeryPdf\551296-R01-2017-06-27_20-10-43.pcl c:\d\VeryPdf\TB551296-R01-2017-06-27_20-10-43.pdf

As expected, the file Rechnung.pdf is now underlying to all pages.

But I need the template only on the first page.
The combination of -templateatbottom -templatefirst doesn't work:

c:\d\VeryPdf\pcltool -templateatbottom -templatefirst "%CD%\Rechnung.pdf" c:\d\VeryPdf\551296-R01-2017-06-27_20-10-43.pcl c:\d\VeryPdf\TBF551296-R01-2017-06-27_20-10-43.pdf

The output file is produced but without the underlying Rechnung.pdf:

Would your product "VeryPdDF PDF stamp" be the better choice for this purpose?

Are there any solutions for my problems?

If the problems can be solved, I'm planning to buy the server-license.

Best regards
Customer
-----------------------------------------------------

image
Thanks for your sample files, yes, we have found above two problems in the current version of pcltool.exe application, we will research these problems and try to include a fix for them into the next version of our product. We will let you know after the new version is available. Thanks for your patience.

However, if these problems are urgent to you, we can provide a custom-build version of "PCL Converter Command Line" product to you at additional cost, we will try to solve these problems in this custom-build version within a few business days, if this solution will acceptable to you, please feel free to let us know, we will provide a quotation for the custom-build version to you shortly.

VeryPDF
-----------------------------------------------------
Thanks for your immediate reply and your suggestion concerning the custom-build version. Please provide a quote.
- the changes in that custom-build version will be found later in the next public version ?
- the combination of -templateatbottom and -templatefirst will work in this custom build ? remember that i only need to stamp the first page.
- a problem that I didn't mention up to now is: the pdf -file, I use as stamp fills the entire page, but in the output file, it's size is reduced ( or there is a margin )
- Would your product "VeryPdDF PDF stamp" be the better choice for this purpose or is it part of the command-line tool?
- may I also use graphic -files ( i.e. gif, jpg ) instead of pdf-file to stamp ?
- will the costs for the custom-build version reduce the costs for the server-licence ?

Customer
-----------------------------------------------------
>>- the changes in that custom-build version will be found later in the next public version?

Yes, the changes in the custom-build version will be included in public version also, so you can always enjoy these changes in the future versions.

>>- the combination of -templateatbottom -templatefirst will work in this custom build ? remember that i only need to stamp the first page.

Yes, sure, the combination of -templateatbottom and -templatefirst will work in the custom-build version.

>>- a problem that I didn't mention up to now is: the pdf -file, I use as stamp fills the entire page, but in the output file, it's size is reduced ( or there is a margin )

Do you mean the paper size are difference between original PDF file and generated PDF file?

>>- Would your product "VeryPdDF PDF stamp" be the better choice for this purpose or is it part of the command-line tool?

Yes, we have a PDFStamp Command Line software, you can download and test it from this web page,

http://www.verypdf.com/app/pdf-stamp/try-and-buy.html#buy-cmd
http://www.verypdf.com/pdfstamp/pdfstamp_cmd.zip

With PDFStamp Command Line software, you need stamp sentences to PDF pages one by one.

However, we have a pdftoolbox.exe software which contain PDF overlay function, please look at following web pages for more information,

http://www.verypdf.com/wordpress/201304/how-to-overlay-pdf-to-another-pdf-35885.html
http://www.verypdf.com/app/pdftoolbox/try-and-buy.html#buy

>>- may I also use graphic files ( i.e. gif, jpg ) instead of pdf-file to stamp ?

Yes, with PDFStamp Command Line software, you can use general image file to instead of PDF file as a stamper.

>>- will the costs for the custom-build version reduce the costs for the server-licence?

Sorry, the cost for the custom-build version is expensive than the server license, sorry for this matter.

VeryPDF

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: -2 (from 2 votes)
Posted in PCL Converter | Tagged , , | Leave a comment

VeryPDF software on Raritysoft.com Web Site

VeryPDF.com is professional software publisher whose products make up a family of file conversion tools, enabling both end users and developers to do batch conversion from the source file to a number of industry-standard vector, raster and text formats. VeryPDF also offer custom engineering services to tailor a conversion solution to meet your unique requirements. VeryPDF software is used by some of the world's finest companies for a wide variety of applications across many industries.

image

Raritysoft.com is designed to keep users posted about the newest, up-to-date trends and potentials in the field of software development, acting as a convenient platform for users to exchange views and opinions, at the same time operating like a social network. With Raritysoft.com you will be able to familiarize with trending software reviews and descriptions to help you find relevant and useful computer programs, learn other visitors' judgments and opinions, helpful practical hints and tricks to enhance your knowledge and experiences with any software published on Raritysoft's website, make enquiries, put questions, and receive feedback from Raritysoft's varied and expert user base, share your views and your personality with the world! The most important advantage of Raritysoft's website is that every file placed on it is verified with more than 40 most popular antivirus systems. Users often consider downloading files from the manufacturer's website to be the safest way to obtain them. Based on Raritysoft's own experience and with full confidence we would like to inform you that this point of view is absolutely wrong. Even on the software developer's website, distribution software file is still a computer program, which may contain whatever, and be in spades stuffed with malicious software and annoying ads, which are quite difficult get rid of. Being such software end users can be very dangerous for you. Every day we refine dozens or even hundreds of seemingly safe files provided to us by quite well-known developers (you would be greatly surprised to learn some of their names).

VeryPDF has published lots of products on Raritysoft.com site, you may download or rate VeryPDF products on this web page,

http://verypdf-com-inc.raritysoft.com/products

Email If you have any question for VeryPDF products, please feel free to let us know, we will assist you asap,

http://support.verypdf.com/open.php

VN:F [1.9.20_1166]
Rating: 5.6/10 (5 votes cast)
VN:F [1.9.20_1166]
Rating: +1 (from 1 vote)
Posted in VeryPDF Blog | Tagged | Leave a comment
Page 1 of 1,38912345...102030...Last »