How to intercept and capture a print job and convert it to PDF & Plain Text & Image files and then print?

Sir, I want intercept and capture a print job and convert it to PDF & Plain Text & Image files and then print, I want a C# code for the same, could you please share? In case it is available in paid version we would go for it. 

Customer
----------------------------------------
Thanks for your message, we have more types of Printer Capturer software, you can download and test each one from following URLs,

Solution 1. VeryPDF HookPrinter SDK

With VeryPDF HookPrinter SDK software, you can capture printer output that would normally go to a communications port such as LPT1. Useful for second stage processing such as creating PDF files, ripping, or distribution of printer output.

You can download and test VeryPDF HookPrinter SDK from following web page,

https://www.verypdf.com/app/hookprinter/index.html
https://www.verypdf.com/dl2.php/HookPrinter.zip

Please refer to user manual of VeryPDF HookPrinter SDK from this web page,

https://www.verypdf.com/app/hookprinter/user-guide.html

Solution 2. VeryPDF docPrint Printer Capturer

VeryPDF docPrint Printer Capturer is a special version of docPrint which contain two virtual printers and a Printer Capturer module, after you install it, you will see two virtual printers appear in the Printer&Fax folder, after you enable Printer Capturer Module and print a document to docPrint, docPrint Printer Capturer will work by following steps,

  1. You enable Printer Capturer Module and print a document to "HP LaserJet Professional P1108" or other printers,
  2. Printer Capturer Module will capture this print job, redirect it to docPrint virtual printer,
  3. docPrint virtual printer will convert this print job to PDF, PS, EPS, TIF, JPG, PNG, BMP, GIF, etc. formats first, and forward original print job to original printer ("HP LaserJet Professional P1108" or other printers) continue,
  4. OK, the original printing process will continue and without any interruption, but you will get PDF, PS, EPS, TIF, JPG, PNG, BMP, GIF, etc. formats during printing.

We have created an evaluation version of docPrint Printer Capturer to you, you may download it from following URL,

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

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

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

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, 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.

Solution 3. 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.

VeryPDF
----------------------------------------
Team,

As per you provided solution I have used method #2 as given in below email; followed all the step that is mentioned over there.

After successful installation of exe I got your virtual printer name docPrint Printer Driver in printer list.

Though It is successfully saving the printing document in PDF at my location but printing got stopped after saving this pdf file. this means that nothing is printed after using this docPrint Printer Driver.

Please do assist what setting I have to do in this case so that print will continue as well as saving the printing document at location.

Do also let me know the pricing details of this software so that I can use the same for my own purposes.

Customer
----------------------------------------
Maybe something is wrong during forwarding the print jobs, we will investigate this problem soon.

btw, we have created a new version of docPrint Pro v7.50 to you today, you may download and install docPrint Pro v7.50 from this web page,

(Please contact us to get the download URL to the latest version)

after you install it, you can run following command line to setup "Printer Redirection" options,

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

You will see following screenshot,

image

Please check "Save document as PDF" and select an output folder to save the PDF files, click "Save&Close" button to close this dialog.

Now, you can print a document to docPrint, docPrint will save the PDF file to output folder and also forward the print job to target printer properly.

image

We hope "-redirectprinter" option will work better for you, please give it a try.

VeryPDF

VN:F [1.9.20_1166]
Rating: 10.0/10 (1 vote cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
How to intercept and capture a print job and convert it to PDF & Plain Text & Image files and then print?, 10.0 out of 10 based on 1 rating

Related Posts

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!