Results 1 to 10 of 11

Thread: rename printer

Hybrid View

  1. #1
    Join Date
    Sep 2006
    Location
    Devon, UK
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    rename printer

    Hi there

    ya me again, when I installed the drivers for my hp printer (networked)I seem to have made a mistake with its name, its for some reason now called 'n', erm, its it easy to change its name, I can't see that opion in the properties, is it possible to change its name to something more appropriate or do I have to reinstall it?

    Thanks.
    Kind Regards
    Leona
    MSI H77MA-G43, Intel I3-3225 3.3Ghz, 8Gb DDR3-1600 XMS RAM, 64Gb SSO (OS)+500Gb Seagate 2.5 HDD, Linux Mint 13, Mate, 64Bit.

  2. #2
    Join Date
    Sep 2006
    Location
    Devon, UK
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: rename printer

    erm ^bump^ anyone? sorry
    Kind Regards
    Leona
    MSI H77MA-G43, Intel I3-3225 3.3Ghz, 8Gb DDR3-1600 XMS RAM, 64Gb SSO (OS)+500Gb Seagate 2.5 HDD, Linux Mint 13, Mate, 64Bit.

  3. #3
    Join Date
    Oct 2007
    Location
    Chennai, India
    Beans
    3,786
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: rename printer

    Quote Originally Posted by leona View Post
    Hi there
    seem to have made a mistake with its name, its for some reason now called 'n', erm, its it easy to change its name,
    backup and edit printers.conf file
    Code:
    sudo cp /etc/cups/printers.conf ~ 
    sudo gedit /etc/cups/printers.conf
    Look for a line
    <Printer n> or <DefaultPrinter n>
    and change the "n" to whatever you want. (No spaces or special characters except "_" allowed in the name). Then restart cups

    Code:
    sudo /etc/init.d/cupsys restart
    If something goes wrong, just put back the old file
    Code:
    sudo rm /etc/cups/printers.conf
    sudo cp ~/printers.conf /etc/cups/printers.conf
    sudo /etc/init.d/cupsys restart
    Cheers,PRShah
    Make your own: Ubuntu, Kubuntu, Xubuntu, Mythbuntu All-in-One Live DVD
    "I never make mistakes; I thought I did, once.. but I was wrong."

  4. #4
    Join Date
    Sep 2006
    Location
    Devon, UK
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: rename printer

    Thank you, that worked a trest xx
    Kind Regards
    Leona
    MSI H77MA-G43, Intel I3-3225 3.3Ghz, 8Gb DDR3-1600 XMS RAM, 64Gb SSO (OS)+500Gb Seagate 2.5 HDD, Linux Mint 13, Mate, 64Bit.

  5. #5
    Join Date
    Jul 2006
    Beans
    353

    Re: rename printer

    I renamed my printer by changing <Printer Deskjet_6980_series> to <Printer Deskjet>. After making this change and resetting the printer, it would not print a page properly (it spit out many pages with odd text). I tried rebooting and changing the DeviceURI, but that didn't help either.

    Code:
    <Printer Deskjet_6980_series>
    Info HP Deskjet 6980 series
    DeviceURI hp:/usb/Deskjet_6980_series?serial=MY76M1R0YX04YX
    State Idle
    StateTime 1210174825
    Accepting Yes
    Shared Yes
    JobSheets none none
    QuotaPeriod 0
    PageLimit 0
    KLimit 0
    OpPolicy default
    ErrorPolicy retry-job

  6. #6
    Join Date
    Oct 2007
    Location
    Chennai, India
    Beans
    3,786
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: rename printer

    Quote Originally Posted by noynac View Post
    I renamed my printer by changing <Printer Deskjet_6980_series> to <Printer Deskjet>. After making this change and resetting the printer, it would not print a page properly (it spit out many pages with odd text).
    Did you remember to restart cups after changing the name? There was no call to change the URI.

    Anyway, restore the backup copy, restart cups, and check if everything is OK. If it isn't maybe you should delete and reinstall the printer.
    Cheers,PRShah
    Make your own: Ubuntu, Kubuntu, Xubuntu, Mythbuntu All-in-One Live DVD
    "I never make mistakes; I thought I did, once.. but I was wrong."

  7. #7
    Join Date
    Jul 2006
    Beans
    353

    Re: rename printer

    Quote Originally Posted by prshah View Post
    Did you remember to restart cups after changing the name? There was no call to change the URI.

    Anyway, restore the backup copy, restart cups, and check if everything is OK. If it isn't maybe you should delete and reinstall the printer.
    I did restart cups and, just to be sure, rebooted the computer. This didn't help.

    I restored the backup copy which got things working again. The name thing is not a big one for me, so I'll just leave things as they are. Thanks for the response.

  8. #8
    Join Date
    Oct 2007
    Location
    Chennai, India
    Beans
    3,786
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: rename printer

    Quote Originally Posted by leona View Post
    Thank you, that worked a trest xx
    OK! Please mark the thread solved; click on "Thread Tools" _near_ the top right hand side of the page, then select "Mark Thread as Solved".
    Cheers,PRShah
    Make your own: Ubuntu, Kubuntu, Xubuntu, Mythbuntu All-in-One Live DVD
    "I never make mistakes; I thought I did, once.. but I was wrong."

  9. #9
    Join Date
    Jul 2007
    Location
    Magic City of the Plains
    Beans
    Hidden!
    Distro
    Xubuntu 14.04 Trusty Tahr

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •