Subject: pap (netatalk-asun-2.1.3) not properly closing?
From: Patrik Schindler (poc@pocnet.net)
Date: Thu Feb 17 2000 - 13:47:16 EST
Hello,
I'm trying to get the chain lpr -> lpd -> gs -> pap -> HP DeskWriter 510 to work.
At the moment it works very fine with my custom of:
#!/bin/sh
trap '' SIGINT
#
TMPFILE="/tmp/`date +%s`.tmp"
DDICT="-dSAFER -dNOPAUSE -dBATCH"
SDICT="-sPAPERSIZE=a4 -sDEVICE=djet500 -sOutputFile=$TMPFILE"
OPTS="-q"
#
/usr/bin/gs $OPTS $DDICT $SDICT -
/usr/local/bin/pap -e -sstatus < $TMPFILE
rm -f $TMPFILE
The redirection to a tempfile is another oddity (when piping the job directly from gs to pap, the printer feeds one page and than doesn't print anything.
What really hurts is: After sending the Job to the printer, it never gives up. Pap runs and uns and won't close the connection until it's explicitly killed. Bad thing.
Same setup (but without gs) runs absolutely problem-free with my QMS PS-410.
Is this a protocol related bug from HP or from pap?
Has anyone expirienced a similar problem?
:wq! PoC
This archive was generated by hypermail 2b28 : Wed Jan 17 2001 - 14:30:06 EST