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:
"Johnson, Tracy" <[log in to unmask]>
Reply To:
Johnson, Tracy
Date:
Thu, 19 Feb 2009 11:02:39 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (52 lines)
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
 

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

ATOM RSS1 RSS2