beautypg.com

Igure, Ample, Attern – Dascom T2250 User Guide IGP for Dot Matrix Printers User Manual

Page 44: Igp for dot matrix printers user guide

background image

IGP for Dot Matrix Printers

User Guide

44

Plot data is received as binary code that represents the dot pattern to be printed, as shown
above. If you do not have a table of the various dot patterns possible with their decimal and
hexadecimal equivalents, you can use the following method to compute the numeric equivalents.

First, plot out the dot pattern, then convert the six dot pattern to a six-bit binary number (0 for no
dot and 1 for a dot). For example:

Figure 15 – Sample Bit Pattern

Now reverse the order of the binary digits. The leftmost dot position (most significant bit)
becomes the least significant bit and so on.

101011

D 110101

Convert the new binary number, 110101, to whatever number system you use (octal, decimal,
hexadecimal, etc.) to send the code to the printer. The host computer then retranslates the
numbers you use back to their binary equivalents for transmission to the printer.