HP3000-L Archives

June 1997, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Larry Byler <[log in to unmask]>
Reply To:
Larry Byler <[log in to unmask]>
Date:
Tue, 3 Jun 1997 19:47:19 GMT
Content-Type:
text/plain
Parts/Attachments:
text/plain (59 lines)
I wrote:

: But your second problem is more serious.  It seems that that the spooler is
: ignoring the data_intray selection :-(.

: One of our LJ4 Si's here at work has green (separator) paper in its upper
: tray and white paper in its lower tray.  The LJ 4Si User's Guide says to
: use <esc>&l1H to select paper from the upper tray and <esc>&l4H to select
: from the lower tray.

: So I configured its NPCONFIG entry with data_intray = 4, and got both
: header and single output page on green paper.  Seems to be a bug somewhere,
: but I haven't chased it down.

I chased it down this morning, but I'm not sure what the solution should be.
I have a possibility below, but I welcome other suggestions.

Contrary to what I wrote yesterday, the spooler is not ignoring the
data_intray selection.  It's just that the selection doesn't last very long.

The spooler sends the data_intray selection just before the setup_file (or
before the start of data, if the spool file includes an ENV).  But most
setup files (including PCLELIT[DE] and PCLLP[D] shipped with MPE) start off
with <esc>Z<esc>E.  The <esc>Z turns off "display functions", and the <esc>E
resets the printer to its user defaults -- which usually specify a different
intray than the one we just set.  The <esc>E is for inter-job separation, so
the printer always starts out in the same state.

I deliberately put the data_intray selection before the setup_file in case
that file (or the user data) puts the printer in PostScript mode.  If the
printer has seen <esc>%-12345X@PJL<LF>@PJL ENTER LANGUAGE=POSTSCRIPT, it
won't know what to do with <esc>&l#H.

Is it reasonable to require that printers that print PostScript output be
configured as a separate LDEV, and that data_intray be defaulted for those
printers?  (If the default is used, no escape sequence is sent).  Remember,
LDEV numbers are reasonably cheap, and the same physical network printer can
be configured as any number of LDEVs.  If so, we can move the tray selection
to follow setup_file processing.

Other suggestions?

Meanwhile the following might serve as a workaround:  Modify the setup file
to include your tray selection.  For example, here is a line from PCLELITD:

    <esc>&l1x0u0z0o1s1l2a6d3e60F

(I've used <esc> to denote the actual escape character in the file).  The
line shown sets all the <esc>&l (that's "ell") properties of the printer.
And this line follows the <esc>E, so the selections will last awhile longer.
So it's fairly straightforward to add (hard-code) the tray selection:

    <esc>&l4h1x0u0z0o1s1l2a6d3e60F
           ^^

Hope that helps.  And we'll start an SR on the problem.

-Larry "MPE/iX Spoolers 'R' Us" Byler-

ATOM RSS1 RSS2