Cognitive Solutions A776 Select or cancel underline mode, Copy character set from ROM to RAM

Models: B780 A776

1 192
Download 192 pages 23.55 Kb
Page 69
Image 69
Select or cancel underline mode

Chapter 5: Programming commands  57

Each character is defined 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.)

Defines and enters downloaded characters into RAM or flash. The command may be used to overwrite single characters. User-defined characters are available until power is turned off or the initialize printer command (1B 40) is received.

Any invalid byte (s, c1, c2, n1) aborts the command.

User-defined 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-defined fonts.)

Select or cancel underline mode

ASCII

ESC - n

 

 

Hexadecimal

1B 2D n

 

 

Decimal

27 45 n

 

 

Value of n:

Decimal

Hex

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 off. 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 off in the same way.

Exceptions

This command is ignored if n is out of the specified 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-defined 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 define user-defined character set command (1B 26).

A776-PG00001 C 12/09

A776 (B780) Programming Guide

Page 69
Image 69
Cognitive Solutions A776, B780 manual Select or cancel underline mode, Copy character set from ROM to RAM