getPrinterInfo

Determines which print attributes are supported by a selected printer.

getPrinterInfo([printer]) → returns struct

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

getPrinterInfo 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