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

NextPrevUpTopContentsIndex

printer-port-supports-p

Function
Summary

Detects if the printer port can support a certain feature.

Package

capi

Signature

printer-port-supports-p feature &optional port => supportedp , validp

Arguments

feature

A keyword.

port

A printer port.

Values

supportedp

A boolean.

validp

A boolean.

Description

The function printer-port-supports-p detects if the printer port can support the feature named by feature .

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).

supportedp indicates if the feature is supported.

validp indicates if the feature was recognized.

Currently the only value of feature that is recognized is :postscript and the supportedp value is true if the printer supports PostScript.

See also

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


CAPI User Guide and Reference Manual (Windows version) - 3 Aug 2017

NextPrevUpTopContentsIndex