Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SMIT defaults

Status
Not open for further replies.

RoadKill401

Technical User
Jan 17, 2005
2
CA
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
 
Why don't you manually add a printer through smit & configure it how you want and then pull the command smit runs from $HOME/smit.script?
 
Thank-you "jprabaker!"

It's exactly what I was looking for...you just saved me many hours of unnecessary work.

John
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top