Parameter Type and Description

char cShortSessionID
Presentation space short session ID.
PAGEINFO * const pPageInfo
Pointer to PAGEINFO structure, where the page settings are returned.
nFlags
Combination of bit flags that indicates which members in the structure are valid. These flags can be used independently or by ORing them together to restore the property page (defined in PCSAPI32.H). The flags, along with the corresponding valid members in the structure, are as follows:
Flag
Valid members in the structure
PCS_PAGE_CPI
nCPI
PCS_PAGE_LPI
nLPI
PCS_PAGE_FACE_NAME
szFaceName
PCS_PAGE_MPL
nMPL
PCS_PAGE_MPP
nMPP
nCPI
The number of characters printed per inch.

LOWORD is the actual CPI value.

If Font CPI is configured in the session, HIWORD is 1. If Font CPI is not configured, HIWORD is 0.

nLPI
The number of lines printed per inch.

LOWORD is the actual LPI value.

If Font LPI is configured in the session, HIWORD is 1. If Font LPI is not configured, HIWORD is 0.

szFaceName
Face name of the printer font. This must be a null-terminated string.
nMPL
Maximum number of lines that can be printed per page.

This is also called MPL (Maximum Print Lines). Supported range is 1 to 255.

nMPP
Maximum number of characters that can be printed per line.

This is also called MPP (Maximum Print Position). Supported range is 1 to 255.

ULONG * const pErrorInfo
Not used. This must be set to NULL by the caller.