[comp.sys.pyramid] Problems with lp interface & WordPerfect 4.2

wlyle@sjuphil.uucp (Wayne Lyle) (05/23/91)

	Over the past two years we have used and interface file to access
printers on remote machines.  The interface file would simply "cat" the file
to a remote shell which called lp.  This was mainly for our WordPerfect
implementation and to spread out the responsibility of the 20 or so printers
we had.  Anyway, ever since we upgraded to 5.1 OSx we have been unable to do
this.  What seems to happen is the WordPerfect files get hung up and never
exit properly.  I contacted Pyramid about the problem, they checked it out and
found that the cat was being held up by a wait of some kind. We never did get
it fixed.  I have enclosed that interface below (a fragment).  In the meantime
we have created a work around but I would just like to know if it really is a
problem,...... or just me.

Thanks in Advance,

Wayne J. Lyle


###################################### Start of Fragment #############
for file in $files
do
	cat "$file" | /usr/.ucbucb/rsh ${remote} -l ${user} /usr/.attbin/lp \
	-d${printer} -t${title} -n${copies} -o${options}
done
###################################### End of Fragment ###############


-- 

Wayne J. Lyle
Dilworth, Paxson, Kalish & Kauffman
Philadelphia, PA 19109
(215) 875-8583