We've been using a method of changing printer fonts for several years on Solaris 7 but the same script is a problem on Solaris 9. On Solaris 9 the job prints correctly but continues to print multiple copies until the job is stopped. Here is the script that we use.
cat begin.txt /group1/tax/CODE1/COLL/C1Ps1.PRNTRPT.report end.txt | lp -dhp5 -t "TAX COLLECTOR CODE1" -o banner
The begin.txt and end.txt files that are concatenated are as follows. The boxes in this sequence are the escape character in the original file.
The being.txt sequence does a printer reset, duplex long edge binding, portrait orientation, and 16.7 characters per inch.
The end.txt sequence sends a job separation and a printer reset.
Can anyone point out what is causing this problem or show me a better way of accomplishing this?
Thanks in advance!