CUPS DeviceURI is being changed automatically for network print queues in RHEL 7.6

Solution Verified - Updated -

Issue

  • The DeviceURI for print queues is being changed automatically for network print queues. When first installed, the lpoptions command returns:

    # lpoptions -p pr12 | egrep -o 'device-uri=[^ ]+'
    device-uri=socket://10.1.2.3:9100
    

    after a few days, the device-uri option changes:

    # lpoptions -p pr12 | egrep -o 'device-uri=[^ ]+'
    device-uri=ipp://10.4.5.6/printers/pr12
    
  • The deviceurl is getting changed from socket:// to ipp://:

    # lpstat -v | head -n 5
    device for BW4-P001: ipp://10.12.1.7:631/printers/BW4-P001
    device for BW4-P002: ipp://10.12.1.7:631/printers/BW4-P002
    device for BW4-P003: ipp://10.12.1.7:631/printers/BW4-P003
    device for BW4-P004: ipp://10.12.1.7:631/printers/BW4-P004
    device for GL4-P001: ipp://10.12.1.7:631/printers/GL4-P001
    device for GL4-P002: ipp://10.12.1.7:631/printers/GL4-P002
    

Environment

  • Red Hat Enterprise Linux 7.1 through 7.6
  • Common Unix Printing System (CUPS) 1.6.3
  • cups-filters-1.0.35-22.el7 or earlier

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content