All Manuals > CAPI Reference Manual > 1 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


CAPI Reference Manual - 15 Dec 2011

NextPrevUpTopContentsIndex