Oki ML591 MICROLINE Reference Manual - Page 91
Graphics Commands for 9-Pin Printers, Overview
View all Oki ML591 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 91 highlights
Chapter 6: Graphics Commands for 9-Pin Printers Overview Your printhead has one column of pins. Images are created as the pins "fire," striking the ribbon against the paper to produce dots. White spaces appear where the pins don't fire. In 8pin graphics, each column of dots is represented by a single byte of data. Models ML320, ML321, ML320 Turbo, ML321 Turbo, ML520, and ML521 use the 9-pin mode in cases where a slightly higher resolution is required: it uses two bytes to represent each dot column. When you program a graphic image, your program has to describe the pattern of dots you want to print. Graphics data, like all other data sent to the printer, consists of a series of bytes. Each of the eight bits in a byte of graphics data corresponds to one pin on the printhead. A bit's value can be either 1 or 0. When the printer receives the data, it interprets a bit with a value of 1 as a command to fire the corresponding pin. Bits that are set to 0 don't cause pins to fire. You can picture the byte as a column of 8 bits. In 8-pin graphics, the body of data is a series of these columns lined up next to each other. Instead of sending the data to the printer bit by bit, you'll probably want to convert this binary information into decimal or hexadecimal format for use with your programming language. In the figure below we show how to determine the decimal value for a given pattern of pins. For optimum registration when printing graphics using bi-directional printing, use the Print Registration item in the printer menu to fine-tune the alignment of the vertical bars which print as part of the menu. Keep changing the setting until the lines of the vertical bar characters have the straightest vertical column. Chapter 6: Graphics Commands for 9-Pin Printers 53