Igp for dot matrix printers user guide – Dascom T2250 User Guide IGP for Dot Matrix Printers User Manual
Page 48

IGP for Dot Matrix Printers
User Guide
48
The second escape sequence format is more economical and easier to use when stringing
commands together, but either of the above commands would result in a horizontal line of 48
dots across the page.
Repeating either of the above command/CRLF sequences would cause printing of vertical bars
across the page. For example, repeating either of the above sequences 100 times would result
in:
The advantage of being able to string commands together is that it enables you to put commands
for different dot patterns together in one escape sequence for designing special graphics to be
printed on your printer. In the next example, the plot density has been set to 60 DPI by 60 DPI in
order to show the dot pattern clearly. Sending the following escape sequence 20 times,
ESC[<3hA$1
CRLF
B$1
CRLF
D$1
CRLF
H$1
CRLF
P$1
CRLF
`$1
CRLF
will result in the following graphic: