4

successfully installed my cups printer Ubuntu18.4. When i click the add printer icon in the device side it shows name as "CUPS-BRF-Printer".. I would like to change this name. How to change the default name.. How to change it?

Neethu
  • 41
  • 1
  • 2

2 Answers2

6

1º Stop CUPS Service

2º Edit /etc/cups/printers.conf and replace the old-name text with the new one. (appears only once)

3º Save the file and start the service

FOP
  • 962
  • 1
  • 10
  • 21
  • Could please add command how to stop cups service for systemd: `systemctl stop cups` And what exactly need to be changed? I have `br` name, there is a lot of entries for `br`... It's tag attribute. Thanks anyway... – midenok Mar 31 '21 at 08:59
  • Also you could add allowed chars for printer name: CUPS allows printer names to contain any printable character except SPACE, TAB, "/", and "#". Also, printer and class names are not case-sensitive – midenok Mar 31 '21 at 09:06
0
systemctl stop cups.service
nano /etc/cups/printers.conf # change the name of a printer in question
mv /etc/cups/ppd/old_printer_name.ppd /etc/cups/ppd/new_printer_name.ppd # rename the ppd
systemctl start cups.service

source: the answer by FOP, commands were added

user3804598
  • 355
  • 5
  • 9