次の方法で共有


Printer Driver Functions (Compact 2013)

3/26/2014

The following table shows the printer driver and printer port monitor functions with a description of the purpose of each.

Programming element

Description

DrvEndDoc

This function causes the driver to send any control information needed at the end of a document.

DrvStartDoc

This function sends any control information needed at the start of a document.

DrvStartPage

This function requests the driver to send any control information needed at the start of a page.

GetPrinterInfo

This function obtains information about printers, such as the name of the printer or whether the printer can print in color.

PrinterClose

This function closes a printer handle previously opened by a call to the PrinterOpen function.

PrinterOpen

This function opens a specified printer port and returns a handle to the printer.

PrinterSend

Sends a block of data to a printer.

ReportPrinterStatus

This function returns the status of a printer or printing operation that is in progress.

See Also

Reference

Printer Driver Reference