Skip to content

DtNeo/n8n-printer-node

Repository files navigation

Banner image

n8n-nodes-printer

This node gives you the ability to print via a CUPS server. This means you need to have a CUPS server, which must be online when the workflow sends files to print. The server will manage all the printers you need.

Prerequisites

The 'cups-client' package is required: https://pkgs.org/download/cups-client. You can add it to your Dockerfile as follows:

RUN apk --no-cache add su-exec cups-client

Dealing with 'Error - The printer or class does not exist'

You may encounter the 'Error - The printer or class does not exist' issue due to your network configuration (for instance, if you're not on the same LAN). You need to add the reverse resolution name of the printer to CUPS (as the ServerName in /etc/cups/client.conf).

You can add this to your Dockerfile as follows:

RUN mkdir -p /etc/cups &&
echo "ServerName 192.168.1.100" > /etc/cups/client.conf

License

MIT

About

Printer node

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published