File Content Extraction 26.1
PDF Export SDK C Programming Guide

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

    cnv2pdf [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 File Content Extraction 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 1997-2025 Open Text
Version 26.1 | Last updated January 2026

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: File Content Extraction 26.1

Topic Title: cnv2pdf