7.2. Setting up a generated network printer as CUPS permanent queue
You can set up a generated network printer from a dedicated printer application as CUPS permanent queue by using the command line interface.
注意
In the following procedure, the LPrint printer application is used as an example. However, the similar steps are valid for any PAPPL-based printer application.
Prerequisites
- CUPS is configured with TLS certificate.
- You have permission in CUPS to manage printers.
- The legacy printer is installed in a printer application.
Procedure
Check if the generated network printer is available:
# lpstat -e <printer_name_in_printer_application>Search for the port that the printer application is using:
# grep 'server-port=' /etc/lprint.conf server-port=8000Install the permanent queue by using the port number
8000:# lpadmin -p <printer_name_in_CUPS> -v ipps://localhost:8000/ipp/print/<printer_name_in_printer_application> -m everywhere -ECheck if CUPS queue is installed:
# lpstat -a <printer_name_in_CUPS> accepting requests since Wed 07 May 2025 02:31:04 AM EDT