Home Forums OS X Server and Client Discussion Questions and Answers Scripting: Changing name of printer in Print & Fax prefpane

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #379785
    sam
    Participant

    Hello,

    I manage a 25 Mac network, running 10.5.8, all bound to an OD running 10.6.4. The client workstations have several printers in their list. One particular printer was added to the initial image which deployed to all 25 Macs. For some reason, the client needs to change the name of the printer as it appears in the GUI (in the print dialog).

    Is there any way to script this name change instead of reverting to the “sneaker net” route?

    I have tried looking into[i] /etc/cups[/i] and using [i]lpadmin[/i] but haven’t found a way to update the name displayed in System Preferences > Print & Fax.

    Any help would be very much appreciated.

    Cheers,
    Sam

    #379826
    sam
    Participant

    *Bump*

    Still haven’t figured it out…

    #379860
    Magus255
    Participant

    Stop cups

    launchctl unload /System/Library/LaunchDaemons/org.cups.cupsd.plist

    then make changes to the /etc/cups/printers.conf
    you need to change the Info field.
    then reload cups

    launchctl load /System/Library/LaunchDaemons/org.cups.cupsd.plist

    #380081
    tlarkin
    Participant

    You can remove them and then re-add them, as to rename them, but I am not seeing a rename option in lpadmin or lpoptions commands

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.

Comments are closed