Citizen Systems CBM920II user manual Esc

Page 43

(9)Sentence Registration (ESC + “/”) Command

With input of ESC (1BH) + “/” (2FH) + n + ‘registered’ + CR (0DH) / LF (0AH) code, 24 (40)-bytes data following n are registered. Set a numeral of 1~8 to n.

With any other numeral having been set, data following is regarded as print data, where no registration takes place and printing conducted.

Data cannot exceed one line and must be ended with CR (0DH) or LF (0AH).

To register a statement exceeding one line, the statement up to 24 (40) bytes is registered and the data following is printed out as print data.

The ESC command cannot be registered.

The registered data is cleared when the printer is turned off.

(10)Registered Sentence Printing (ESC + “!” ) Command

With ESC (1BH) + “!” (21H) + n code input, the statement already registered in the numeral assigned to n is printed.

Assign, to n, a numeral of 1 to 8. With any other numeral having been set, no execution takes place.

Note 1: As much as 24 (40) bytes of data can be registered. In case that 24 (40) columns are exceeded on printing (because of enlarged or 4 letters having been assigned, etc.), printing is conducted up to 24 (40)th column and the columns overflowed are printed in the next line. Be sure to make registration in consideration of printing results.

Note 2: When double height and width character printing or inverted character printing is executed in registered sentence printing, this setting is active even after returning to normal printing unless that setting is cancelled.

[Application Example]

[Registered State]

ESC

/

1

This is a pen

CR

Registered in 1.

 

 

 

 

 

 

 

 

 

 

 

ESC

/

9

It this a pen ?

CR

No registration made with 9.

 

 

 

 

 

 

 

 

ESC

/

1

Is this a pen

CR

 

Overwritten on sentence registered initially in 1.

ESC ! 1

1It is a pen

2

3

4

5

6

7

8

Printing of sentence registered in 1.

[Printing Result]

(Printed without registration)

(Printed with ESC+!+1)

— 40 —

Image 43
Contents DOT Matrix Printer Weee Mark Declaration of Conformity General Precautions Ordinarymaintenance Page Precautions for Installation Precautions for Handling Table of Contents External Dimensions Accessories FeaturesIntroduction Type Classifications Power supplyType CBM-920II-24 CBM-920II-40 SpecificationsExternal Appearance External Appearance and Part DescriptionsPart Descriptions Rack Mounting OperationsI/F Cable Connection Opening/Closing of Front Panel Panel Opening/ClosingPaper Feeding Setting Ribbon CassetteSetting Paper Page Auto Loading Function Self-printing Function, Hexadecimal Printing Function Japan 920JPN International 920Intl Memory Switch SettingPage Contents of Memory Switch Setting CBM-920II 10 PNE, PE, Other errors Return Paper lamp Power lamp Signal line Clearing Lamp Status, I/F signal status, error, etcState Special Functions Pin Signal Name Connector Pin AssignmentParallel Interface Description of Input/Output Signals Host Side Printer Side Electrical CharacteristicsTTL , Cmos Serial InterfaceDtrdata Terminal Ready Description of Input/Output SignalReceiving Control and Buffering Error DetectionFactory Setting DIP Switch SW1 SettingDIP Switch Position Switch No FunctionSerial Interface Type Switch No Baud Rate Parity Factory Setting BpsPrint Control Function Symbol Code Function Emulation Hexadecimal CBM920 IDP3110List of Control Codes SW2 Switch No.2 SW1 Switch No.1Control Code Details ABC Character Code Table CountryESC Page FF FF FF FF FF FF For 40-column model 3 4 5 6 41H 22H 55H 08H 41H 00H 41H Model CBM-920 emulation For manual setting, refer to 4.9 Setting Memory Switch Function Content of Setting Setting range of parameters n1 and n2 is as shown belowCode page table Character Code TablePage Page Page International Character Code Table External Dimensions