beautypg.com

Star Micronics Line Thermal Printer User Manual

Page 2

background image

―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――

STAR Line Mode Command Specifications

1

Table of Contents

1.

INTERFACE CONFIGURATION.........................................................................................................................1-1

1.1.

RS-232 Serial Interface ..............................................................................................................................1-1

1.1.1.

Specifications (Conforming to RS-232) ......................................................................................................1-1

1.1.2.

Signal array and explanations according to interface connector pin ......................................................1-1

1.1.3.

Communication Protocol ............................................................................................................................1-2

1.2.

Parallel Interfaces (Amphenol 36 pins).......................................................................................................1-4

1.2.1.

Specifications (Conforming to IEEE1284) ..............................................................................................1-4

1.2.2.

Signal array and explanations according to interface connector pin ..........................................................1-4

1.2.3.

Signal Output Timing ..................................................................................................................................1-5

1.2.4.

Status Specification ....................................................................................................................................1-5

1.3.

USB Interface.............................................................................................................................................1-6

1.4.

Ethernet Interface.......................................................................................................................................1-6

1.5.

Wireless LAN Interface...............................................................................................................................1-6

2.

COMMAND FUNCTION LIST.............................................................................................................................2-1

3.

COMMAND DETAILS .........................................................................................................................................3-1

3.1.

Explanation of Terms..................................................................................................................................3-1

3.2.

Exception Processing.................................................................................................................................3-2

3.3.

Standard Command Details .......................................................................................................................3-3

3.3.1.

Font style and Character Set......................................................................................................................3-3

3.3.2.

Character Expansion Settings ..................................................................................................................3-11

3.3.3.

Print Mode................................................................................................................................................3-15

3.3.4.

Line Spacing.............................................................................................................................................3-19

3.3.5.

Page Control Commands .........................................................................................................................3-22

3.3.6.

Horizontal Direction Printing Position .......................................................................................................3-26

3.3.7.

Download .................................................................................................................................................3-31

3.3.8.

Bit Image Graphics...................................................................................................................................3-33

3.3.9.

Logo .........................................................................................................................................................3-37

3.3.10.

Bar Code..............................................................................................................................................3-41

3.3.11.

Cutter Control.......................................................................................................................................3-43

3.3.12.

External Device Drive...........................................................................................................................3-44

3.3.13.

Print Settings........................................................................................................................................3-50

3.3.14.

Status ...................................................................................................................................................3-52

3.3.15.

Chinese Characters .............................................................................................................................3-55

3.3.16.

Others ..................................................................................................................................................3-59

3.4.

Raster Graphics Command Details ..........................................................................................................3-64

3.5.

Black Mark Related Command Details.....................................................................................................3-79

3.6.

USB Related Command Details ...............................................................................................................3-83

3.7.

2 Color Printing Command Details ...........................................................................................................3-84

3.8.

Presenter Related Command Details .......................................................................................................3-93

3.9.

Mark Command Details............................................................................................................................3-96

3.10.

AUTO LOGO Function Command Details ..............................................................................................3-101

3.11.

Two-dimensional Bar Code PDF417 Command Details.........................................................................3-110

3.12.

Details of the Print Starting Trigger Control Command...........................................................................3-115

3.13.

Two-Dimensional Bar Code QR Code Command Details ......................................................................3-116

3.14.

Page Function Command Details...........................................................................................................3-123

4.

CHARACTER CODE TABLES............................................................................................................................4-1

5.

APPENDIX .........................................................................................................................................................5-1

5.1.

Appendix 1: Bar Code Specification Details ...............................................................................................5-1

5.1.1.

Code 39......................................................................................................................................................5-1

5.1.2.

Interleaved 2 of 5 ...................................................................................................................................5-1

5.1.3.

JAN/EAN/UPC ...........................................................................................................................................5-2

5.1.4.

Code 128....................................................................................................................................................5-3

5.1.5.

Code 93......................................................................................................................................................5-5

5.1.6.

NW7 (CODERBAR)....................................................................................................................................5-5