Compartilhar via


3.1.4.9 Document Printing Methods

This section specifies methods for printing documents, pages, and data.

Method

Description

RpcStartDocPrinter

RpcStartDocPrinter notifies the print spooler that a document is being spooled for printing.

Opnum 17

RpcStartPagePrinter

RpcStartPagePrinter notifies the spooler that a page is about to be printed on the specified printer.

Opnum 18

RpcWritePrinter

RpcWritePrinter sends data to the print spooler.

Opnum 19

RpcEndPagePrinter

RpcEndPagePrinter notifies the print spooler that the application is at the end of a page in a print job.

Opnum 20

RpcAbortPrinter

RpcAbortPrinter aborts the currently spooling print document.

Opnum 21

RpcReadPrinter

RpcReadPrinter retrieves data from the specified printer.

Opnum 22

RpcEndDocPrinter

RpcEndDocPrinter notifies the print spooler that the application is at the end of the current print job.

Opnum 23

RpcFlushPrinter

RpcFlushPrinter is used by the printer driver to send a buffer of bytes to the port to cleanly abort a print job. It also allows delaying the I/O line to the printer.

Opnum 96