beautypg.com

Chapter 5. control commands list – Samsung SRP-350 User Manual

Page 13

background image

24


International Character Set

25

Chapter 5. Control Commands List

Control codes

Hexadecimal
Codes

Function

09

Horizontal

tab

0A

Print and line feed

0C

Print and return to standard mode in

page mode

0D

Print and carriage return

18

Cancel print data in page mode

n

10 04 n

Real-time status transmission

n

10 05 n

Real-time request to printer

1B 0C

Print data in page mode

n

1B 20 n

Set right-side character spacing

! n

1B 21 n

Select print modes

$ nL nH

1B 24 nL nH

Set absolute print position

% n

1B 25 n

Select/Cancel user-defined character set

& y c1 c2 ..

1B 26 y c1 c2

Define user-defined characters

* m nL nH ..

1B 2A m nL nH

Select bit-image mode

- n

1B 2D n

Turn underline mode on/off

2

1B 32

Select default line spacing

3 n

1B 33 n

Set line spacing

= n

1B 3D n

Set peripheral device

? n

1B 3F n

Cancel user-defined characters

@

1B 40

Initialize printer

D n1 ~ nK

1B 44 … 00

Set horizontal tab position

E n

1B 45 n

Turn emphasized mode on/off

G n

1B 47 n

Turn double-strike mode on/off

J n

1B 4A n

Print and feed paper

L

1B 4C

Select page mode

M n

1B 4D n

Select character fonts

R n

1B 52 n

Select an international character set

S

1B 53

Select standard mode

T n

1B 54 n

Select print direction in page mode

V n

1B 56 n

Turn 90º clockwise rotation mode on/off

W xL…..

1B 57 ….

Set printing area in page mode

₩ nL nH

1B 5C n

Set relative print position

a n

1B 61 n

Select justification