7장. Setting up a legacy printer


You can use the printer applications for supporting legacy printers which do not support driverless standards. After you install the legacy printer in a printer application, the application makes the legacy printer available for CUPS to use.

중요

Installing printers with classic drivers in CUPS is deprecated.

You can utilize classic CUPS drivers with a modern printing architecture by configuring a legacy printer in a printer application. Currently, RHEL includes printer applications based on the PAPPL, such as lprint and legacy-printer-app. The current PAPPL-based printer applications in RHEL and their TCP ports they are listening at are the following:

  • LPrint: 8000
  • Legacy Printer Application: 8001

7.1. Setting up PAPPL-based printer application

To easily and effectively support various printing requirements and prepare it for installing legacy printers, you can set up a PAPPL-based printer application.

Prerequisites

  • CUPS is configured with TLS certificate.

Procedure

  1. Install a PAPPL-based printer application package, for example, lprint :

    # dnf install <printer_application_name>
  2. Optional: Enable the port 8000 in firewalld to access the printer application web interface from a remote host:

    # firewall-cmd --permanent --add-port=8000/tcp
    # firewall-cmd --reload
  3. Enable and start the service:

    # systemctl enable --now <printer_application_name>

You can check the port in the /etc/lprint.conf configuration file.

You can install the legacy printer by using the PAPPL-based printer application web interface.

Prerequisites

  • CUPS is configured with TLS certificate.
  • Printer application is configured and running.

Procedure

  1. In the printer application home page, click Add Printer.
  2. Choose printer name, device, hostname/IP address in case of network printers, select the driver name from the offered list, and click on the Add Printer. You can also use auto-detect option to search for the driver.

    Using the auto-detection option for driver might result in finding an incompatible driver for your device, if the device model is too different from available drivers. It is recommended to check the assigned driver before printing and change the driver manually to prevent any printing issues.

  3. The used driver is on the second line in the block Status. You can test the functionality by clicking on the Print Test Page.

You can install a legacy printer in the PAPPL-based printer application by using the command-line interface.

Prerequisites

  • CUPS is configured with TLS certificate.
  • Printer application is set and running.

Procedure

  1. Search the available drivers in PAPPL based printer application:

    # lprint drivers
    zpl_2inch-203dpi-dt "Zebra ZPL 2-inch/203dpi/Direct-Thermal
  2. Install the printer. For example, to install a network printer with a specified driver, enter:

    # lprint add -d <printer name> -v socket://<hostname> -m zpl_2inch-203dpi-dt

Verification

  1. Check printer is visible in the printers list, together with its raw socket for sending raw data:

    # lprint printers
    <printer_name> - printer - ipp://localhost/ipp/print/<printer_name>
    <printer_name> - raw socket - socket://localhost:9101/
Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다. 최신 업데이트를 확인하세요.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

Theme

© 2026 Red Hat
맨 위로 이동