ProvideX V8.20 > Language Reference > 8. Special Files and Devices
740
*PDF*
          PDF Print Interface
Formats
1. Open PDF File: OPEN (chan[,fileopt])"*PDF*[;option][;option] [...]"
2. PDF via WindX: OPEN [INPUT] (chan[,fileopt])"[WDX]*PDF*[;option][;option] [...]"
Where:
chan
Channel or logical file number.
File options. Supported options for opening *PDF* include:
fileopt
ERR=stmtref Error transfer.
OPT=option PDF output parameters (described below).
To obtain the current OPT= value, use the OPT( ) Function, p.493.
Supported parameters for defining the PDF output. (See *PDF*
option
Output Parameters described below.)
*PDF*
Keyword, not case-sensitive. Special device filename, enclosed in
quotation marks within OPEN directive. (Include asterisks in syntax.)
[WDX]
File tag for directing output to a PDF on a WindX client machine
instead of the server.
Description
Use *PDF* for directing output to a PDF (Postscript Document Format) compatible
file. This interface operates in a similar manner to *WINPRT*. If the output file name
is omitted, a dialogue appears at run time for users to specify the path, PDF name
and properties.
An OPEN may specify a number of semicolon separated options for the PDF. These
may be included as part of the path, or within an OPT= clause:
OPEN(chan)"*PDF* [;option] [;option] [...]"
OPEN(chan,OPT="option;option;...")"*PDF*"
*PDF* Output Parameters
The following options can be used to define PDF output.
ASIS
Uses last defined settings and does not present the user with
a window to enter parameters. If the output file already
exists, it will be overwritten.
DISPLAY
Brings up an input window for the user to enter information
regardless if it is needed.
OVERWRITE
Indicates that overwriting the output file is OK, no need to
verify with the user.
FILE=name
Specifies the output (pdf) file pathname. If omitted, a
dialogue appears at run time for users to specify the path,
file name, and properties.