getPrinterInfo

Determines which print attributes are supported by a selected printer.

getPrinterInfo([printer]) → returns struct

This function requires Adobe ColdFusion.  Not supported on Lucee, etc.

Argument Reference

printer string

Name of the printer

Examples
Sample code invoking the getPrinterInfo function

try {
    writeDump(getPrinterInfo());
}
catch (Application e) {
    writeOutput(e.message&"<br />"&e.detail);
}
catch (any e) {
    rethrow;
}

Fork me on GitHub