Provides CFML print tags and functions for Lucee
Basic compatibility with the Adobe implementation (which is broken in ACF 2023 and ACF 2025)
Initial version just supports local printers
Requires Lucee 6.2.1.122 or newer
Not all printers support printing PDF directly, when it's not available, <cfprint> will fallback to using Apache PDFBox to render the pages to PNG and print those.
There is a renderer attribute, which defaults to AUTO
The other options are
printerpass the PDF file directly to the printer to render, if your printer doesn't support that according to java, an error will be thrownrasterrender the PDF using PDFBox and then print the resulting PNG images
Libaries used
https://github.com/jmdns/jmdns https://javadoc.io/doc/org.jmdns/jmdns/latest/index.html
getPrinterList(network:boolean)
- false, returns a list of local printers
- true, returns an array containing structs detailing the available printers, including,
name,urlandproperties
https://github.com/gmuth/ipp-client-kotlin https://javadoc.io/doc/de.gmuth/ipp-client/latest/index.html
Docs: https://docs.lucee.org/categories/print.html
Issues: https://luceeserver.atlassian.net/issues/?jql=labels%20%3D%20%22print%22
Releases: https://download.lucee.org/#96D2AC81-9926-4B9A-B2FC5ED770C54217