5525B/31/32 Line Matrix Printer Code V Programmer's Reference Manual

116
Chapter 2 Command Codes
Shading Mask
Purpose Activates the shading feature with a specific shading mask.
Mode Graphics with an Extended Graphics Command selected
Format (cc) KL
mask data
(cc)KH (cc)-
(cc) Represents the Special Function Control Code
(SFCC). Enter the specific SFCC for your Code V
configuration.
KL The Shading Mask command. Enter KL to turn on
the shading mask feature.
mask
Represents the shading mask factor. Enter a two-
digit hex value ranging from 00 through FF to
specify the shading mask factor. Four sample
shading mask patterns are shown below. Refer to
Appendix B for print samples of all masking values.
The shading mask selected remains selected until
another mask value is selected or the Shading
Mask command is turned off.
data
The data characters to print in mask shaded
graphics.
(cc)KH Following the data, enter the Special Function
Control Code (SFCC) for your Code V configuration
and KH to turn off the shading mask feature.
(cc)- Graphics Mode CR used as a sequence terminator.
Enter the SFCC for your IGP configuration
immediately followed by - to end the command
sequence.
Comments The KL command is used as part of the data contained in one of
the alphanumeric commands.
Shading Mask commands must be turned on and off by
command. Any character data entered between the KL on and off
commands is shaded with the selected mask. Shading must be
turned off before any commands are used to change character
height, width, justification, or horizontal print position. Reverse
printing can be combined with shading.
Mask Value
(Hex)
Shading
Mask Produced
00
01
04
FF
|||||||
///////
\\\\\