Problem
Slow printing, or printer pauses between pages or jobs. This problem is more prevalent when application sends a lot of single page jobs.
Cause
There is a 5 second delay between jobs in several
interface scripts, set via the DRAIN variable. This delay
is needed for older slower printers with smaller buffers,
but this could be unwanted for more modern faster printers
with larger buffers.The DRAIN variable is set in many interface scripts, including the standard interface, in a statement similar to this:
DRAIN="${LOCALPATH}/drain.output 5" # wait only five seconds Solution
Check your interface script to see if it contains the DRAIN assignment and try changing it from 5 seconds to zero seconds.
DRAIN="${LOCALPATH}/drain.output 0"Here are the locations of the interface scripts on the various releases:
UnixWare 7, OpenUnix 8, or OpenServer 6:
/etc/lp/interfaces//etc/lp/interfaces/model.origOpenServer 5 (OpenServer 6 links these to /etc/lp/...):
/usr/spool/lp/admins/lp/interfaces//usr/spool/lp/admins/lp/interfaces/model.origNOTE: HP Network Printers (hpnp) use 2 interfaces scripts, the script in
the interfaces directory handles the HP networking, while the script
in the model.orig directory is the normal page formatting interface
that could have the drain statement. See also
TA106184 - SCO UNIX or XENIX spooler hangs for no reason, jobs queue but don't print.
TA 106184TA119265 - When I print I can have delays of 5 seconds between prints of LPD printers
TA 119265TA110358 - How do I configure printing to an HP JetDirect Printer or HP Print Server?
TA 110358TA111121 - How do I configure my UnixWare 7 machine to print to a Hewlett-Packard network printer?
TA 111121TA125918 - Print job are lost when printing via the hpnpIS.model script to HP Network printers
TA 125918