Forum Home
Press F1
 
Thread ID: 141941 2016-03-29 04:44:00 Rename Printer In CUPS/Puppy SurferJoe46 (51) Press F1
Post ID Timestamp Content User
1418370 2016-03-29 04:44:00 OK - I've been happily teasing this dog - and I love it! Really!

I've gotten into the CUPS management thingy, and I deleted a printer that was not working correctly - I'll 'rescan' for it later after I download the correct sfs file for the driver . I think it's required that I do that ---- I think so anyway .

What I need to know is how to rename a printer in CUPS . The current name of my Kodak printer is about 100 alpha-numeric symbols long and I want to contract it to 'KODAK' .

This is the command lines I've used so far to get rid of the MP250 (Thank-you, Google!)



$ cupsreject printer-MP250

$ cupsdisable MP250

$ lpadmin -x MP250 this verifies that the printer has been deleted

$ lpstat -p MP250 -l sends a message indicating the printer does not exist and to confirm that the printer has been deleted on the print server .

$ lpstat -p MP250 -l sends a message re-indicating that the printer does not exist .



I do not find a way to shorten the Kodak printer's long, long name, and I can't c/p into the command box, so I have to type it in manually every time I need to work on it .

I think I have CUPS set up to make me enter the choice of printer manually, and I'd like to make my Canon MF3111 as default later on - after rediscovery . I'm working on that myself and I'm pretty proud that I'm entering code in that box .

Lookie me! I'm writing code! :thumbs:
SurferJoe46 (51)
1418371 2016-03-29 05:01:00 I am unsure if slackware is similar to ubuntu in printer regards
but the following link tells how to edit the printer name directly.

ubuntuforums.org
KarameaDave (15222)
1418372 2016-03-29 05:05:00 sudo cp /etc/cups/printers.conf ~
sudo gedit /etc/cups/printers.conf

Is 'sudu' part of the command or should I change it to some sort of Slack* derivative?
SurferJoe46 (51)
1418373 2016-03-29 19:45:00 Have a look at #3 (ubuntuforums.org) Speedy Gonzales (78)
1418374 2016-03-29 20:32:00 sudo cp /etc/cups/printers.conf ~
sudo gedit /etc/cups/printers.conf

Is 'sudu' part of the command or should I change it to some sort of Slack* derivative?

I think that Puppy has you running as root by default.
This means that the sudo part of the command is unnecessary.

Try running those commands without it.
KarameaDave (15222)
1418375 2016-03-29 23:32:00 Ah yes . . . . I forgot that "root" is sortta like "admin" in my old unnamed opsys .

Thanks for reminding me of that . I see the past . . . . . faintly .
SurferJoe46 (51)
1