EasyManua.ls Logo

HP LaserJet - Page 51

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...
the
following BASIC example, which selects light, medium, and
bold stroke weight, a font cartridge with a bold font and light font
would have to
be loaded in the printer (the printer already contains
a font of medium stroke weight).
BASIC Example:
188
REM
--
stroke weight
---
118
REM - light weight
128
LPRINT CHR$(27);"(s-3B":"January has 31 days."
138
REM
'-
medium weight
148
LPRINT CHR$(27);"(s0B";"January has
31
days."
150
REM - Bold
-----------------
160
LPRINT CHR$(27);"(s3B";"January has 31 days."
170
LPRINT CHR$(12); :REM
-Form
Feed-
TYPEFACE
SELECTION
To
select a typeface
for
the
primary and secondary fonts, use
the
following escape sequences:
Primary
font
typeface Ec(s#T
Secondary
font
typeface Ec)s#T
# =Typeface value number (table
on
next page)
The
value field (#) specifies the typeface
to
be selected. Table 2-4
on
the
next page lists value numbers
for
several typefaces:
To
select Elite as the primary
font
typeface,
for
example,
the
Ec(s2T sequence
would
be sent
to
the printer.
If
the
requested typeface
is
not
available (on a loaded
font
cartridge), this characteristic
is
ignored during
font
designation.
The
typeface
of
the
resident default
font
is Courier.
2-32

Other manuals for HP LaserJet

Related product manuals