https://github.com/lucee/extension-print
Printing support for Lucee, CFPRINT, getPrinterList, getPrinterInfo
https://github.com/lucee/extension-print
lucee print
Last synced: 3 months ago
JSON representation
Printing support for Lucee, CFPRINT, getPrinterList, getPrinterInfo
- Host: GitHub
- URL: https://github.com/lucee/extension-print
- Owner: lucee
- License: lgpl-2.1
- Created: 2025-05-07T22:57:06.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-08-08T14:25:01.000Z (11 months ago)
- Last Synced: 2025-12-12T10:35:34.928Z (7 months ago)
- Topics: lucee, print
- Language: ColdFusion
- Homepage:
- Size: 67.4 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Lucee Print Extension
[](https://github.com/lucee/extension-print/actions/workflows/main.yml)
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
# Printer Support
Not all printers support printing PDF directly, when it's not available, `` 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
- `printer` pass the PDF file directly to the printer to render, if your printer doesn't support that according to java, an error will be thrown
- `raster` render the PDF using PDFBox and then print the resulting PNG images
# Future Plans
Libaries used
## Network printer resolution, using the bonjour protocol (ipp)
https://github.com/jmdns/jmdns
https://javadoc.io/doc/org.jmdns/jmdns/latest/index.html
getPrinterList(network:boolean)
### Network
- false, returns a list of local printers
- true, returns an array containing structs detailing the available printers, including, `name`, `url` and `properties`
## Network printing using IPP
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