Data numbers

2The bits within each byte have values of 1, 2, 4, 8, 16, 32, 64, and

128.In the vertical column of dots, the bits are arranged so that the most significant bit (which has a value of 128) is at the top and the least significant bit (which has a value of 1) is at the bottom.

Figure 67 shows how to use this method to calculate the data numbers for the example character. On the left side of the figure the data numbers are calculated for the middle column. The value of each byte is calculated by adding the values of the rows where dots appear The right side of the figure shows the whole character with the three data numbers for each column indicated at the bottom.

This manual uses decimal numbers because the example programs in this manual are written in BASIC. The data you send to the LQ2500, however, can be in any form (binary decimal, hexadecimal) that can be used with your programming language.

After you’ve designed a character on a grid and translated the dots to decimal equivalents, the last step is to send this information to the printer.

F q u r e 6 7 .

calculating the data

6.14

Garaphics and under-defined Characters