## How to Convert PDF payslips to Password Protected PDF files?

Hello,

I came across this link that would help our situation. Would you have any idea what verypdf package/product I would need to perform this task? I work for a Health Science Centre and we are looking on how we can send out our payslips that go out to our employees so they come out PDF password protected.

Thanks,
Customer
------------------------------------------------
Thanks for your message, you may buy "VeryPDF Encrypt PDF Command Line" from this web page,

after you buy it, you can use it to encrypt your PDF files easily,

EncryptPDF -i c:\sample.pdf -o c:\out.pdf -w owner -u user -l c:\out.log
EncryptPDF -i c:\sample.pdf -w owner -u user -e 40 -p
EncryptPDF -i c:\sample.pdf -w owner -u user -e 40 -k -828
EncryptPDF -i c:\pdfdir\ -o d:\ -w owner -p -c -m -l c:\error.log

http://www.verypdf.com/encryptpdf/encrypt-pdf-cmd.htm

VeryPDF

VN:F [1.9.20_1166]
VN:F [1.9.20_1166]
Rating: -1 (from 1 vote)

## Custom development for Printer Intercept Software

Hello,

I am interested in getting the following SW made.

1. Intercept all printer commands on a windows desktop.
2. Based on user input, decide whether to simply forward the request to the printer without doing anything OR
3. Extract text information from it and provide APIs to connect to another SW that can use this text and do some useful work.

Please let me know if this SW is already available with you. I need to develop my own SW on top of this solution and so would need the relevant permissions.

Regards,
Customer
---------------------------------------------------------

Thanks for your message, we haven't a software which has this function yet, however, we could develop this function to you based on VeryPDF HookPrinter SDK software, you may download the trial version of VeryPDF HookPrinter SDK software from this web page to try, if you encounter any problem with this software, please feel free to let us know, we are glad to assist you asap,

VeryPDF
---------------------------------------------------------
Hello VeryPDF team,

Thank you for your response. I also have a few questions:

1. What is the technology on which this custom software would be built?
2. I assume that any application calling the printer can be intercepted, please confirm.
3. I assume that this would work with printers from any vendor, please confirm.
4. What would be the rough timelines for such a project?
5. What would be the support model?

Regards,
Customer
---------------------------------------------------------
Thanks for your message, we can develop a custom-build version of HookPrinter software to you, this custom-build version has following features,

1. Support both 32bit and 64bit Windows systems.
2. Support Windows 7, 8, 10, etc. Windows systems.
3. An option to forward the print jobs to original printer or extract text information from printer jobs.
4. Able to hook all printers which installed in your local system.
5. Able to hook all network printers which connected to your system.

>>I also have a few questions:
>>1. What is the technology on which this custom software would be built?

We will hook Windows Spooling System, if an application prints a document to a Windows Printer, the printing process will be controlled by Windows Spooling System, our HookPrinter Layer will get all information from Windows Spooling System, so we could intercept the printing process easily.

>>2. I assume that any application calling the printer can be intercepted, please confirm.

Yes, you are right, any application calling the printer can be intercepted.

>>3. I assume that this would work with printers from any vendor, please confirm.

Yes, as long as a printer is using Windows Spooling system, this printer can be hooked properly.

>>4. What would be the rough timelines for such a project?

In general, we will finish this custom-build software within one week.

>>5. What would be the support model?

http://www.verypdf.com/custom/maintenance.htm

VeryPDF
---------------------------------------------------------
Thank you veryPDF team for your quick response.

Some more quick questions:

1. I need to integrate another custom SW that will take the text output from the veryPDF software and do some other operations on the text. For this would it be possible to expose some APIs that allow other applications to be integrated with your software?

2. What would be the language used in your software?

3. You mention that " Yes, as long as a printer is using Windows Spooling system, this printer can be hooked properly.". If the printer is NOT using the windows spooling system (single printer connected to the terminal) can we still install the spooler and connect the veryPDF hook software?
(Apologies I am not very familiar with the printing subsystem)

4. Like I mentioned in my previous email, I would develop some other SW on top of it and the final solution would be deployed in multiple terminals. Are there any limitations/restrictions that I should be aware of?

