Technical article 126164

Slow printing, pauses between jobs.

OpenServer 6.0.0OpenServer 5.0.6OpenServer 5.0.7UnixWare 7.0.0UnixWare 7.0.1UnixWare 7.1.0UnixWare 7.1.1UnixWare 7.1.3UnixWare 7.1.4Open UNIX 8

Written · Last revised

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.orig

OpenServer 5 (OpenServer 6 links these to /etc/lp/...):

/usr/spool/lp/admins/lp/interfaces/
/usr/spool/lp/admins/lp/interfaces/model.orig
NOTE:     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 106184

TA119265 - When I print I can have delays of 5 seconds between prints of LPD printers

TA 119265

TA110358 - How do I configure printing to an HP JetDirect Printer or HP Print Server?

TA 110358

TA111121 - How do I configure my UnixWare 7 machine to print to a Hewlett-Packard network printer?

TA 111121

TA125918 - Print job are lost when printing via the hpnpIS.model script to HP Network printers

TA 125918

From the Xinuos technical article database, record 126164. Reproduced with permission. The original is at www.sco.com/ta/126164, which is reachable but blocked from search engines.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.