All Manuals > CAPI User Guide and Reference Manual > 21 CAPI Reference Entries

NextPrevUpTopContentsIndex

printer-port-handle

Function
Summary

Returns the underlying handle to a printer port.

Package

capi

Signature

printer-port-handle &optional port => handle

Arguments

port

A printer port.

Values

handle

Platform-dependent.

Description

The function printer-port-handle returns a platform-dependent value which represents the underlying handle to the printer port.

On Microsoft Windows, handle is the HDC for the printer device.

If port is passed it should be the value bound to var in with-print-job. If port is not supplied it defaults to the current printer port (dynamically bound within with-print-job).

See also

with-print-job
Printing from the CAPI—the Hardcopy API


CAPI User Guide and Reference Manual (Unix version) - 25 Feb 2015

NextPrevUpTopContentsIndex