# 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.

© Copyright 2006-2019 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm