Why do my printers have "@some.ip.ad.dr" in their name on my RHEL system? How do I prevent this?

Solution In Progress - Updated -

Issue

I have three systems. Two print servers (one old, one new) and an appserver that is a print client. Both the old and new print servers have a print queue named lprinter defined on them. Before the new print server was created, a print queue was created on the print client with the following command:

lpadmin -p lprinter -v lpd://oldserver/lprinter -E

When the lpstat command was run on the print client, it said:

lprinter accepting requests since Tue 14 Apr 2015 03:29:29 PM EDT
device for lprinter: lpd://oldserver/lprinter

The new print server was recently added and a print queue also named lprinter was created on that server as well. The goal is to have the new print server replace the old one. CUPS Browsing was configured on the new print server so that all CUPS clients would automatically configure their print queues from the information on the new CUPS server. Now lpstat results in the following output:

lprinter accepting requests since Tue 14 Apr 2015 03:29:29 PM EDT
lprinter@10.2.3.4 accepting requests since Tue 14 Apr 2015 03:29:29 PM EDT
device for lprinter: lpd://oldserver/lprinter
device for lprinter@10.2.3.4: ipp://10.2.3.4/printers/lprinter

How do I get rid of the "old" print queue (lprinter) that sends jobs to the old print server (oldserver) and rename the "new" print queue (lprinter@10.2.3.4) to be lprinter?

Environment

  • Red Hat Enterprise Linux (RHEL) 4, 5, and 6
  • Common Unix Printing System (CUPS) 1.1.22, 1.3.7, and 1.4.2

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