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

  1. Check if the generated network printer is available:

    # lpstat -e
    <printer_name_in_printer_application>
  2. Search for the port that the printer application is using:

    # grep 'server-port=' /etc/lprint.conf
    server-port=8000
  3. Install 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 -E
  4. Check if CUPS queue is installed:

    # lpstat -a
    <printer_name_in_CUPS>  accepting requests since Wed 07 May 2025 02:31:04 AM EDT
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

关于红帽文档

Legal Notice

Theme

© 2026 Red Hat
返回顶部