Detects if the printer port can support a certain feature.
capi
printer-port-supports-p feature &optional port => supportedp, validp
feature⇩ |
A keyword. |
port⇩ |
A printer port. |
supportedp⇩ |
A boolean. |
validp⇩ |
A boolean. |
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 supportedp is true if the printer supports PostScript.
CAPI User Guide and Reference Manual (Macintosh version) - 01 Dec 2021 19:31:27