getPrinterInfo

Determines which print attributes are supported by a selected printer.

getPrinterInfo([printer]) → returns struct

This function requires Adobe ColdFusion 8 and up.  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;
}

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub