HP3000-L Archives

February 2009, Week 3

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:
Gordon Montgomery <[log in to unmask]>
Reply To:
Gordon Montgomery <[log in to unmask]>
Date:
Thu, 19 Feb 2009 14:11:36 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (77 lines)
----- Original Message ----- 
From: "Johnson, Tracy" <[log in to unmask]>
To: <[log in to unmask]>
Sent: Thursday, February 19, 2009 9:02 AM
Subject: Re: [HP3000-L] MPE/iX Native spooler


Actually no, landscape is not necessarily a default, if the printer
config just happens to match, then no one notices.  If your laser is set
up to be 80 column, courier, portrait, then 132 columns from the HP will
look messed up.

You can force it one of two ways:

1.  You can configure the printer locally, either from the keypad or a
PC and saving landscape 132 with a monospaced font as the default.

2.  You can tell the HP3000 to send an escape string every time.  I use
that method, because I have no control what users do at the local level.
They're fickle that way.

HOW TO DO METHOD 2:

On the HP3000, create a one line text file with the below string, change
every instance of ESC  below to the 'ESCAPE' CHARACTER and REMOVE ALL
SPACES:

ESC &l1OESC&k2s9H ESC &l1L ESC &l5.45C ESC &a4L ESC &l6E ESC &l60F ESC
&a0R

That tells it to do landscape, use a small size monospaced font 60 lines
on a page, etc.

KEEP the file somewhere, make sure it is readable by anyone, by putting
it in the appropriate group or RELEASING it.  (Not recommended to
RELEASE it, as anyone can PURGE it.)  I put mine in the HPENV group of
the SYS account.

Then, in your NPCONFIG FILE modify your LDEV to include that as a
SETUP_FILE=

17      (network_address = 10.0.2.74
setup_file=myfile.mygroup.myaccount)

Or you can put it in the global section, although I've never tried that.

Tracy Johnson
Business Analyst
Measurement Specialties, Inc.
1000 Lucas Way
Hampton, VA 23666
Office 1-757-766-4318
[log in to unmask]
www.meas-spec.com
 
----- Original Message ----- 

Well, actually from all my reading last night and quite a few test runs where
I captured the packets going to the printer, it looks like at least on 7.0, the
default is landscape, 132 columns. That was what my confusion was stemming
from. Our printers are set ( from the printers own touch panel ) to default to 
portrait, 80 columns. As far as I can tell the actual string that the spooler 
prepends to the spool file is:

[Esc]Z[Esc]E[Esc]&l1X[Esc]&l-22.50u-33.75Z[Esc]&l1O[Esc]&l2A[Esc]&l6.18C[Esc]&l3E[Esc]&l60F
[Esc]&a2L[Esc]&l1L[Esc]&k2G[Esc](8U[Esc](s0P[Esc](s13H[Esc](s0S[Esc](s0B[Esc](s4099T

I haven't looked up all the codes, but I know that this overides the printer's 
default of portrait with landscape.

Thanks for all the input.

Gordon

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2