大网数据广告活动
打印与设备

Print Spooler API Structures

· 52CE 我爱测

This section contains an alphabetical listing of the structures that are used by the Print Spooler API.

This section contains an alphabetical listing of the structures that are used by the Print Spooler API.

In this section

Structure Description
ADDJOB_INFO_1 The ADDJOB_INFO_1 structure identifies a print job as well as the directory and file in which an application can store that job.
CORE_PRINTER_DRIVER Represents a printer driver on which other printer drivers depend.
DATATYPES_INFO_1 The DATATYPES_INFO_1 structure contains information about the data type used to record a print job.
DOC_INFO_1 The DOC_INFO_1 structure describes a document that will be printed.
DOC_INFO_2 The DOC_INFO_2 structure describes a document that will be printed.
DOC_INFO_3 The DOC_INFO_3 structure describes a document that will be printed.
DRIVER_INFO_1 The DRIVER_INFO_1 structure identifies a printer driver.
DRIVER_INFO_2 The DRIVER_INFO_2 structure identifies a printer driver, the driver version number, the environment for which the driver was written, the name of the file in which the driver is stored, and so on.
DRIVER_INFO_3 The DRIVER_INFO_3 structure contains printer driver information.
DRIVER_INFO_4 The DRIVER_INFO_4 structure contains printer driver information.
DRIVER_INFO_5 The DRIVER_INFO_5 structure contains printer driver information.
DRIVER_INFO_6 The DRIVER_INFO_6 structure contains printer driver information.
DRIVER_INFO_8 Contains printer driver information.
FORM_INFO_1 The FORM_INFO_1 structure contains information about a print form. The information includes the print form's origin, its name, its dimensions, and the dimensions of its printable area.
FORM_INFO_2 Contains information about a localizable print form.
JOB_INFO_1 The JOB_INFO_1 structure specifies print-job information such as the job-identifier value, the name of the printer for which the job is spooled, the name of the machine that created the print job, the name of the user that owns the print job, and so on.
JOB_INFO_2 The JOB_INFO_2 structure describes a full set of values associated with a job.
JOB_INFO_3 The JOB_INFO_3 structure is used to link together a set of print jobs.
JOB_INFO_4 Describes a full set of values associated with a job and supports large spool files with sizes expressed with 64 bits.
MONITOR_INFO_1 The MONITOR_INFO_1 structure identifies an installed monitor.
MONITOR_INFO_2 The MONITOR_INFO_2 structure identifies a monitor.
PORT_INFO_1 The PORT_INFO_1 structure identifies a supported printer port.
PORT_INFO_2 The PORT_INFO_2 structure identifies a supported printer port.
PORT_INFO_3 The PORT_INFO_3 structure specifies the status value of a printer port.
PRINT_EXECUTION_DATA Contains the execution context of the printer driver that calls GetPrintExecutionData.
PRINTER_CONNECTION_INFO_1 Represents information about a connection to a printer.
PRINTER_DEFAULTS The PRINTER_DEFAULTS structure specifies the default data type, environment, initialization data, and access rights for a printer.
PRINTER_ENUM_VALUES The PRINTER_ENUM_VALUES structure specifies the value name, type, and data for a printer configuration value returned by the EnumPrinterDataEx function.
PRINTER_INFO_1 The PRINTER_INFO_1 structure specifies general printer information.
PRINTER_INFO_2 The PRINTER_INFO_2 structure specifies detailed printer information.
PRINTER_INFO_3 The PRINTER_INFO_3 structure specifies printer security information.
PRINTER_INFO_4 The PRINTER_INFO_4 structure specifies general printer information. The structure can be used to retrieve minimal printer information on a call to EnumPrinters. Such a call is a fast and easy way to retrieve the names and attributes of all locally installed printers on a system and all remote printer connections that a user has established.
PRINTER_INFO_5 The PRINTER_INFO_5 structure specifies detailed printer information.
PRINTER_INFO_6 The PRINTER_INFO_6 specifies the status value of a printer.
PRINTER_INFO_7 The PRINTER_INFO_7 structure specifies directory services printer information. Use this structure with the SetPrinter function to publish a printer's data in the directory service (DS), or to update or remove a printer's published data from the DS. Use this structure with the GetPrinter function to determine whether a printer is published in the DS.
PRINTER_INFO_8 The PRINTER_INFO_8 structure specifies the global default printer settings.
PRINTER_INFO_9 The PRINTER_INFO_9 structure specifies the per-user default printer settings.
PRINTER_NOTIFY_INFO The PRINTER_NOTIFY_INFO structure contains printer information returned by the FindNextPrinterChangeNotification function. The function returns this information after a wait operation on a printer change notification object has been satisfied.
PRINTER_NOTIFY_INFO_DATA The PRINTER_NOTIFY_INFO_DATA structure identifies a job or printer information field and provides the current data for that field.
PRINTER_NOTIFY_OPTIONS The PRINTER_NOTIFY_OPTIONS structure specifies options for a change notification object that monitors a printer or print server.
PRINTER_NOTIFY_OPTIONS_TYPE The PRINTER_NOTIFY_OPTIONS_TYPE structure specifies the set of printer or job information fields to be monitored by a printer change notification object. A call to the FindFirstPrinterChangeNotification function specifies a PRINTER_NOTIFY_OPTIONS structure, which contains an array of PRINTER_NOTIFY_OPTIONS_TYPE structures.
PRINTER_OPTIONS Represents printer options.
PRINTPROCESSOR_CAPS_1 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.
PRINTPROCESSOR_CAPS_2 Represents printer capability information.
PRINTPROCESSOR_INFO_1 The PRINTPROCESSOR_INFO_1 structure specifies the name of an installed print processor.
PROVIDOR_INFO_1 The PROVIDOR_INFO_1 structure identifies a print provider.
PROVIDOR_INFO_2 The PROVIDOR_INFO_2 structure appends a print provider to the print provider order list.

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。