How to intercept a print job, convert it to PDF file or plain text file or image file and then forward the print job to another printer?

We have some customers who often ask us about how to intercept and capture the print jobs from Windows printer, save them to PDF or text or image files and then continue the printing, yes, this is a good question, VeryPDF docPrint Pro is a good software to implement this function, it can capture all print jobs, save them to various document formats, and then execute the printing continue.

docPrint Pro v8.0 can be downloaded from this web page,

Here is the release note for the docPrint Pro v8.0 software,

Here are some questions from our customers, just for your reference,

I wish to intercept print jobs, read who they are from etc., and then only print them, if the program wants to.

Is there any documents or samples on doing such a thing, if so can some one point me to them, or give me a sample below?

Something on the pc prints (e.g. notepad), the program intercepts the print job (it does not get printed), if the program determines if the print job is worthy of being printed, then it will be printed.

Currently I'm using system.printing, to collect all the printers and find new print jobs,
pause them if they are new, read information about them, e.g. pages, paper size (have not figured out paper size yet), if they are to be printed, un-pause them, else cancel them.

This is not the best way, as i have to make the program auto close the print job window, if it is opened. Because un-pausing a print job, even for part of a second, lets the whole print job get to the printer.

Customer A
How to Intercept Printer Data?

Could anybody tell me how can I create a small driver to intercept and capture information being sent to the printer and instead write it to a file?

Customer B
I need to intercept a print order from a program like Core, Photoshop or Word and capture a series of data from it just like the print date, dimensions of impression etc. to save in a database and then release it to print.

Customer C
Is there any way to intercept print jobs on network or local printer

Is there a way to monitor the print queue (before it gets to the print queue) and make sure that a particular user is only printing specified number of copy of a document? I want to find out how many copies of printout particular user had taken to maintain a record of this. How can I do that using Java Code or any other programing language?

Thanks In Advance...
Customer D
How capture printer data before print, parsing and edit the data then send it to printer?

Any C# sample would be great.

I'm looking for source code or sample that get printer data before print (capture printer output) put it in variable and change some values then print it in form.

Any idea how to get data and put it into variable for special purpose?

Customer E
How Do I Intercept Data Sent From A Printer Attached To Retail POS In A Store?


Please I need help from experts familiar with printer technology, I'm designing a loyalty solution that will capture transactions performed in a retail store, I'd like to fetch the records of the items and amount sent to the printer for receipt printing. Is there a way I can intercept that data and store in a location for later collation?

Appreciate any ideas on this.
Customer F
How to intercept a print job convert it to plain text and print?

Dear Experts,

I need some advice and tips for a new project i want to start.

I will be working with several bars and restaurants for a loyalty program.

Since all the customers already have a POS Software/Hardware from different vendors, i need to write a program to be able to capture in plain text the final invoice when the POS prints the final receipt.

The process should be something like:

1. The user send the command to the POS software to print the final check
2. The program will intercept the printing job, and create a plain text file and store it into the local PC.
3. The check is printed automatically
4. This should be done in silent mode, the user should not notice anything different.

My questions are:

1. Is this possible to do with POS printers like the ESPONS TM family printers?
2. First I want to build this for Windows XP to Windows 8.
3. Which programming language is more suitable for this task? I can use C# and Delphi.

I will give the max point available!!!

Thanks Experts!
Customer G

VeryPDF docPrint Pro v8.0 has a printing capture and forwarding function, please by following steps to use this function,

1. Please download and install docPrint Pro v8.0 from this web page,

2. If you are using 64bit Windows system, your default installation folder will be "C:\Program Files (x86)\docPrint Pro v8.0", you will see the files in this folder after you install it,

3. After you install the docPrint Pro v8.0 software, you can run following command line to connect docPrint and another printer together,

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


You will see following setting dialog for Printer Redirection,


You can select a target printer (forwarded printer) first, for example, you can choose "Microsoft XPS Document Writer" for test purpose, if you print documents to docPrint, docPrint will forward the print jobs to "Microsoft XPS Document Writer", you will get XPS files automatically.

If you want to get the PDF and Text files for each captured print job, you need to check "Save document as PDF" and "Extract to text files" two options.

OK, You can click "Save & Close" button to close this dialog.

4. Now, you can run MS Word application or other applications for printing purpose, you can open a Word document in MS Word application, print it to docPrint virtual printer, you will get a PDF file and a plain text file in predefined folder and also get a XPS file automatically.


This is the printing captured PDF document, the filename is "20180415113535_4_Microsoft Word - Original Filename.pdf", this PDF file looks fine,


