[cups.bugs] Unable to rename a printer

Michael Sweet mike at easysw.com
Wed Jan 19 15:28:22 PST 2005

Santhosh Hiriyur Shankar wrote:
> ...
> I wanted to know if there is any way I can change the printer name? As
> of now, I found no way through CUPS to change the printer name. Looks
> like cups is not supporting it, I am not sure. However, this operation
> is like changing printer attributes like name, description, location
> etc, which seems very basic operations. 

There is no way to rename a queue.

> Can any of you please clarify me on this issue, if this operation is
> supported, how to go about it? if its not supported, then why is not
> supported although, the operation looks very basic need?

Renaming a queue changes its URI, which will break a lot of things
including printer sharing, classes (implicit and otherwise), job
accounting, and introduces a lot of complexity in the job management

In short, we have no plans or desire to support a "rename printer"

If you want to implement one, add a new printer using the old
printer's PPD file, device URI, etc., move all of the jobs to the
new printer, and delete the old printer.

What Apple does is use the printer-info attribute as the user-
displayed printer name - that attribute can be changed without
replacing the queue, can contain spaces, etc...

Michael Sweet, Easy Software Products           mike at easysw dot com
Internet Printing and Publishing Software        http://www.easysw.com

More information about the cups mailing list