Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-17124

[cups-browsed] Prints to remote RAW queues are converted to PDF documents

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • rhel-9.6
    • rhel-9.2.0
    • cups-filters
    • None
    • cups-filters-1.28.7-19.el9
    • None
    • Moderate
    • Customer Escalated
    • rhel-sst-cs-stacks
    • ssg_core_services
    • 12
    • 8
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • None

      When creating shared printers on RHEL9 print server, we use 'raw' driver for labelprinters that use ZPL language.

      When a RHEL8 (working) client connects to the print server and uses cups-browsed to sync print queues, all is working fine. The raw queues are created on the RHEL8 client without corresponding PPD file in /etc/cups/ppd. And all prints sent from the RHEL8 client generated/populated by cups-browsed are processed as 'raw' prints. We see following entry added/populated on the client for printers.conf file.

      <Printer prt-004>
      Option cups-browsed true
      Option cups-browsed-dest-printer "2 x.x.x.x:631/prt-004"
      </Printer>

      However when using RHEL9 clients, the raw queues are still created on the client, but now there is also a corresponding PPD file in /etc/cups/ppd. When printing a ZPL document, this is somehow converted to PDF and send to the printer through the print server. The print jobs from RHEL9 clients are being processed as 'pdf' and not 'raw'.

      <Printer prt-004>
      MakeModel Local Raw Printer, driverless, cups-filters 1.28.7
      Option cups-browsed true
      Option cups-browsed-dest-printer "2 ipp://x.x.x.x:631/printers/prt-004 pdf 600dpi"
      </Printer>

      Workaround being used : Only when adding '-o raw' to the print command it is printed as a ZPL document. But not feasible to add such option for remote clients.

      This seems to be causing the problem or to make print queue generated to print files in pdf format and not as 'raw' print by default, as we see on RHEL8.

      Version affected :
      cups-2.3.3op2-16.el9.x86_64

      On RHEL9 client and added following options 

              # vi /etc/cups/cups-browsed
              LocalQueueNamingRemoteCUPS RemoteName
              CreateIPPPrinterQueues All

      But no change in behaviour of the print queues being generated on the RHEL9 client.

      Expected Behaviour :
      The print queue added on RHEL9 should be added as 'raw' print queue. Without any additional options or type such as 'pdf 600dpi'. The test.zpl should be printed as 'raw' print.
      Option cups-browsed-dest-printer "2 x.x.x.x:631/prt-004"

      Current Behaviour :
      On RHEL9 client, the print queue added by cups-browsed is added as 'pdf' type and files are printed as pdf file and not as print .zpl document as raw file. The test.zpl print job is printed as 'pdf'
      Option cups-browsed-dest-printer "2 ipp://x.x.x.x:631/printers/prt-004 pdf 600dpi"

              zdohnal@redhat.com Zdenek Dohnal
              rhn-support-ravpatil Ravindra Patil
              Zdenek Dohnal Zdenek Dohnal
              Petr Dancak Petr Dancak
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated: