In the directory where you installed PDFconverter (typically C:\Program Files\PDFconverter\) there is a file named PDFCLV.exe
This is the main PDF conversion engine so do NOT move this file because PDFconverter.exe uses it as well. Although you can copy it to another folder. But remember, it must stay on the same computer or it will no longer be properly registered and it will only convert the first page.
The command line parameters for PDFCLV.exe are as follows:
PDFCLV.exe "full path to PDF file" [imgType ["output directory" ["full path to ini file"]]]
Only the path to the PDF file is required, all other settings can be pulled out of the ini file. By default, PDFCLV.exe will use default.ini for its settings, but if you specify an ini file, it will use that one (but please note that if you specify an INI file, you must also specify the image type and output directory).
The default ini file resides in the User App Data folder. In Windows 2000 / XP, this folder is typically:
C:\Documents and Settings\UserName\Application Data\CTdeveloping\PDFconverter
In Windows Vista, this path has been changed to:
C:\Users\UserName\AppData\Roaming\CTdeveloping\PDFconverter
The INI file is very self explanatory and well commented.
PDFconverter is not licensed for use on a server or computer which multiple users can access. With the default configuration, PDFCLV.exe is NOT meant to be run by several users at once and the license you purchased from CTdeveloping does NOT give you the right to use it in such a situation. If you need an application for use by multiple users or in a network server environment, please contact us to request a quote.
Sample command line conversion command:
PDFCLV.exe "C:\test.pdf" JPG "C:\output" "C:\my_ini.ini"
Sample INI file contents:
[General]
;These are the General Settings for all PDFs that are converted
;If the PDF that is being converted needs to be openned with a password
;specify that here. If not, leave it blank
CONVERT_ALL_PAGES=1
;If you want to convert all the pages of the PDF, set this to 1. If not
;set it to 0.
START_PAGE=1
;If you set CONVERT_ALL_PAGES=0 then set this to the first page which you
;want converted.
END_PAGE=1
;If you set CONVERT_ALL_PAGES=0 then set this to the last pages which you
;want converted
ADJOIN_PAGES=1
;Set this to 1 if you want to make a multipage file, else set to 0.
;(This option only works if you are converting to TIFF,PCX,DCX,GIF,HTML,or TEXT
DEFAULT_DEST_FOLDER=SAME_AS_PDF
;Set this to the folder where you want the converted file to be saved
;Use the value SAME_AS_PDF if you want it saved in the same folder
;which the PDF orginated
DEFAULT_IMAGE_TYPE=0
;This is the default image type in case one is not specified. Values are:
;BMP,JPEG,HTML,TEXT,PDF,PGM,PNG,PPM,TIFF,DCX,PCX,GIF,FAX,PS,SGI,and TGA
STANDARD_METHOD=0
;setting this to 1 uses the standard faster method for conversion
;setting this to 0 uses the more advanced THOROUGH_METHOD. This method is slower
;but more reliable and is needed for some more advanced conversions
[GENERAL_IMAGE_OPTIONS]
DPI=100
;This is the Dots Per Square Inch that will be used to convert the PDF
;The higher the value, the better the quality (and the longer it will take
;to convert and the larger the file) (10 to 399)
TRIM_EDGES=0
;Set to 1 if you want to trim off the excess white on each page. If not, set to 0
CONVERT_TO_BLACK_AND_WHITE_IMG=0
;If set to 1, a smaller black and white image will be produced. If 0,
;the colors in the PDF will be preserved
RESIZE=0
;If you want to resize the image, set to 1. If not set to 0.
KEEP_PROPORTIONS=0
;If when resizing, you want the image's height and width to stay in proportion,
;set to 1. If not, set to 0. (Note: Width will be used as the base standard if both
;RESIZE_TO_WIDTH and RESIZE_TO_HEIGHT are not 0 and KEEP_PROPORTIONS=1
RESIZE_TO_WIDTH=850
;Width to which the image will be resized.
RESIZE_TO_HEIGHT=1600
;Height to which the image will be resized.
ANTIALIASTEXT=3
;Level of Antialiasing on text.
;0=none
;1=low
;2=med
;3=max
ANTIALIASGRAPHICS=1
;Level of Antialiasing on graphics.
;0=none
;1=low
;2=med, may cause issue with some files
;3=max, may cause issue with some files
[JPEG_SETTINGS]
JPEG_QUALITY=100
;Quality of the JPEG (0 to 100)
JPEG_DPI=100
;DPI set in the JPEG file. (10 to 400)
JPEG_JOIN=0
;Join all pages into a single JPEG wich pages next to one another
;STANDARD_METHOD MUST be set to 0 thus activating the THOROUGH METHOD for this to work
[GIF_SETTINGS]
GIF_DELAY=1000
;Delay between gif frames (only when adjoined=1 is this used)
[PNG_SETTINGS]
PNG_QUALITY=100
;Quality of the PNG file (0 to 100)
PNG_DPI=100
;DPI set in the PNG file. (10 to 400)
PNG_BITS=16
;Number of Color Depth Bits (16,24, or 32)
[TIFF_SETTINGS]
TIFF_COMPRESSION=0
;Compression type:
;For STANDARD_METHOD
;no compression=0,ZIP=1,JPEG=2,FAX3=3,GROUP4=4,RLE=5
;For THOROUGH_METHOD
;no compresssion=0, CCIT1D=1, G3FAX 1D=2, G3FAX 2D=3, G4FAX=4, LZW=5,JPEG=6, PACKBITS=7
TIFF_H_DPI=100
;Horizontal DPI for the TIFF. DPI is used if none specified.
TIFF_V_DPI=100
;Vertical DPI for the TIFF. DPI is used if none specified.
[TEXT_SETTINGS]
TEXT_FORMAT=0
;0=MS-Dos, 1=Unix, 2=Mac
TEXT_COLUMNS=80
;Number of columns in a given text document
[HTML_SETTINGS]
HEADER_FILE=
;HTML file that will be put above all of the converted pages
;(do not put <BODY>,<HTML>,<HEAD>,<TITLE>,or <FOOT> tags in it.)
;Leave blank if you don't have/want one
FOOTER_FILE=
;HTML file that will be put under all of the converted pages
;(do not put <BODY>,<HTML>,<HEAD>,<TITLE>,or <FOOT> tags in it.)
;Leave blank if you don't have/want one
HTML_FORMAT=1
;Set to 1 for Image based conversions. Set to 0 for Text based conversions
NAVIGATION_LINKS=1
;If you want navigation links for all the pages set to 1. If not, set to 0
TITLE=<&FileName&> Converted from PDF
;Title on all HTML pages
IMAGE_DIRECTORY=images
;Sub-Folder where Images will be saved. Leave blank if you want them in the same folder
REPLACE_SPACES_FOR_BETTER_FORMATTING=1
;Replace all the spaces with to prevent browsers from collapsing the spaces.
THUMBNAILS=1
;If you want thumbnails of the pages on the side, set to 1. If not, set to 0.