Home > Products Windows > PDFPrint Command Line

How to add watermark when printing PDF document to Windows printer?

This page aims at showing you how to add watermark when printing PDF document into Windows printer with the new version of VeryPDF PDFPrint Command Line. You just need to write the parameters in the .ini file and then call the parameters in command line when running the application.

Please download VeryPDF PDFPrint Command Line and extract the ZIP file to your computer. In the unzipped file package, you can see an file named as watermark.ini and in this file you can set all parameters for the added watermark such as position, color, size, rotation angle, etc. Please see the snapshot in Figure 1.

add watermark parameters in .ini file
Fig 1

In the snapshot you can see that, we can freely set watermark text or image, font size, font name, position, font bold, font italic, font underline, watermark opacity, watermark rotation angle, color, page range, etc. After you setting these parameters, please save the changes you have made. Then you need to call the .ini file in your command line. Please see the following example:

pdfprint.exe -winfont -winfont2 -scalex -1 -scaley -1 -pdforient 4 -printermargins -watermarkfile "%CD%\watermark.ini" "%CD%\example.pdf"

pdfprint.exe -scalex -1 -scaley -1 -pdforient 4 -printermargins -watermarkfile "%CD%\watermark.ini" "%CD%\example.pdf"

In the example, the parameter -watermarkfile "%CD%\watermark.ini" is used to call .ini file to add watermark when printing PDF to PDF printer.

When you run the command line, PDFPrint Command Line will automatically call the default printer installed on your computer. If you want to save the original PDF as various kinds file format, you are strongly recommended to use VeryPDF Document Converter which supplies two kinds of virtual printers and you can set one of the two printers – docPrint as current default printer. Then you will see the popping up window like the snapshot shown in Figure 2.

Print PDF with docPrint
Fig 2

In the middle preview panel, you can see watermark effects clearly. Then please click File—Save as or click save button in the toolbar to open Save as dialog box in which you are able to specify output location, file name and file format. If you choose image format as output file format, you can also set its color depth and resolution. Then please click Save button to start printing.

Discount 45% ($49.90) to buy PDF to Word Converter, PDF to Excel Converter, and PDF to PowerPoint Converter.

Related Links

Relative Products

Gold Support 30-DAY NO RISK REFUND
  Learn more about PDFPrint Command Line   See other products   Download   Buy Now
 You may like these products
VeryPDF PDFcamp Printer Pro
VeryPDF PDFcamp Printer Pro


Convert files of Microsoft Word, PowerPoint, Excel, JPG, PNG, GIF, and HTML to PDF. Create PDF from printable documents.
VeryPDF PDF Editor
VeryPDF PDF Editor


Create PDF, annotate PDF, fill PDF forms, edit PDF contents and hyperlinks, and convert PDF to image. It is a cost-effective PDF editor.
VeryPDF PDF to Word OCR Converter
VeryPDF PDF to Word OCR Converter


Recognize characters in scanned image PDF and save as Word. It supports batch process that can convert multiple PDF files with one click.