You will also get a text file in the same folder, the text filename is "20180415113535_4_Microsoft Word - Original Filename.txt", this text file has same layout with original Word document and PDF file.

5. Everything is fine now.

We suggest you may download the trial version of docPrint Pro v8.0 to try, if you encounter any problem with it, please feel free to let us know, we are glad to assist you asap.

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

Failed to run doc2any.exe from a schedule job, the schedule job is being run "with highest privileges" on Server 2016

Using command line "doc2any.exe to convert DOCX files to PDFs" Conversion work properly when done with a user-interactive session. When this is run as a schedule job header information does not convert over to the PDF.


Thanks for your message, you can use "VeryPDFComRunCmd COM" to run doc2any.exe from an interactive user account, please look at following web pages for more information,

I don't see an answer to my problem in these pages.

Trying to run this conversion as a scheduled job where it simply converts all DOCX files in a folder to PDF, configured to run as a specific user account.

When script is run logged on as that user interactively the conversion works properly, when run as a scheduled job, as the same user, but not logged on interactively, the conversion runs successfully, but the MSWord doc header does not show up in the PDF and the formatting is messed up. Almost like it was converting to a RTF and then to a PDF.

The schedule job is being run "with highest privileges". OS - Server 2016.

Example attached.

Yes, I understand this problem, because MS Word can't be run inside the system user account, you have to run it inside an interactive user account in order to convert from Word documents to PDF files properly.

You can use "VeryPDFComRunCmd COM" to run doc2any.exe from an interactive user account, however, if you wish to use a Command Line EXE instead of DCOM, you may use CmdAsUser.exe to do this work, CmdAsUser.exe is a command line application, you may download CmdAsUser.exe from this web page to try,

Usage: CmdAsUser.exe <user> <domain> [/p <password>] [/c <command>]

<user> is the name of the user.
<domain> is the logon domain, specify a period '.' for local.
<password> (optional) is the users password.
<command> (optional) is the command line to execute as the specified user.

If the password is not given then you will be prompted for it.
If the command is not given then "cmd" is assumed.
The calling process needs to either have administrative privileges (i.e. in the local adminstrators group) or at LEAST the following privileges:
"Act as part of the operating system" (SeTcbPrivilege),
"Bypass traverse checking" (SeChangeNotifyPrivilege),
"Increase quotas" (SeIncreaseQuotaPrivilege),
"Replace a process level token" (SeAssignPrimaryTokenPrivilege).
The utility may take a while if there is inappropriate security so please be patient.


CmdAsUser.exe Martyn . /p GingerNinja /c regedit
CmdAsUser.exe test . /p 123 /c "C:\Program Files\docPrintPro v4.5\doc2pdf.exe" -i htttp:// -o "C:\out.pdf"

for example, you can run following command line to run doc2any.exe from "Administrator" user account,

C:\doc2any\CmdAsUser.exe Administrator . /p password C:\doc2any\doc2any.exe C:\test.doc C:\out.pdf

Please look at following web pages for more information,


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

Font missing problem when converting PDF to PDF/A


We use pdf2pdfa.exe to convert normal pdf:s to PDF/A but some pdf-files won't convert correctly. They seem to be corrupt after conversion.

The thing is that it only happens when we use VCL-components (Delphi) from so our conclusion is that DevExpress put something into the files that shouldn't be there...

Maybe we can send you a PDF-example so you can determine what's wrong with the file? Then we can point this out to Devexpress.

We use this line for i.e.. (I can send license in an e-mail).

pdf2pdfa.exe "-$" "license" -mode 2 Report.pdf ReportA.pdf



We suggest you may add "-repair2" option to try again, for example,

pdf2pdfa.exe -repair2 -mode 2 D:\downloads\Tahoma.pdf D:\downloads\Tahoma-pdfa.pdf

pdf2pdfa.exe -repair2 -mode 2 D:\downloads\test.pdf D:\downloads\test-pdfa.pdf

We hope "-repair2" option will solve this problem to you.



PDF/A is a version of Portable Document Format designed for archiving and preservation. Due to its popularity, many electronic documents exist in PDF format, and the ability to convert an existing PDF into a conforming PDF/A file is as important, if not more, as being able to produce documents in PDF/A format. The Florida Digital Archive conducted a study to select a PDF to PDF/A conversion application as part of its format normalization strategy in the summer of 2012. This article documents the evaluation process and presents the results in such a way that they provide insight into challenges and potential drawbacks during similar evaluation or implementation.

Difference between PDF and PDF/A
The main difference between PDF and PDF/A is that the latter has specific requirements that the regular PDF format does not. The reason why PDF/A enforces these requirements is to make sure that whatever software is used in the distant future will be able to support the file and display all its contents properly.

