Star Micronics DP8340R user manual Character Code List

Page 23

Character Code List

 

Character

Code

 

 

Function

 

 

 

 

 

1

LF

(0A)H

Print and line feed instruction

2

CR

(0D)H

Print and line feed instruction

 

 

 

(same as LF)

 

 

3

SO

(0E)H

Expanded character instruction

4

DC4

(14)H

Expanded character release

 

5

ESC-1

(1B)H (2D)H(01)H

Underline instruction

 

 

 

 

(1B)H (2D)H (31)H

 

 

 

 

 

6

ESC-0

(1B)H (2D)H(00)H

Underline release

 

 

 

 

(1B)H (2D)H (30)H

 

 

 

 

 

7

SI

(0F)H

Inverted print instruction

 

8

DC2

(12)H

Inverted print release

 

 

9

ESC E

(1B)H (45)H

Emphasized print instruction

 

 

 

 

(one-way printing)

 

 

10

ESC F

(1B)H (46)H

Emphasized print release

 

11

ESC 4

(1B)H (34)H

Red character print instruction

12

ESC 5

(1B)H (35)H

Red character print release

 

13

ESC a n

(1B)H (61)H n

n-line feed instruction

 

 

14

ESC C n

(1B)H (43)H n

Sets page length in lines

 

 

 

 

1

n

120 (default n = 42)

15

ESC N n

(1B)H (4E)H n

Set bottom margin in lines

 

 

 

 

0

n

120 (default n = 0)

16

ESC O

(1B)H (4F)H

Cancel Bottom margin

 

17

FF

(0C)H

Form feed

 

 

 

18

ESC @

(1B)H (40)H

Printer initialization instruction

19

ESC BEL

(1B)H (07)H

Set peripheral unit drive pulse duration

 

n1 n2

n1 n2

1

n1

127, 1

n2

127

 

 

 

(default n1 = n2 = 20)

 

 

20

BEL

(07)H

Trigger peripheral unit drive (Deferred)

21

FS

(1C)H

Trigger peripheral unit drive

 

 

 

 

(Immediate)

 

 

22

ENQ

(05)H

Enquiry

 

 

 

23

STX

(02)H

Start of text enter STX-ETX mode

24

ETX

(03)H

End of text end STX-ETX mode

25

CAN

(18)H

Clears print buffer

 

 

 

 

 

 

 

 

26

ESC P

(1B)H (50)H

Select 10 CPI

 

 

27

ESC M

(1B)H (4D)H

Select 15 CPI (Default value)

 

 

 

 

28

GS

(1D)H

Validation printing instruction

 

 

 

 

 

 

 

 

– 19 –

Image 23
Contents DOT Matrix Printer DP8340R Series Serial Interface Trademark acknowledgments Table of Contents RS-232C Current Loop Setting of the DIP Switches DIP-SW Model Name Notation OutlineUnpacking Unpacking and InstallationInstallation of Paper Holders Installation of Paper Holders and Re-Roll Prevention GuardHandling Notes Installation of Re-Roll PreventionPart Identification and Nomenclature Power Supply UnitPrinter Front View PrinterPart Functional Description Installation of Ink Ribbon Installation of INK Ribbon and PaperRemoval of Ink Ribbon Installation of Ink RibbonFor Roll Paper Paper InsertionReplace the Printer Cover Roll Paper Removal Validation Option InstallationControl Codes ESC F Code ESC @ 1BH 40H Printer initialization ESC P Remarks Character Code List General Specifications Input Output AC 100 240 DC 12.0 V± 5% 47Hz 63 Hz Roll Paper and Print Area External Dimensions Printer Interface Circuit Interface SpecificationsDIP-SW2 Setting of the DIP SwitchesError Condition Alarm Mode Connectors and SignalsInterface Connections Cable Connection Peripheral Unit Drive CircuitPeripheral Drive Circuit Control CodesInterface for Model DP8340RD D-SUB 25 PIN Connector Current Loop RS-232CSetting of the DIP Switches Removal of the Bottom Cover Jumper SettingSetting of Jumper CTS D-Sub 25 Pin Connector Peripheral Unit Drive Circuit Peripheral Drive Circuit Paper Empty DTR Mode 1 BlockMachine Error ON/X-OFF Mode Parity Framing ErrorSTX-ETX Mode STX-ETX Mode Flow Diagram Character Code List Page International Character Sets When Power is Supplied by the User Other parameters may be determined by user