Star Micronics SP2000 manual Print Sample

Page 28

Print Sample

FUNCTION

CODE

DEFINITION RANGE

OUTLINE

First, since the volume of data is 30, n1 = (1E)H. If the data m1 to

m30 is converted to hexadecimal, it appears as shown below.

Data

Binary

Hex

 

Data

Binary

Hex

 

Data

Binary

Hex

m1

00000001

01

 

m11

00111110

3E

 

m21

00111110

3E

m2

00011110

1E

 

m12

00000010

02

 

m22

00101110

2E

m3

00111110

3E

 

m13

00000010

02

 

m23

00101110

2E

m4

01011111

5F

 

m14

00111110

3E

 

m24

00111110

3E

m5

00011111

1F

 

m15

00111110

3E

 

m25

00101111

2F

m6

01011110

5E

 

m16

00101111

2F

 

m26

00101111

2F

m7

00011110

1E

 

m17

00101111

2F

 

m27

00111110

3E

m8

00111111

3F

 

m18

00111110

3E

 

m28

00111110

3E

m9

00101111

2F

 

m19

00101110

2E

 

m29

00000010

02

m10

00111110

3E

 

m20

00101110

2E

 

m30

00000010

02

8 dot high density graphics

<ESC> "L" n1 n2 m1 m2...

(1B)H (4C)H n1 n2 m1 m2...

1 <= n1 + 256 X n2 <= 420 (DIP SW 1-5 = ON))

1 <= n1 + 256 X n2 <= 400 (DIP SW 1-5 = OFF)

Executes double density bit image printing (half-dot printing)

determined by "n1" and "n2". The total number of bit image data bytes in one line is equal to n1 + n2 X 256. Refer to <ESC> K as to the relation between the dot position and the bit number. The printer ignores any data bytes over the specified amount allowed in one line. Pringing is uni-directional.

The printer does not print adjacent dots. When the bit image printing is finished, the printer automatically returns to the character mode.

26

Image 28
Contents Dot Matrix Printer SP2000 Series Programmer’s Manual Table of Contents Control Codes Star Mode Control Hexadecimal Function CodesESC W Print Position Control Dot Graphics Control Auto Cutter Control SP2500 type printers only Other Commands Control Code Details Function Value of n Character Table Hex Dec DSW 1 Digits Per Line Function Code Function Function Value Rotation Specification Function MSW FF Command Function SP2520/2560 Ptint Position ControlCR Code Function Code Function Function Function ABC Code Example Print Sample M2 m4 m6 m8 m10 M1 m3 m5 m7 m9 m11 MSB LSB Char. Code = 21H Char. Code = 22H Char. Code = 23H Example of transmitting data 10 x n1 ms 10 x n2 ms SUB Auto Cutter Control SP2500 type printers only Function Command to Set the Page Format Cancels printer buffer & Initialize printer Code HEX Outline Country N4 CountryPaper near end sensor Comdex dual auto-cutter Paper near end sensorValue of n Character Table Parameter Setting CR code See below CR codePara Setting Treatment of missing data during reverse mode EOT ENQ ETB Value of n Hex ESC/POS Mode Commands Control Hexadecimal Function Codes U200 U300ESC R Ignored Commands Auto Status Specifications Header 1 First Byte Bit Content Status Header 2 Second Byte Bit Content Status Printer Status Printer Status 5 Sensor Information Seventh Byte Method to Identify States Control Code Reception Data Appendix Character Code Tables Star Mode Character table IBM Character set #2 Code Character table Katakana Character table IBM Character set #1 Star Mode Star Mode Code Page #855 Cyrillic Bulgarian Star Mode Code Page #772 Lithuanian Code Page #774 Lithuanian Code Page #874 Thai Star Mode Star Mode Star Mode Star Mode Star Mode ESC/POS Mode ESC/POS Mode 1 Katakana 2 PC858 Multilingual 3 PC860 Portuguese 4 PC863 Canadian-French 5 PC865 Nordic ESC/POS Mode
Related manuals
Manual 170 pages 46.11 Kb