Types of PDF/A conversion
The two main levels of conformance you can choose from are:

PDF/A-1a (accessible): This conformance level has strict requirements; your document must contain tagging, document structure (hierarchy), language specification, and Unicode mappings. This level is accessible for visually impaired users.

PDF/A-1b (basic): This conformance level has minimum requirements. It does not require tagging, hierarchy, etc. It can be created from a scanned document instead of an existing digital file.

PDF/A restrictions
Unfortunately, you will not be able to include any audio/video content when you are using a PDF/A converter, nor will you be able to include encryption and JavaScript. The reason why is simple – that type of content is too heavy for long-term digital file preservation, and, as mentioned earlier, future software might not be able to support it.

When archiving a PDF file, you want to ensure the file is lightweight and follows all the PDF/A conformance rules, otherwise it may not be accessible to future users due to the compliance being broken.

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

Convert specific sheet in XLSX to CSV, how to convert Excel to CSV and export Excel files to CSV UTF-8 format

I need to convert a sheet of a multi sheet Excel to CSV using command line. how do I do it?

I would like to see a list of all available parameters for the convert. e.g. how i pass the password when the Excel file is password protected?


Thanks for your message, we suggest you may download "VeryDOC DOC to Any Converter Command Line" from this web page to try, you can use "VeryDOC DOC to Any Converter Command Line" to convert from Excel to CSV file easily,

after you download and unzip it to a folder, you can run following command line to convert a XLS to CSV file,

doc2any.exe -useoffice 1 D:\test.xls D:\out.csv

If your XLS contains password, you may pass the password to doc2any.exe by "-password" option, for example,

doc2any.exe -useoffice 1 -password XXXXXXXX D:\test.xls D:\out.csv


Comma-separated values (CSV) is a widely used file format that stores tabular data (numbers and text) as plain text. Its popularity and viability are due to the fact that a great deal of programs and applications support csv files, at least as an alternative import / export format. Moreover, the csv format allows users to glance at the file and immediately diagnose the problems with data, if any, change the CSV delimiter, quoting rules, etc. All this is possible because a CSV file is plain text and an average user or even a novice can easily understand it without any learning curve.

Convert Excel data to CSV file
Export Excel to CSV UTF-8 or UTF-16
Other ways to convert Excel to CSV (keeping special characters)

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

I wanted to get a progress of converting pdf


I wanted to get a progress of converting pdf.

Meanwhile, I saw that get the progress is possible in this site. ( )

So, I purchased the "DOC to Any Converter Command Line" this week.

But, I don't know how I can get the progress.

Let me know how I can.

I look forward to your responses.

Thank you

Thanks for your message, you may run a CMD window first, if you don't know how to run a CMD window, please look at this web page for more information,

after you run the CMD window, you can run following command lines to convert from DOC, DOCX, XLS, XLSX, PPT, PPTX, etc. files to PDF files,