Regards,
Customer
---------------------------------------------------------
>>Some more quick questions:
>>1. I need to integrate another custom SW that will take the text output
>>from the veryPDF software and do some other operations on the text. For
>>this would it be possible to expose some APIs that allow other applications to be integrated with your software?

Yes, this is possible, you can integrate your software into HookPrinter SDK software by "VeryPDF-HookPrinter.ini" file, "VeryPDF-HookPrinter.ini" file contains following options,

[AutoSave]
; 1 to capture SPL files, 0 will stop to capture SPL files
bCaptureSPLFiles=1

; Set the folder to store SPL files

; This is SPL to PDF Converter Command Line application, you can use this command line application to convert from SPL files to PDF files automatically
strCmd=["E:\SPL2PDF\spl2pdf_cmd\spl2pdf.exe" "%1"]

You can write a command line application, set the path of your command line application to "strCmd" option in the "VeryPDF-HookPrinter.ini" file, HookPrinter SDK will call your application after user print a document to a printer, your application will receive the printed SPL file, your application will able to extract text and other information from this SPL file easily.

Please notice, the SPL format is depend on the hooked printer driver, for example,

• If you print a document to a PCL printer, your application will receive a SPL file in PCL format.
• If you print a document to a Postscript printer, your application will receive a SPL file in Postscript format.
• If you print a document to a PDF virtual printer, your application will receive a SPL file in PDF or Postscript format.
• If you print a document to "Microsoft XPS Document Writer" printer, your application will receive a SPL file in XPS format.

VeryPDF has also a "SPL to PDF Converter Command Line" application which can convert from SPL files in SPL, EMF-SPL, Postscript, EPS, XPS, PCL, PXL (PCL-XL), PRN, PDF formats to PDF and other formats, you may download it from this web page for evaluation,

>>2. What would be the language used in your software?

Our software is written in C++, but you can call it from PHP, C#, ASP.NET, VB.NET, etc. program languages easily.

>>3. You mention that "Yes, as long as a printer is using Windows Spooling system, this printer can be hooked properly.". If the printer is NOT using the windows spooling system (single printer connected to the terminal) can we still install the spooler and connect the veryPDF hook software? (Apologies I am not very familiar with the printing subsystem)

In general, 99% printers are based on Windows Spooling System, if you can print a Word document from MS Word to a Windows Printer properly, this Windows Printer will no problem to be hooked.

Some special printers does use COM port to transfer the print data directly, these print data are not go through the spooling system, so our HookPrinter Layer can't receive these print data, for example, for some special barcode printers or invoice printers, these printers are used in special fields and by some special Windows applications only, they are not general printers, I think we can simple ignore these types of printers.

>>4. Like I mentioned in my previous email, I would develop some other SW on top of it and the final solution would be deployed in multiple terminals. Are there any limitations/restrictions that I should be aware of?

VeryPDF

VN:F [1.9.20_1166]
VN:F [1.9.20_1166]

## Custom software development to intercept all printer commands on a windows desktop, decide whether to simply forward the print jobs to the printer or extract text information from print jobs

Hello,

I am interested in getting the following software made.

1. Intercept all printer commands on a windows desktop.
2. Based on user input, decide whether to simply forward the request to the printer without doing anything OR
3. Extract text information from it and provide APIs to connect to another Software that can use this text and do some useful work.

Please let me know if this software is already available with you. I need to develop my own software on top of this solution and so would need the relevant permissions.

Regards,
Customer
----------------------------------------------
We have some computers on which we charge for printing documents. When a user prints, I would like to intercept the print job, prompt them for their username / password so I can charge their account, then allow the print job to continue through to the printer.

How can this be accomplished? Is it possible to write such a utility in .NET?

Customer
----------------------------------------------
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?

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

Thanks for your message, we haven't a software which has above functions yet, however, we can develop these functions to you based on VeryPDF HookPrinter SDK software, you may download the trial version of VeryPDF HookPrinter SDK software from this web page to try, if you encounter any problem with HookPrinter SDK software, please feel free to let us know, we are glad to assist you asap,

VeryPDF

VN:F [1.9.20_1166]
VN:F [1.9.20_1166]

## I'm looking for something that can convert MSG (Outlook message) files to PDF using a command prompt

