Chapter 7— Graphics
Example Input:
Example Output:
Graphics Commands
Purpose: You can print bit-mapped graphics by using graphics commands. The
Format:
62
Input (PATTERN.LBL):
! 0 200 200 700 1
; Draw horizontal and vertical patterns
PATTERN 101
LINE 10 10 160 10 42
PATTERN 102
LINE 170 10 350 10 42
; Draw left and right diagonal patterns
PATTERN 103
LINE 10 65 160 65 40
PATTERN 104
LINE 170 65 350 65 40
; Draw square and cross hatch patterns
PATTERN 105
LINE 10 115 160 115 40
PATTERN 106
LINE 170 115 350 115 40
; Draw a scalable text character with cross ; hatch
pattern
PATTERN 106
ST PLB_LAT.CSF 40 40 20 180 HELLO
FORM
PRINT
command uses ASCII hex (hexadecimal) for expanded graphics data (see
example). You can reduce the data size to one-half by using the
Compressed-Graphics commands with the equivalent binary character(s)
of the hex data.
{command} {width} {height} {x} {y} {data}
where:
{command}: Choose from the following:
EXPANDED-GRAPHICS
(or EG)
EasyCoder PL-Series Printer Programmer's Reference Manual
Prints expanded
graphics horizontally.