## Presentation Device Driver Reference for OS/2

[prev][next][parent][TOC]

### GreOpenDC Parameter - pszData

pszData (PDEVOPENDATA) - input Pointer to data structure.

Pointer to DEVOPENDATA structure:

pszLogAddress Pointer to logical address, for example, LPT1Q.

pszDriverName Pointer to presentation driver name, for example, LASERJET.

pdriv Pointer to a DRIVDATA structure:

cb Size in bytes of this structure

lVersion Version number of the data. Version numbers are defined by the presentation driver.

szDeviceName[32] String identifying the device. Valid values are supplied by the presentation driver.

abGeneralData General data defined by the presentation driver. This does not contain pointers as they might not be valid when passed to the driver.

pszDataType Pointer to a data type of the queued file. Supported data types are:

PM_Q_STD
PM_Q_RAW User-defined data types can also be supported.

pszComment Pointer to a description of the file that can be displayed by the spooler to the user.

pszQueueProcName Pointer to name of queue processor.

pszQueueProcParams Pointer to a string of queue processor parameters.

pszSpoolerParams Pointer to a string of spooler parameters separated by one or more blanks. Valid parameters are:

FORM=aaa Identifies the form name for a print job. Multiple names are separated by commas (aaa,bbb,ccc). If this parameter is not present, the current form is used.

Form names are defined by the presentation driver. Valid names are those that would be returned from a call to the GreQueryHardcopyCaps handling routine of the driver.

PRTY=n Identifies the priority for the print job. The priority can be any value from 1 - 99 (1 is lowest priority). If this parameter is not present, the priority value defaults to 50.

pszNetworkParams Pointer to a string of networking parameters, which are used only in a network environment. Their nature is defined by the network application.