head 1.2; access; symbols; locks ahuxley:1.2; strict; comment @# @; 1.2 date 97.08.14.10.02.09; author ahuxley; state Exp; branches; next 1.1; 1.1 date 97.06.13.12.34.37; author ahuxley; state Exp; branches; next ; desc @@ 1.2 log @*** empty log message *** @ text @
You can use sam, but for speed and especially in remsh wrapper scripts doing the same action to multiple systems, manually installing printers is a lot easier.
Note there is a script for adding a large number of printers to large number of hosts. It is located at:
host: te16
directory: /root/bin
file: install_some_printers_on_some_hosts
Note that the print server must be disabled for this to work. The command sequence is given below.
# /usr/lib/lpshut
sheduler stopped
/usr/sbin/lpadmin -p<local_printer_name> -v/dev/null -mrmodel
-ocmrcmodel -osmrsmodel -ob3 -orm<printer_server> -orp<remote_printer_name>
# /usr/lib/lpsched
scheduler is running
# /usr/lib/accept <local_printer_name>
destination "<local_printer_name>" now accepting
requests
# /usr/bin/enable <local_printer_name>
printer "<local_printer_name>" now enabled
#
$Header$
@ 1.1 log @Initial revision @ text @d5 1 a5 1 d16 7 @