mricca
ADSM.ORG Member
I am trying to set one of my TSM reports to print to our Helpdesk printer. I have it printing, but it needs to print landscape in order to see all the information. Below is the script. Does anyone know how to set it up to print landscape? I already tried pr -80 -w160 $OUTFILE | enq -P $PRINTER and it still printed portrait.
Thanks -
print "ALL EVENTS=========================================================="
/bin/dsmadmc -id=$ID -pa=$PA -se=$SE \
'q ev * * begind=today-1 endd=today'
print
) > $OUTFILE
chmod 660 $OUTFILE
#mail -c "[email protected]" [email protected] < $OUTFILE
mailx -s "TSM $OUTFILE" $CC $ADMIN < $OUTFILE
lp -d $PRINTER <$OUTFILE
#pretty print
#pr -80 -w160 $OUTFILE | enq -P $PRINTER :grin: :-o
Thanks -
print "ALL EVENTS=========================================================="
/bin/dsmadmc -id=$ID -pa=$PA -se=$SE \
'q ev * * begind=today-1 endd=today'
) > $OUTFILE
chmod 660 $OUTFILE
#mail -c "[email protected]" [email protected] < $OUTFILE
mailx -s "TSM $OUTFILE" $CC $ADMIN < $OUTFILE
lp -d $PRINTER <$OUTFILE
#pretty print
#pr -80 -w160 $OUTFILE | enq -P $PRINTER :grin: :-o