Cognitive Solutions A776 All in One Printer User Manual


 
Chapter 5: Programming commands 57
A776-PG00001 C 12/09 A776 (B780) Programming Guide
Each character is dened by 12 bytes (only bytes 2–11 are printed.)
Each byte is one column (full- or half-dot column.)
Overlapped dots are not printed.
The data must contain [(c2 - c1 + 1) x 12] bytes. (See illustration.)
Denes and enters downloaded characters into RAM or ash. The command may be used to overwrite single
characters. User-dened characters are available until power is turned o or the initialize printer command (1B 40) is
received.
Any invalid byte (s, c1, c2, n1) aborts the command.
User-dened character sets for both slip and receipt may be used at the same time.
s = 2 B780, slip only. Limited emulation of A721.
Related information
See 1D 22 n (select memory type where to save user-dened fonts.)
Select or cancel underline mode
ASCII ESC - n
Hexadecimal 1B 2D n
Decimal 27 45 n
Decimal Hex
Value of n: 0, 48 30 = Cancel underline mode
1, 49 31 = Select underline mode
2, 50 32 = Select double thickness
underline mode
Default: 0 (Cancel underline mode)
Turns underline mode on or o. Underlines cannot be printed for spaces set by the horizontal tab, set absolute start
position, or set relative print position commands.
This command and the select print mode(s) command (1B 21) turn underline on and o in the same way.
Exceptions
This command is ignored if n is out of the specied range.
Copy character set from ROM to RAM
ASCII ESC : 0 0 0
Hexadecimal 1B 3A 30 30 30
Decimal 27 58 48 48 48
Default: Code page 437
Copies characters in the active ROM set to RAM. Use this command to re-initialize the user-dened character set. Code
page 437 is copied by default at initialization. This command is ignored if current font is the user font.
Related information
To modify characters in one of the character set variations, such as rotated print, select one of the rotated print
commands, copy to RAM, then use the dene user-dened character set command (1B 26).