EasyManua.ls Logo

HP LaserJet - Page 48

HP LaserJet
196 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
BASIC Example:
100
REM
----FonttPitch
Selection----
110
REM
-
10
cpi pitch selection
--
120
LPRINT
CHR$(27);"(sI0H";"10
characters/inch"
130
REM
---
16.66
cpi pitch selection
--
140
LPRINT
CHR$(27);"(sI6.66H";"16.66
characters/inch"
150
LPRINT
CHR$(12);
:REM
-Form
Feed--
FONT
PITCH
SELECTION:
ALTERNATE
METHOD
Another
way
to
select
print
pitch
is
by using
the
Ec&k#S escape
sequence,
where
the
value field (#) selects
standard
(10 cpi),
or
compressed (16.66 cpi)
print
pitch
for
both
the
primary
and
secondary
character
fonts
as shown following:
Ec&k0S Selects
standard
print
pitch
Ec
&k2S
Selects compressed
print
pitch
For
example,
if
you load a
font
cartridge containing a standard
pitch
font
(10 cpi)
and
a compressed
font
(16.66 cpi), you would
send
E
c
&k2S
to
the
printer
to
specify
the
compressed
font
for
both
primary
and
secondary
character
fonts.
NOTE: You
may
override
the
pitch
of
a particular font by
changing
the
HMI.
See
the
"Horizontal Cursor Spacing"
discussion earlier in this
chapter
for more information.
CHARACTER
HEIGHT
(POINT
SIZE)
SELECTION
The
height
of
character
fonts
(character cell size)
is
specified in
points (each
point
is
equal
to
1/72
of
an
inch).
The
point size
can
be selected
for
both
the
primary
and
secondary
fonts
using the
following escape sequences:
Primary
font
height (in points)
Ec(S#V
Secondary
font
height (in points)
EC)S#V
# =
Point
size
2-29

Other manuals for HP LaserJet

Related product manuals