VeryPDF PDFPrint Command Line supports page offset setting. Hence you can set content horizontal offset and print PDF viaeasily. The following is the command you will need: -xoffset <int>. The parameter –xoffset stands for page offset in the horizontal axis, and the parameter value is essential and should be an integer.
To set content horizontal offset and print PDF via, three steps are required.
1. First, run the command prompt window. You should: click “Start” in the left down corner on the computer screen;> click “Run” to open the “Run” dialog box;
enter cmd in the “Run” dialog box; > press “OK” to close the “Run” dialog box and open the black and white command prompt window.
The picture below shows the four steps to open the command prompt window:
2. Type a command line in the following pattern:
pdfprint.exe -xoffset <int> <PDF Files>
- pdfprint.exe represents the executable file of VeryPDF PDFPrint Command Line. However, we seldom directly type the bare name of the executable file in the command prompt window. Instead, we enter the directory of the executable file.
- -xoffset <int> specifies a page horizontal offset in the horizontal axis. The number enclosed by the angle brackets is the width between the left side of the paper and the left side of the PDF file. It is essential, and is measured in pixels.
- <PDF Files> stands for the selected PDF file. But we always enter the directory of the selected PDF file instead of the bare name of the PDF file in the command prompt window.
To make it clear, you can look at the following command line:
D:\pdfprint_cmd\pdfprint.exe -xoffset 5000 D:\top.pdf
- D:\pdfprint_cmd\pdfprint.exe is the directory of the executable file placed in the folder pdfprint_cmd on disk D. you can replace it with the directory of the executable file in your computer.
- -xoffset 5000 indicates that each PDF page moves 5000 pixels from left to right. In contrast, if you enter -xoffset -5000, each PDF page will move 5000 pixels from right to left. The comparison at the end of the article will illustrated the difference between the two parameter values.
- D:\top.pdf is the directory of the selected PDF file. It can also be replaced with the directory of the PDF file you want to print on your own computer.
The last step is simple. You can just hit the “Enter” key to send information to the accessible printer to start printing.
The following comparison is between the original PDF file and the results of the commands with different parameter values: 5000, and -5000.
The original PDF file
The result of -xoffset 5000
The result of -xoffset -5000
To free download VeryPDF PDFPrint Command Line, please visit the following website: https://www.verypdf.com/pdfprint/index.html The free version of VeryPDF PDFPrint Command Line is available here. to get help with commands and parameters, please visit https://www.verypdf.com/pdfprint/pdf-print-cmd.html