Hello,

I'm looking for something that can convert MSG (Outlook message) files to PDF using a command prompt. Is this something VeryDoc can do?

Thanks,
Customer
-----------------------------------------------

Thanks for your message, "VeryPDF docPrint Pro" and "VeryDOC DOC to Any Converter Command Line" software are all can convert from MSG files to PDF files, you may download "VeryDOC DOC to Any Converter Command Line" software from this web page to try,

after you download it, you can run following command lines to convert from MSG and EML files to PDF files,

doc2any.exe test.msg generate_msg2pdf.pdf

doc2any.exe test.eml generate_eml2pdf.pdf

You can also use following command lines to batch convert all MSG or EML files in a folder to PDF files at one time,

after you download and install it, you can run following command lines to convert from MSG files to PDF files,

"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -i D:\test1.msg -o D:\out.pdf

"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -i D:\test2.msg -o D:\out.pdf

http://www.verypdf.com/wordpress/201604/how-to-batch-convert-email-files-to-pdf-files-msg-to-pdf-eml-to-pdf-outlook-to-pdf-convert-email-to-pdf-42605.html

http://www.verypdf.com/wordpress/201311/convert-emails-msg-eml-to-htm-txt-pdf-rtf-in-batch-via-command-line-the-easiest-and-fastest-way-to-convert-your-mail-to-pdf-39414.html

http://www.verypdf.com/wordpress/201304/verypdf-eml-to-pdf-converter-command-line-36242.html

http://www.verypdf.com/wordpress/201206/how-to-convert-msg2pdf-28221.html

https://www.verydoc.com/blog/how-to-convert-outlook-msg-files-to-pdf-msg-to-pdf-converter-for-batch-convert-msg-to-pdf.html

VeryPDF

VN:F [1.9.20_1166]
VN:F [1.9.20_1166]

## PDF Print command line is unable to find the printers while printing from a SYSTEM user account on windows server 2016

Dear Verypdf,

We have been using a licensed version of pdfprint command line on a windows server 2012 for several years now. Recently we migrated to a new windows server 2016 and verypdf doesn't seem to find the printers anymore while printing from a SYSTEM user (from a php platform).

We have installed and copied all printers in the registry to HK_USERS.

The -listprinter command provides the list of all printers correctly.
Tested with both local and network printers with all possible alias combinations (IP/name/..) all returning the same error message.

The debug log show following:
"XXX\pdfprint.exe" "-$" "XXX" "-printer" "XXX" "-debug" "-logtofile" "logloglog.ext" "-pdforient" "1" "-scalex" "100" "-scaley" "100" "XXX\label_test.pdf" Version Build Date: Aug 7 2016 Try to load 'WINSPOOL.DRV' file... Load 'WINSPOOL.DRV' file OK. Current default printer is 'Microsoft Print to PDF'. SetDefaultPrinter to 'XXX' printer, return code = 0. The exec command shows: {"output":"FAIL","cmd":"XXX\\pdfprint.exe -$ XXX -printer \\10.100.X.X\\XXX -debug -logtofile \"logloglog.txt\" -pdforient 1 -scalex 100 -scaley 100 XXX\\label_test.pdf","result":"Can't locate the \"XXX\" printer in this computer, please double check the printer name and to try again."}

Do you maybe have any other suggestions?

Kind regards,
Customer
-----------------------------------------

Thanks for your message, you can use "CmdAsUser Command Line Tool" or "VeryPDFComRunCmd COM Component" to run pdfprint.exe inside an interactive user account instead of default SYSTEM user, you will able to get it work properly.

You may download "CmdAsUser Command Line Tool" or "VeryPDFComRunCmd COM Component" from this web page to try,

You can run following command line to run pdfprint.exe from an interactive user account,

CmdAsUser.exe Administrator . /p password /c "XXX\pdfprint.exe" "-\$" "XXX" "-printer" "XXX" "-debug" "-logtofile" "logloglog.ext" "-pdforient" "1" "-scalex" "100" "-scaley" "100" "XXX\label_test.pdf"

You can also use a COM component to run pdfprint.exe from an interactive user account,

https://www.verydoc.com/exeshell.html#VeryPDFComRunCmd_COM_Component