30
HPIIISi TWINAX CARD
Command:
21, User Font Strings
Description:
Use this command to assign a printer font-setup string to a host’s font ID. The
first argument for this command is the number of the font string, the second
argument is the host’s font-ID number, and the third argument (enclosed in
parentheses) is the string itself (a string of up to 25 ASCII characters—printer
“escape” commands—that the Card will send to the printer when the font
number is received from the host). Refer to your printer’s or font cartridge’s
documentation for a list of available fonts and the printer commands that
you’ll need to use to set them up properly.
Use “<” (the greater-than sign) to stand for ESC (the escape character) in the
string.
Possible Arguments:
Results:
First:
0 to 9
String number (followed by a comma)
Second:
0 to 65535
Host’s font number (followed by a comma)
Third:
([Up to 25
Defines a user string consisting of the specified
ASCII codes])
ASCII characters (in parentheses)
Third:
()
Deletes the specified string from memory.
Example:
“&%Z21,3,11(<(12U<(s0p12h10v1s3b6T)” assigns the third font string to font
ID #11 and fills the string with these font-related HP printer commands:
“12U” = Code Page 850; “0p” = fixed spacing; “12h” =
12 pitch; “10v” = 10 point; “1s” = italic; “3b” = bold; and “6T” = Letter Gothic.