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

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

See also

with-print-job


CAPI Reference Manual - 15 Dec 2011

NextPrevUpTopContentsIndex