HP3000-L Archives

February 1998, 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:
Gary Jackson <[log in to unmask]>
Reply To:
Gary Jackson <[log in to unmask]>
Date:
Tue, 3 Feb 1998 12:04:31 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (181 lines)
>Did you ever get a responce on
>
>Hopefully this can be answered by Larry 'Spoolers are him" Byler, but
>maybe
>someone else has an idea.
>
>I have a LaserJet 5SiMX that is networked and that has a duplexing unit.
>I
>am running MPE/iX running 5.5 Express 1.  I have prepunched paper in
>tray 3
>and have told the printer, through the control panel, that I have done
>so.
>Now the problem:  using NPCONFIG I a am trying to tell the printer to
>use
>the paper in tray three using data_tray = 3 (see the last lines of
>NPCONFIG)
>
><snipped NPCONFIG list>>
>
>I just started my first NPCONFIG/net printer.
>I believe the parameter for the data_tray is the same for the pcl
>command paper source: <esc>&l#H
>   3 is manual input envelope.
>   4 is alternate paper source   #I think this is what you want.
>   5 is optional large paper source
>Check your favorite PCL [Quick] reference manual.
>
>********************
>* Keven Miller   KC7LYD
>* [log in to unmask]   (Salt Lake City, Utah, USA)
>********************
>
>
>

This thread has been here before :>( and hasn't been fixed yet :>(  Here is
the old stuff:



:Gary Jackson ([log in to unmask]) wrote:
: Hopefully this can be answered by Larry 'Spoolers are him" Byler, but maybe
: someone else has an idea.

: I have a LaserJet 5SiMX that is networked and that has a duplexing unit.  I
: am running MPE/iX running 5.5 Express 1.  I have prepunched paper in tray 3
: and have told the printer, through the control panel, that I have done so.
: Now the problem:  using NPCONFIG I a am trying to tell the printer to use
: the paper in tray three using data_tray = 3 (see the last lines of NPCONFIG)

: <<START NPCONFIG>>

[...]

: global #setup_file = pcllpD.PENV.SYS      #
:         (message_interval = 60                # Repeat msgs every >= 60 secs.
:         banner_tray = 1                      # Upper tray has colored banner
:                                              #   paper.
: #       data_tray = 4                        # Lower tray has regular white
:                                              #   paper.
:         banner_trailer = FALSE               # Only need a header page.
:         pjl_supported = TRUE                 # LJ4Si is a full PJL device.
:         jam_recovery = TRUE)                 # Reprints jammed pages by
itself.

: 61      (network_address =  206.15.255.18)
: 62      (network_address =  206.15.255.21)
: 63      (network_address =  204.89.151.50)
: 80      (network_address =  206.15.255.18)
: 81      (network_address =  206.15.255.18
:            setup_file = PCLLPD.HPENV.SYS)
: 82      (network_address =  206.15.255.18 data_tray = 3)
: 83      (network_address =  206.15.255.18 data_tray = 3
:            setup_file = PCLLPD.HPENV.SYS)
: <<END NPCONFIG>>

: The communicator for 5.5 (page 10-76) shows an item of data_intray, while
: the sample that came with with the release shows data_tray.  Neither one
: selects tray 3.  What am I doing wrong?

data_intray is the correct item name.  Sorry for the miscommunication else-
where.

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.

Sorry for the bad news, but look on the bright side -- we get to file
another SR (cancelling :-( :-)).

Thanks for pointing out the problem.  Perhaps I can find an easy workaround.

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

 AND MORE---



From:         Larry Byler <[log in to unmask]>
Organization: Hewlett Packard Cupertino Site
Subject:      Re: NPCONFIG problems (long)
To:           [log in to unmask]

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-


Hope this helps.

Gary


Gary Jackson
Nevada CSOS
(530) 478-6407 - voice
(530) 478-6410 - fax

ATOM RSS1 RSS2