From: Matthew Gavin (matt@tempo.com.au)
Date: Wed Aug 14 2002 - 00:04:31 EDT
Hi all, I've just re-subscribed to the list...
I'm a bit stuck here... I have about 90 HP LaserJet 4100TN printers set up as remote
printers on a Sun Solaris 2.7 server. I recently modified the :bsdaddr= field in
/etc/printers.conf with vim, to reflect a new server for about 20 of these printers.
All was ok and functioning well until I went to add a new remote printer... I ran:
lpadmin -p server -s printer\!PASS_THRU
.. and it cleared all printers from /etc/printers.conf. All of them! The new printer
appears, but the rest are gone. I copied the /etc/printers.conf file back from a backup,
and printers continue to work, but I can't add any new printers.
Is it bad to edit /etc/printers.conf with vim? What would be the correct lpadmin command
to modify the bsdaddr field? I have been using vim for years in /etc/printers.conf and
have never seen anything like this.
I have searched the web with little success... I fear the only solution is to delete all
printers and start again, something I really do not want to attempt.
Any ideas?
Matt
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:46 EDT