56
HPIIISi TWINAX CARD
This is an &%1B26643044&% underlined&%1B266440&% word.
The printer will print the sentence above as:
This is an underlined word.
Only characters from 00 to FF are recognized (letters must be in upper
case).
Errors in the command pass-through sequence will cause the Card to
ignore the command and printing will resume at the point the error
occurred.
Although the command is displayed on the screen, the Card treats it as a
command and does not print it. If part of the sequence is printed, you have
made an error in entering the codes; check your document and make sure
you are using the correct format and EBCDIC characters.
Command pass-through may make horizontal spacing unpredictable; lines
with commands in them might be shorter than normal when printed.
Avoid sending codes that would move the print position during command
pass-through. Since the Card does not process these commands, it cannot
keep track of the print position changes; this may affect the positon of the
characters and page layout.
You can also send command pass-through strings to the printer by typing
them on the host screen and pressing the “screen print” key.
7.2 User-Defined Command Strings
Command pass-through (see the previous section) is all well and good, but
having a bunch of printer commands embedded as hex sequences between
CPT delimiters in your document can make a mess of your on-screen
display. To avoid keying in frequently used printer commands, you should
take advantage of the HPIIISi Twinax Card’s “user-defined strings” feature.
You can define as many as ten printer-command strings, numbered 0
through 9, by using host/PC-download command 04 (see the entry for this
command in
Section 5.3
).
After you have defined a command string, activate it by typing the
delimiter (either “&%” or an alternate delimiter) followed by the
uppercase letter “U” and the string number (0 through 9) into the
document or on the screen. When the document or screen is printed, the
Card will recognize the &%U and send the command assigned to the
string number to the printer.
For example, if you assigned string number U1 to a command string that
turns on
shadowed printing
shadowed printing on an HP LaserJet 4 printer (hex codes 1B
28 73 31 32 38 53), then you would simply enter “&%U1” in your
document at the point where you want shadow printing to begin.