VeryDOC PDF to PostScript Command Line Converter can be used to convert PDF to PS by command line in batch. It supports all version PDF file and other file formats like EMF, WMF, SVG, Postscript (PS), EPS, SWF (Flash), XPS, HPGL, PCL as output. If you are developer, there is also developer version available. By the developer version, you convert PDF to PS from Visual Basic, C/C++, Delphi, ASP, PHP, C#, .NET, etc. In this article. I will take converting PDF to PS by script to show you how to use this software.
When will use PostScript file format?
PostScript can be used to describe PostScript Printer as this file format tells everything one needs to know about a printer: the known fonts, the patches that should be down loaded, the available memory, the trays, the way to ask it duplex printing, the supported media, etc. PostScript has pretended to be a device independent page description language, and the PPD files are here to prove that device independence was a failure.So this file format is widely used in printing area. Meanwhile
Step 1. Download
- Download PDF to PostScript Converter. Out of uploading and downloading convenience consideration, we have compressed it to zip file. After downloading, please unzip it and then check the elements in it.
- More software information has been stated on the website, please check the usage through website or readme.txt which is included in the extracted folder.
Step 2. Convert PDF to PS from script.
Usage: pdf2vec.exe [options] [Options] <PDF Files>
Examples
- When simply convert PDF to PS, please refer to the following command line.
pdf2vec.exe C:\in.pdf C:\out.ps - When converting password protected PDF file to PS, please refer to the following template. The password I refer to here is open password, as this software can convert owner password protected PDF file to PS directly. But there is also some exception, when only inputting open password is useless,please try to input the owner password using the following two parameters. Here “123456” is just an example.
- When you need to specify the page range to be converted, please use parameter –p which allows you to convert pages in the specified like 1-20 or 1,4,6,9-11 or 3-5,10-12.
pdf2vec.exe "-p 2 -j 75" C:\in.pdf C:\out.ps
Please note “” is necessary when you specify the page range. If you need to specify the start page and end page, please use parameters: - When you need to scale the output PS file, please use parameter “-scale” which specifies the factor by which the printed output is to be scaled, The apparent page size is scaled from the physical page size by a factor of scale/100.
- When you need to specify the output PS color, please use parameter “–color” which will specify color or monochrome to printer 1 : monochrome 2 : color
-pv2ropw <string> : owner password (for encrypted files)
-pv2rupw <string> : user password (for encrypted files)
pdf2vec.exe –pv2ropw 123456 C:\in.pdf C:\out.ps
-firstpage <int> : first page to print, from 1 to max page
-lastpage <int> : last page to print, from 1 to max page
Two numerous functions to be detailed here, please check more in the readme.txt. During the using, if you have any question, please contact us as soon as possible.