Home >> Publisher to PDF Converter Pro

Publisher to PDF Converter Pro Command Line options Top  Previous  Next

To perform batch conversion or call conversion procedure from an automation script, you can use command line function in Publisher to PDF Converter Pro, You can either run this tool directly from command line or call it from any script as well. The program supports the following command-line options:

Usage: pub2pdf [Option] <PUB File> [<PDF File>]
-f <page number> : First page to be converted
-l <page number> : Last page to be converted
-r : Overwrite an existing destination file without prompting to confirm
-h or -? : Print usage information
-i <input PUB file name> : PUB file will be converted
-o <output PDF file name> : PDF file will be generated

For example :
   pub2pdf -i c:\a.pub
   pub2pdf -i c:\a.pub -o c:\a.pdf
   pub2pdf -f 5 -l 8 -i c:\a.pub -o c:\a.pdf
   pub2pdf -f 1 -l 1 -r -i c:\a.pub -o c:\a.pdf
Copyright © 2001-2011 PDF-Convert Inc. All rights reserved.