Citizen CBM-910 Printer User Manual


 
CBM-910 User’s Manual
CITIZEN
32
(10) Character registration (ESC + “&”) command
1. For 24-column model (ESC + “&” + A1 + A2)
Individual patterns can be registered by entering the code ESC + & + A1 + A2, then entering the pattern data.
A maximum of 8 characters can be registered, and any address in the range of 20H to FFH can be used for the
registration. However, if a new pattern is registered in an address already in use, existing data is cleared and the
newly entered data becomes valid. If more than 8 characters are registered, all existing character registration is
cleared.
[Address setting]
Specified address matches to the character code and can be accessed likewise to the stored fixed character record.
If a fixed character is defined in the specified address, the fixed character becomes invalid. A1 signifies the starting
address for the registrations A2 is the ending address.
[Method of data transmission]
d-1 Single character registration
Select the address to be defined (character code) from among 20H to FFH and designate it as A1. When registering a
single character, starting and ending addresses match each other. That is, A1=A2.
<Example>
A6 × 6 dot matrix full dot pattern is to be registered in address 41H (code for the fixed character “A”). (Numerals are
hexadecimal.)
ESC + “&” + A1 + A2 + “Pattern data (6 byte)”
1B 26 41 41 FFFFFFFFFFFF
In the successive controls, a 6 × 8 dot matrix full dot is output whenever the character code 41H is specified.
(Character “A” cannot be accessed.)
d-2 Multiple character registration
By repeating the single character registration, a maximum of 8 characters can be registered. When defining multiple
characters in a successive address (character code), register pattern data for a maximum of 8 characters by
designation A1 as the starting address and A2 as the ending address.
Note)
A1<A2, A2 – A1 7