Subject: Re: [netatalk-admins] toner low errors
From: wesley.craig@umich.edu
Date: Mon Aug 17 1998 - 10:23:46 EDT
> From: "Frank Morton" <fmorton@mail.base2inc.com>
> To: <wesley.craig@umich.edu>, "Darren Atkinson" <atkinson@cs.ucsd.edu>
> We have experienced timeout problems with high-resolution
> devices that sometime take a long time to image and pap thinks
> it is finished. This means if an error takes place "late" in the
> ripping process, it does not get caught.
By default, psf calls pap with the -E option. This causes pap to not
wait for a PAP-EOF from the printer. On some printers (particularly
HPs, in my experience), this is necessary, since they will never send
EOF for certain types of jobs. If pap waits for EOF, the printer will
eventually timeout and close the connection, causing pap to return a
"premature eof" to psf, which will in turn exit with a retry error code
to lpd, causing the job to be retried.
The simplest way to disable the -E option is to call psf without the
'm' flag (e.g. not ifmpap, but ifpap instead), and enable lpr
accounting.
:wes
This archive was generated by hypermail 2b28 : Sat Dec 18 1999 - 16:33:08 EST