Operating System - HP-UX
1835251 Members
2354 Online
110078 Solutions
New Discussion

Problem putting Titles on printouts

 
George Doller
Frequent Advisor

Problem putting Titles on printouts

I am running the following, and when I run it with just a profile for example, I get the banner page telling me the file name. When I run it with a report that was generated I don't get a banner page. Any ideas on getting a banner on the front of my reports to distinguish between them. One more thing to complicate things. This is only a problem on Xerox printers

for FILE in `ls /etc/profile`
do
if [ -f "$FILE" ]
then
lp -dxop3 -t "$FILE" "$FILE"
fi
done

When I substitute /etc/profile for a directory with reports I don't get a banner page.
Thanks
1 REPLY 1
James R. Ferguson
Acclaimed Contributor

Re: Problem putting Titles on printouts