doc2any.exe C:\in.doc C:\out.pdf
doc2any.exe C:\in.ppt C:\out.pdf
doc2any.exe C:\in.xls C:\out.pdf
doc2any.exe C:\in.docx C:\out.pdf
doc2any.exe C:\in.pptx C:\out.pdf
doc2any.exe C:\in.xlsx C:\out.pdf
doc2any.exe C:\*.doc C:\*.pdf
doc2any.exe -margin 100x100x100x100 C:\in.rtf C:\out.pdf
doc2any.exe -append 2 -width 612 -height 792 C:\*.doc C:\out.pdf
doc2any.exe -append 2 C:\*.doc C:\out.pdf
doc2any.exe -width 612 -height 792 C:\in.doc C:\out.pdf
doc2any.exe -append 1 C:\in.doc C:\out.pdf
doc2any.exe -append 2 C:\in.doc C:\out.pdf
doc2any.exe -subject "subject" C:\in.doc C:\out.pdf
doc2any.exe -ownerpwd 123 -keylen 2 -encryption 3900 C:\in.doc C:\out.pdf
doc2any.exe -pdfver 7 C:\in.doc C:\out.pdf
doc2any.exe "C:\in.doc" C:\out.gif
doc2any.exe "C:\in.doc" C:\out.png
doc2any.exe -useprinter -xres 300 -yres 300 -bitcount 1 -compression 4 "C:\in.doc" "C:\out.tif"
doc2any.exe -useoffice 1 -useprinter -showofficeui "C:\in.doc" "C:\out.pdf"
doc2any.exe -printerpaper "3000x3000pt" -useoffice 1 -useprinter in.xls out.pdf
doc2any.exe -printerpaper "8.5x11in" -useoffice 1 -useprinter in.xls out.pdf
doc2any.exe -printerpaper "612x792pt" -useoffice 1 -useprinter in.xls out.pdf
doc2any.exe -printerpaper "297x420mm" -useoffice 1 -useprinter in.xls out.pdf
doc2any.exe -printerpaper "210x297mm" -useoffice 1 -useprinter in.xls out.pdf
doc2any.exe -printerpaper 66 -useoffice 1 -useprinter in.xls out.pdf
doc2any.exe -printerpaper 8 -useoffice 1 -useprinter in.xls out.pdf
doc2any.exe -useprinter -useoffice 1 -showofficeui -delay 10000 -resetofficeview -debug "C:\in.doc" "C:\out.pdf"
doc2any.exe -useoffice 1 -useprinter -delay 5000 "C:\in.doc" "C:\out.pdf"
doc2any.exe -killoffice 0 -useprinter "C:\in.doc" C:\out.pdf
doc2any.exe -multipagetif -killoffice 0 -useprinter "C:\in.doc" C:\out.tif
doc2any.exe -multipagetif -bitcount 1 -xres 300 -yres 300 -killoffice 0 -useprinter "C:\in.doc" C:\out.tif
doc2any.exe -useprinter -compression 88880 "C:\in.doc" C:\out.tif
doc2any.exe -useprinter -compression 88881 "C:\in.doc" C:\out.tif
doc2any.exe -useprinter -compression 88883 "C:\in.doc" C:\out.tif
doc2any.exe -multipagetif -useprinter -compression 88880 "C:\in.doc" C:\out.tif
for %F in (D:\test\*.doc) do "doc2any.exe" "%F" "%~dpnF.pdf"
for /r D:\test %F in (*.doc) do "doc2any.exe" "%F" "%~dpnF.pdf"
doc2any.exe -useprinter -useoffice 1 -noretry -password 123456 D:\test.docx D:\out.pdf
doc2any.exe -useoffice 1 -checkpwd -noretry D:\test.docx D:\out.pdf
doc2any.exe -viewerzoom 1600 -viewpage 10 -viewpagemode 2 -view "C:\in.doc" C:\out.pdf
doc2any.exe -useprinter "C:\example.odt" "C:\openofficedoc.pdf"
doc2any.exe "C:\example.odt" "C:\openofficedoc.pdf"
doc2any.exe -installprinter -printername myprinter1 -printername2 myprinter2
doc2any.exe -width 800 "C:\test.doc" "C:\test.jpg"
doc2any.exe -height 800 "C:\test.doc" "C:\test.jpg"
doc2any.exe "C:\test.doc" "C:\out%.swf"
doc2any.exe "C:\test.ppt" "C:\slide%.swf"
doc2any.exe -swfopt "-j 100" "C:\test.ppt" "C:\slide%.swf"
doc2any.exe -useoffice 1 "C:\test.docx" "C:\test.htm"
doc2any.exe -useprinter -pagerange "2-3" "C:\test.docx" "C:\test.htm"
doc2any.exe -useprinter -pagerange "2,4-6,8-" "C:\test.docx" "C:\test.htm"
doc2any.exe -killoffice 1 -timeoutkillself 5000 C:\in.docx C:\out.pdf

Convert documents to PDF and other formats using OpenOffice ONLY (ignore MS Office):
doc2any.exe -useopenoffice "C:\test.doc" "C:\out.pdf"
doc2any.exe -useopenoffice "C:\test.docx" "C:\out.pdf"
doc2any.exe -useopenoffice "C:\test.xls" "C:\out.pdf"
doc2any.exe -useopenoffice "C:\test.xlsx" "C:\out.pdf"
doc2any.exe -useopenoffice "C:\test.ppt" "C:\out.pdf"
doc2any.exe -useopenoffice "C:\test.pptx" "C:\out.pdf"
doc2any.exe -useopenoffice "C:\test.doc" "C:\out.html"
doc2any.exe -useopenoffice "C:\test.docx" "C:\out.html"
doc2any.exe -useopenoffice "C:\test.xls" "C:\out.html"
doc2any.exe -useopenoffice "C:\test.xlsx" "C:\out.html"
doc2any.exe -useopenoffice "C:\test.ppt" "C:\out.html"
doc2any.exe -useopenoffice "C:\test.pptx" "C:\out.html"
doc2any.exe -useopenoffice "C:\test.docx" "C:\out.doc"

If you encounter any problem with doc2any.exe, please feel free to let us know, we will assist you asap.

See Also:

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
Posted in DOC to Any Converter | Tagged , , | Leave a comment
Page 4 of 332« First...23456...102030...Last »