When you need to print VeryPDF PDFPrint Command Line application which is able to print PDF document to printer or virtual printer to create different kinds of file format according to the printers.document, please have a try of
Please see the following contents which are about how to use this command line application to accomplish the conversion from PDF document to XPS file. So at first, please click the following button to download the free trial version of VeryPDF PDFPrint Command Line.
This application does not need any installation steps and please unzip the ZIP file to some location of the computer. Then it will be usable. When running the application, please call the executable file pdfprint.exe in unzipped file folder.
In order to print PDF document to XPS and watermark XPS file, you will use the following command line template and related options:
pdfprint.exe [options] [Options] <PDF Files>
-printer <string>: printer name to print
-wtext <string> : watermark on printed document
-wtype <int> : type of watermark
0 : normal watermark
1 : watermark on header
2 : watermark on footer
-wf <string> : font name of watermark
-wh <int> : font height of watermark
-ww <int> : font width of watermark
-wb : specify bold font
For getting more related options, please read the .txt document readme.txt to see the usage of the application. If you cannot understand the template and options above, please see the following example:
pdfprint.exe –printer “Microsoft XPS Document Writer” -wtext "Watermark" -wtype 1 C:\input.pdf
pdfprint.exe –printer “Microsoft XPS Document Writer” -wtext "Watermark" -wf "Arial" C:\input.pdf
The first command line is to use the option –printer to call the virtual printer Microsoft XPS Document Writer for converting PDF file to XPS document. Then set different kinds of options to add XPS watermark.
The second command line is the same but the font type of watermark is set as Arial.
When you run the command line, pleas hit Enter button. If you need to get more details about this application or want to use the free trial version of it, please click the following links.