RoadKill401
Technical User
I am using the following script to install a couple of hundred printers onto the "backend" of a new database system:
#!/bin/ksh
printer=`cat /tmp/printer.txt`
for item in $printer
do
echo adding printer $item and $item"ps"
/usr/lib/lpd/pio/etc/piomkjetd mkpq_jetdirect -p hplj-4si -D pcl -q $item -D ps -q $item"ps" -h $item -x 9100
done
My question is: Is there a specific file(s) or a way to modify the defaults found in SMIT? Specifically, I would like to modify the "lines per page" and set "POSTSCRIPT option install?" to "Yes," along with the initialize/restore options. I am refering to AIX 5.2.0.0 (please note that I am a newbie before flaming this post!)
Merci beaucoup!
John
#!/bin/ksh
printer=`cat /tmp/printer.txt`
for item in $printer
do
echo adding printer $item and $item"ps"
/usr/lib/lpd/pio/etc/piomkjetd mkpq_jetdirect -p hplj-4si -D pcl -q $item -D ps -q $item"ps" -h $item -x 9100
done
My question is: Is there a specific file(s) or a way to modify the defaults found in SMIT? Specifically, I would like to modify the "lines per page" and set "POSTSCRIPT option install?" to "Yes," along with the initialize/restore options. I am refering to AIX 5.2.0.0 (please note that I am a newbie before flaming this post!)
Merci beaucoup!
John