PRINTPROCESSOR_CAPS_1 structure

The PRINTPROCESSOR_CAPS_1 structure is the format for the printer capability information that is returned by the GetPrinterData function in the buffer specified by the pData variable.

Syntax

typedef struct _PRINTPROCESSOR_CAPS_1 {
  DWORD dwLevel;
  DWORD dwNupOptions;
  DWORD dwPageOrderFlags;
  DWORD dwNumberOfCopies;
} PRINTPROCESSOR_CAPS_1, *PPRINTPROCESSOR_CAPS_1;

Members

dwLevel

The structure's version number. This value must be 1.

dwNupOptions

A bit mask representing the various numbers of document pages the printer can print on a physical page. The least significant bit represents 1 document page per page, the next bit represents 2 document pages per page, and so on. For example, 0x0000810B indicates the printer supports 1, 2, 4, 9, and 16 document pages per physical page.

dwPageOrderFlags

The order in which pages will be printed. This value can be NORMAL_PRINT, REVERSE_PRINT, or BOOKLET_PRINT.

dwNumberOfCopies

The maximum number of copies the printer can handle.

Remarks

Values for all structure members are supplied by the GetPrintProcessorCapabilities function, which is documented in the Windows Driver Kit (WDK).

The spooler calls a print processor's GetPrintProcessorCapabilities function when an application calls GetPrinterData, specifying a value name with a format of PrintProcCaps_datatype, where datatype is the name of an input data type.

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Winspool.h (include Windows.h)

See also

Printing

Print Spooler API Structures

GetPrinterData