HP3000-L Archives

January 2001, 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:
Robert Mills <[log in to unmask]>
Reply To:
Robert Mills <[log in to unmask]>
Date:
Wed, 17 Jan 2001 11:05:35 -0000
Content-Type:
text/plain
Parts/Attachments:
text/plain (107 lines)
Why use PCL when a PJL file will let you enter your options in a human
readable format?

For example:

  :print a4landlp.ljenv
  -12345X@PJL
  @PJL COMMENT
  @PJL COMMENT LaserJet A4 Landscape LP Setup File
  @PJL COMMENT
  @PJL SET PAPER=A4
  @PJL SET ORIENTATION=LANDSCAPE
  @PJL SET LPARM:PCL SYMSET=ROMAN8
  @PJL SET LPARM:PCL PITCH=16.67
  @PJL SET FORMLINES=66
  :

The above file was created using the following code which has been extracted
from a command file that creates several printer environment files:

  #-- Build the default A4 Landscape (Line Printer) Setup File.

  purge A4LANDLP.LJENV > $null
  build A4LANDLP.LJENV;rec=-80,,f,ascii

  file A4LANDLP=A4LANDLP.LJENV.SYSTEMS,old

  echo ![chr(27)]%-12345X@PJL![chr(10)] >> *A4LANDLP
  echo @PJL COMMENT![chr(10)] >> *A4LANDLP
  echo @PJL COMMENT LaserJet A4 Landscape LP Setup File![chr(10)] >>
*A4LANDLP
  echo @PJL COMMENT![chr(10)] >> *A4LANDLP
  echo @PJL SET PAPER=A4![chr(10)] >> *A4LANDLP
  echo @PJL SET ORIENTATION=LANDSCAPE![chr(10)] >> *A4LANDLP
  echo @PJL SET LPARM:PCL SYMSET=ROMAN8![chr(10)] >> *A4LANDLP
  echo @PJL SET LPARM:PCL PITCH=16.67![chr(10)] >> *A4LANDLP
  echo @PJL SET FORMLINES=66![chr(10)] >> *A4LANDLP

  echo Information: LaserJet A4 Landscape LP Setup File built.

  reset A4LANDLP

Remember to add 'pjl_supported = TRUE' to your NPCONFIG file.

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|Robert W.Mills (Systems Development Manager) |
|Windsong Services, St. Mary Cray, ENGLAND    |
|Tel  : +44 (0)1689 870622 x3005              |
|Fax  : +44 (0)1689 899026                    |
|Email: [log in to unmask]  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

-----Original Message-----
From: joe dumas [mailto:[log in to unmask]]
Sent: Tuesday, January 16, 2001 5:23 PM
To: [log in to unmask]
Subject: Re: HPENV file for a HP 2100Tn


For portrait mode you can create your own in HPENV.SYS.

:Editor
/a
Alt-M  (to see modes function keys) then F7 Display Functns
1    (hit escape key)&l0O   (that's ampersand, small el, zero, capital Oh)
The escape code shows as an E over a C.
Hit F7 to shut off Display Functns mode, and hit Return key.
Save the file in HPENV.SYS.  Use ,UNN when saving the file.
The key is to get the escape code as a character in the line.  The Display
Functns key lets you do this.

Joe
---
Joe Dumas    (Visit our Web Site at http://www.cpii.com/bmd )
Sr. Programmer
Communications & Power Industries
Beverly Microwave Division
Beverly, MA   01915
(978) 922-6004 x434
fax  (978) 922-8914


> -----Original Message-----
> From: Ray Sparks [mailto:[log in to unmask]]
> Sent: Saturday, January 13, 2001 1:20 PM
> To: [log in to unmask]
> Subject: HPENV file for a HP 2100Tn
>
>
> Hello Everyone!
>
> I am hoping someone can help me.  I recently configured a HP
> Laserjet 2100TN
> on our 3000.  When trying to print to the printer it will only print
> landscape.  I have tried several of the obvious HPENV files
> but nothing has
> worked.
>
> Does anyone know which one to use?  Can you download more HPENV files?
>
> Thanks for you help!
>
> Ray Sparks
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com
>

ATOM RSS1 RSS2