I do lot of printing in command line through lpr command, for which I need conveniently short destination names like lp1, lp2 etc. In past I could name the printers, but in opensuse 13.2, yast automatically selects a very long CUPS printer names with no option to change it. This is inconveninet for getting printing done in command line. Even if I change manually in cups.conf, it gets overwritten (perhaps by systemd?) with name chosen automatically by yast. The web interface of CUPS behave similarly. Is there a convenient way to rename CUPS printer name?
Asked
Active
Viewed 1.1k times
2 Answers
7
Stop CUPS Service. For openSUSE using
systemdthere are three services to stop (cups.path,cups.service, andcups.socket).Edit
/etc/cups/printers.confand replace the old-name text with the new one. (appears only once).Rename drivers: In
etc/cups/ppdthere are "drivers" named like the printer, so if you change the printer name, also rename the driver files.Start the services.
0
There is a yast printer module that allows for manual configuration.
From https://en.opensuse.org/YaST_Printer :
The main purpose of the YaST printer module is the manual configuration. "Manual" means that you have full control what is set up. There are no silently working hidden automatisms which result whatever the automatism "thinks" is best for you.
Adam
- 196