Appendix, A. star mode command summary – Samsung SRP-350 User Manual

Page 26

Advertising
background image

50

APPENDIX

A. Star Mode Command Summary

Control codes

Hexadecimal codes

Function

<ESC> ”R” n

1B 52 n

Select international
character set

<ESC> <GS> t n

1B 1D 74n

Select character table

<ESC> ”/” “1”
<ESC> ”/” <1>

1B 2F 31
1B 2F 01

Select slash zero

<ESC> ”/” “0”
<ESC> ”/” <0>

1B 2F 30
1B 2F 00

Select normal zero

<ESC> “b” n1 n2 n3 n4
d1 … dk <RS>

1B 62 n1 n2 n3 n4
d1 … dk 1E

Select bar code printing

<ESC> ”M”

1B 4D

Select 12-dot pitch printing

<ESC> ”p”

1B 70

Select 14-dot pitch printing

<ESC> ”P”

1B 50

Select 15-dot pitch printing

<ESC> ”:”

1B 3A

Select 16-dot pitch printing

<ESC> <SP> n

1B 20 n

Set character spacing

<SO>

0E

Sets the printing magnified
double in character width.

<DC4>

14

Resets the printing
magnified in character
width.

<ESC> “W” n

1B 57 n

Sets the magnification rate
in character width.

<ESC> <SO>

1B 0E

Sets the printing magnified
double in character height.

<ESC> <DC4>

1B 14

Resets the printing
magnified in character
height.

<ESC> “h” n

1B 68 n

Sets the magnification rate
in character height.

<ESC> ”-“ “1”
<ESC> ”-:” <1>

1B 2D 31
1B 2D 01

Select underlining

<ESC> “_” “1”
<ESC> “_” <1>

1B 5F 31
1B 5F 01

Select over lining

<ESC> “4”

1B 34

Select highlight printing

<ESC> “5”

1B 35

Cancel highlight printing

<SI> 0F Inverted

printing

<DC2>

12

Cancel inverted printing

<ESC> “E”

1B 45

Select emphasized printing

51

Control codes

Hexadecimal codes

Function

<ESC> “F”

1B 46

Cancel emphasized printing

<ESC> “C” n

1B 43 n

Set page length in lines

<ESC> “C” <0> n

1B 43 00 n

Set page length in inches

<ESC> “N” n

1B 4E n

Set bottom margin

<ESC> “O”

1B 4F

Cancel bottom margin

<ESC> “I” n

1B 6C n

Set left margin

<ESC> “Q” n

1B 51 n

Set right margin

<LF> 0A Line

Feed

<ESC> “a” n

1B 61 n

Feed paper n lines

<FF> 0C Form

Feed

<HT> 09 Horizontal

tab

<VT> 0B Vertical

tab

<ESC> “z” “1”

1B 7A 31

Set line spacing to 4 mm

<ESC> “0”

1B 30

Set line spacing to 3 mm

<ESC> “J” n

1B 4A n

One time n/4 mm feed

<ESC> “I” n

1B 49 n

One time n/8 mm feed

<ESC> “B” n1 n2…<0>

1B 42 n1 n2 … 00

Set vertical tab stops

<ESC> “D” n1 n2…<0>

1B 44 n1 n2 … 00

Set horizontal tab stops

<ESC> <GS> “A” n1 n2

1B 1D 41 n1 n2

Absolute position setting

<ESC> <GS> “R” n1 n2

1B 1D 52 n1 n2

Relative position setting

<ESC> <GS> “a” n

1B 1D 61 n

Alignment

<ESC> “K” n <0>

m1 m2 …

1B 48 n 00 m1 m2

Print normal density graphics

<ESC> “L” n <0>

m1 m2 …

1B 4C n1 n2 m1 m2

Print high density graphics

<ESC> “k” n <0> d1

1B 6B n 00 d1

Print fine density graphics

<ESC> “X” n1 n2

1B 58 n1 n2

Print fine density graphics

<ESC> <FS> “p” n m

1B 1C 70 n m

Print NV bit image

<ESC> “&” ”1” ”1”

n m1 m2 … m48

1B 26 31 31 n

m1 m2 … m48

<ESC> “&” <1> <1>

n m1 m2 … m48

1B 26 01 01

n m1 m2 … m48

Define download character

<ESC> “&” ”1” ”0” n

1B 26 31 30 n

<ESC> “&” <1> <0> n

1B 26 01 00 n

Delete a download character

<ESC> “%” “1”

<ESC> “%” <1>

1B 25 31

1B 25 01

Enable download character set

<ESC> “%” “0”

<ESC> “%” <0>

1B 25 30

1B 25 00

Disable download character set

<ESC> <GS> “*” xy

1B 1D 2A 78 79

Definition of download bit

image

<ESC> <GS> “/” m

1B 1D 2F 6D

Printing of download bit image

<ESC> <BEL> n1 n2

1B 07 n1 n2

Define drive pulse width for

peripheral device #1.

<BEL> 07 Control

peripheral device #1


Advertising