HP3000-L Archives

March 2001, 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:
Doug Becker <[log in to unmask]>
Reply To:
Doug Becker <[log in to unmask]>
Date:
Wed, 7 Mar 2001 14:39:49 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (94 lines)
Thanks for the extra level of detail. Appreciated.

>>> Carl McNamee <[log in to unmask]> 03/07 12:04 PM >>>
Doug,

Here is how I did it:

NPCONFIG.PUB.SYS

1488 (network_address=xxx.xxx.xxx.xxx      #  LP10
       jam_recovery = true  # The printer will control reprints.
       pjl_supported = true # PJL is supported on the printer
       setup_file = LJLP10.HPENV.SYS) # Laserjet si setup file.


LJLP10.HPENV.SYS

EscE - Reset printer
Esc&17H - Set Auto Select paper source.
Esc&l0O - Orientation = portrait.
Esc&l66F - 66 Lines per page.
Esc(s0p17.5h0s0b4102T - Select font Letter
   Gothic Narrow, pitch of 17.5
Esc&l2S - Select Duplex, short edge binding.

Note that duplexing has several posible orientations for both long and short
edge binding.  The setup file above does it to that the report reads just
like it came off a line printer (e.g. you punch holes in the top of the page
and read from top to bottom of both).  If you need a different layout let me
know and I'll look up the appropriate escape codes in the pcl reference
manual.

Carl McNamee
Systems Administrator
Billing Concepts
(210) 949-7282



-----Original Message-----
From: Doug Becker [mailto:[log in to unmask]] 
Sent: Tuesday, March 06, 2001 1:18 PM
To: [log in to unmask] 
Subject: [HP3000-L] Duplex Printing from the HP3000 using Network
Printing


There was a request from our client to print both sides of a sheet in
portrait mode for a report generated on the HP3000 sent to a LaserJet
Printer through Network Printing.

While many of you might know how to do this, it is rare enough to create
consternation when the requirement may pop up.

First, here is a sample entry to set up the Network Printing in sysgen.
Let us assume we are setting up RLP11 on LDEV 230.
We use RLP for all our remote networked printers so we can do operations
like STARTSPOOL and STOPSPOOL to an entire set of printers.

:SYSGEN
sysgen> io
io> adev ldev=230 id=hptcpjd path=none class=(RLP11,RLP)
io> hold
io> exit
sysgen> keep
sysgen> exit

At this point you would need to either IPL or :DOIONOW.
I have found that :DOIONOW isn't always as friendly as one might hope and
have had to IPL.

In the NPCONFIG.PUB.SYS file, make an entry:

230 (network_address = 162.5.34.234    # RLP11
    setup_file = PORTDUPL.HPENV.SYS    #
                 pjl_supported = TRUE) #

PORTDUPL.HPENV.SYS contains the following sequence with the ~ representing
the escape character.
Be sure to use "DISPLAY FUNCTIONS" to enter the escape sequence:

~&l1S~&l0O

The escape ampersand l one S, set duplex mode, long edge binding; the escape
ampersand l zero O sets portrait.

Note that in each case it is a lower case l.

For the discussion of duplex mode, please see:

http://www.piclist.com/techref/language/pcl/duplex.htm 

And take it from me, save the environment file unnumbered.

ATOM RSS1 RSS2