cnv2pdf

The cnv2pdf sample program demonstrates PDF export, taking an input file and creating a PDF from it.

To run cnv2pdf, type the following at the command line:

cnv2html [options] inputfile outputfile

where:

options is one or more of the options listed in Options for cnv2pdf.

inputfile is the full path and file name of the source document.

outputfile is the full path and file name of the PDF output file.

The following options are available.

Options for cnv2pdf

Option

Description

-p password

This option specifies a password, password, for the input file to allow KeyView to open it.

-s width height

This option specifies the default dimensions to use for the created PDF (in inches) if no width or height is available from the input file.