If this isn't exactly what you wanted, please try our Search (there's a LOT of techy and non-techy stuff here about Linux, Unix, Mac OS X and just computers in general!):
From - Sat Feb 19 16:56:34 2000
Newsgroups: comp.unix.sco.misc
Path: news.randori.com!newsxfer3.itd.umich.edu!europa.netcrusader.net!128.158.254.10!news.msfc.nasa.gov!info.usuhs.mil!uky.edu!news.xenitec.on.ca!news
From: scolist@cactus.com (Jeff Hyman)
Subject: Re: Creating HP Escape Sequences
Resent-From: mmdf@xenitec.on.ca
Submit-To: scomsc@xenitec.on.ca
Content-Type: text/plain; charset=US-ASCII
Organization: [resent by] The SCOMSC gateway and Propagation Society
Date: Sat, 19 Feb 2000 21:44:09 GMT
Message-ID: <m12MHfd-0006cwC@cactus.com>
Mime-Version: 1.0
In-Reply-To: <Fq6s9I.zpn@wjv.com.REMOVEME> from Bill Vermillion at "Feb 19, 0 04:53:42 pm"
Content-Transfer-Encoding: 7bit
Sender: news@xenitec.on.ca (xenitec.on.ca News Administrator)
Precedence: list
Lines: 74
Xref: news.randori.com comp.unix.sco.misc:54886
X-Mozilla-Status: 8010
X-Mozilla-Status2: 00000000
Recently, Bill Vermillion wrote:
> In article <20000218151743.30891@tegan.com>,
> Tom Parsons <cis@tegan.com> wrote:
> >Yates Sale enscribed:
>
> >| How do I generate escape sequences for controlling HP5Si
> >| printers. The printers use the PCL 5 language. I am running on
> >| SCO Openserver 5.
>
> ....
>
> >Each time a printer interface file closes (after every print job), it
> >resets the printer to defaults.
>
> And for some of my applications which have codes within them, I
> issue and ESC E from the applications itself. That way I know the
> printers is in a default mode (which may depend on panel settings
> stored within the printer).
>
> I use the 'never assume anything' model when I can - and when I
> remember :-)
> --
> Bill Vermillion bv @ wjv.com
Here is a rather old script I've been using for years. It works
fine for me. This file should be "sourced".
:
# @(#) laser_fonts - import file with various HP laser fonts
#
# Author: Jeffrey Hyman
#
# Source Code (C)1989-1993 Lone Star Software Corp. All Rights Reserved.
#
# WARNING: Only use 'vi' to edit this file.
#
F05="(8U(s1p05v0s3b4148T" ; export F05
F08="(8U(s1p08v0s3b4148T" ; export F08
F10="(8U(s1p10v0s3b4148T" ; export F10
F12="(8U(s1p12v0s3b4148T" ; export F12
F15="(8U(s1p15v0s3b4148T" ; export F15
F18="(8U(s1p18v0s3b4148T" ; export F18
F20="(8U(s1p20v0s3b4148T" ; export F20
F25="(8U(s1p25v0s3b4148T" ; export F25
F30="(8U(s1p30v0s3b4148T" ; export F30
F35="(8U(s1p35v0s3b4148T" ; export F35
F40="(8U(s1p40v0s3b4148T" ; export F40
FS="s0P" ; export FS # Fixed spacing
PS="s1P" ; export PS # Proportional spacing
OL="(s32S" ; export OL # Outline
Shadow="(s128S" ; export Shadow # Shadowed print
ULine="&d3D" ; export ULine # Underline this area
DULine="&d@" ; export DULine # Disable Underline this area
ITALIC="(s1S" ; export ITALIC # Italic printing
LT="&l4H" ; export LT # feed paper from Lower Tray
Reset="E" ; export Reset # reset HP laser (forces form-feed)
Fdefault="(3@" ; export Fdefault # reset original default FONTS
# i(nsert)... Cntrl> v... <Esc) ... will do ==> ^[ for laser
### EOF
Thanks!
Jeff Hyman
.--.
__________________________ .-. | | __________________________________
Lone Star Software Corp. | | | | .-. E-Mail: jeff@cactus.com
Cactus International, Inc. | |_| | | | Sales: (800) LONE-TAR
509 E. Ridgeville Blvd. _ |___ |_| | Support: (301) 829-1622
Mt. Airy, MD 21771 _| ~- | ___| Fax: (301) 829-1623
http://www.CACTUS.com \, _} | | http://www.LONE-TAR.com
------------------------- \( -- | | -----------------------------------
| |
Enter your email address for automatic notification of new posts here
(be sure to whitelist 'feedburner.com' if you use spam filtering)
| Views for this page | ||||
|---|---|---|---|---|
| Today | This Week | This Month | This Year | Overall |
| 1 | 17 | 14 | 945 | 4,554 |
/Bofcusm/273.html copyright 1997-2004 (various authors) All Rights Reserved
Have you tried Searching this site?
Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates
This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.
Add your comments
comment on this page here