« They seemed to have heard me | Main | Acrobat 9 Pro for the Mac is out »
Lately at work, I'd been working on getting people off of LPD and PAP onto IPP. IPP provides pap-like functionality, only over TCP/IP, which makes my network traffic simpler. Simpler is good, makes troubleshooting easier.
The potential annoying part was the process I was looking at:
- Delete "old" printer via lpadmin -x
- Add IPP printer via lpadmin
Then, rather accidently, on my test machine, (read: John's MacBook Pro), I added a printer via lpadmin with the same name as the existing one, but IPP instead of LPD. Took a look at printers.conf, and realized that I'd just changed the queue type. So now, I had a one step process: Add new printer with same name as existing printer as IPP. So, I set up the command templates in ARD:
lpadmin -p "printername" -v "printer ipp uri" -D "description which is human friendly and used as the 'name' by Mac OS X" -E -P "path to ppd" -o printer-is-shared=false
For some reason, when I add a printer in Mac OS X 10.5 via lpadmin, it likes to set it up as a shared printer, regardless of Printer Sharing state. To prevent that, I use the -o printer-is-shared=false switch.
I realize this is not some earthshattering discovery, but, it gets it into the great Google Tech Support Database, and maybe helps someone save time.
Remember folks, a good sysadmin is a relentlessly lazy sysadmin.
Technorati Tags:
Apple Remote Desktop, Mac IT, Stupid lpadmin Tricks, Stupid Apple Remote Desktop Tricks
Comments
Warning for Notes users: The commenting system uses HTML.I know this will be scary for some of you, especially Notes fans. However, open standards, rah-rah.
If you want to use less-than or greater-than signs, or other similar charachters that HTML reserves,
you'll simply have to learn to do it the HTML way. Luckily, HTML is kind of popular, no matter what
your re-educators have told you, and you can easily find help on the intertubes.

