Star Micronics SP300 Series manual Definition of download characters, When the 5 × 9 font is set

Page 50

7-5. Control Codes Used for Download Characters

FUNCTION

CODE

DEFINITION RANGE

OUTLINE

Definition of download characters

When the 7 × 9 (half dot) font is set (default setting): <ESC> “&” <0> n1 n2 [m0 m1 m2 m3 m4 m5 m6 m7]

n2 n1 + 1

(1B)H (26)H (00)H n1 n2 [m0 m1 m2 m3 m4 m5 m6 m7]

n2 n1 + 1

When the 5 × 9 font is set:

<ESC> “&” <0> n1 n2 [m0 m1 m2 m3 m4 m5] n2 n1+ 1 (1B)H (26)H (00)H n1 n2 [m0 m1 m2 m3 m4 m5] n2 n1+ 1

(21)H n1 n2 (7F)H, m0 = (00)H or m0 = (80)H

Defines download characters

Up to 10 download characters can be defined and the defined character patterns can be stored in the printer’s RAM. Defining of download characters begins with character code n1 and completes with n2. When only one character is defined, n1 = n2.

m0 indicates the relationship between the character pattern and print head.

m1 = m2...Indicate the character pattern

 

 

 

 

When m0=(00)H

 

 

 

 

 

 

 

 

 

When m0=(80)H

 

 

 

 

 

 

 

 

MSB

 

LSB

 

 

 

 

MSB

 

LSB

Pin No.

D8

D7

D6

D5

D4

D3

D2

D1

 

Pin No.

D8

D7

D6

D5

D4

D3

D2

D1

1

 

(Not Used)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

3

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

3

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

4

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

4

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

5

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

5

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

6

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

6

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

7

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

7

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

8

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

8

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

9

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

9

 

(Not Used)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

NOTE

When the 7 × 9 (half dot) font is set (the default setting), printing of adjacent horizontal dots is not allowed.

Printing possible

Printing not possible

m2 m4 m6

m1 m3 m5 m7

D8

D7

D6

D5

D4

D3

D2

D1

 

 

m2

m4

m6

 

 

 

 

m1

m3

m5

m7

 

 

Over lapping

 

 

 

 

 

 

 

 

 

 

 

D8

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

horizontally

D7

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

D6

 

 

 

 

 

 

 

 

 

 

 

D5

 

 

 

 

 

 

 

 

 

 

 

D4

 

 

 

 

 

 

 

 

 

 

 

D3

 

 

 

 

 

 

 

 

 

 

 

D2

 

 

 

 

 

 

 

 

 

 

Over lapping

D1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

horizontally

 

 

 

 

 

 

 

 

 

 

 

– 46 –

Image 50
Contents Dot Matrix Printer SP300 Series Programmer’s Manual Page Table of Contents IBM Character Set #1 DIP SW2-1 OFF, SW2-2 on LED flashes Validation printing mode is set Basic OperationSwitch Operation Combined Switch Operation Self Print TestMicro Feed Feed + on Line + Power on Page Page Selectable. Refer to Installation Interface SpecificationsTo Installation Manual Parity bit Odd, even or noneInput RXD, CTS Output DTR, FAULT, TXD, RCH, RTSInterface Circuit Input TTY-RXD, TTY-RXDRInput RD, RS Output SD, CSConnectors and Signals RS-232CMA current loop option RS-422A optionInterface Connections Example of interface connections for IBM PCInstalling the Optional Interface Board Installing the optional interface boardDTR mode Data StructureDTR Mark DTR Space ON/X-OFF mode This mode accessed when the DIP switch 3-5 is OFFOFF Status STX-ETX mode Page STX-ETX mode flow diagram for host computer Pulses Handshaking Busy signalsInterface Timing Logic level Compatible with TTL levelTypical interface circuit This connector mates with an Amphenol 57-30360 connectorEmergency Suspension Operating Method This printer can print one line of validation printingOther Printing FormatData format GS data LFAuto cutting control codes Cutting MethodCutting position Other position to be observedControl Codes Used for Character Setting Control Codes Used for Line SpacingControl Codes Used for Download Characters Control Codes Used for Page LayoutControl Code Used for Graphics Printing Control Codes Used for Peripheral Units Other Control CodesFunction Function Function Function Control Codes Used for Line Spacing Set 1/8-inch line feed ESC 0 1BH 30H Sets page length at n inchesSet vertical tab positions Left end Printing area Left margin n Right margin n columns Set horizontal tab position Control Codes Used for Graphics Printing Set n/216-inch line feed simulation ESC 3 n 1BH 33H n Example Printing Possible Code Outline When the 5 × 9 font is set Definition of download charactersCode Outline Example Example of transmitting data 10 × n1 ms 10 × n2 ms Printing and paper feed are prohibited Other Control Codes Function Initialize printer ESC @ 1BH 40H ETX 03HFunction Character Code Tables U.S.A. & Europe DIP SW2-1 ON, SW2-2 onPage IBM Character Set #1 DIP SW2-1 OFF, SW2-2 on Page IBM Character Set #2 DIP SW2-1 ON, SW2-2 OFF Page Japan DIP SW2-1, OFF, SW2-2 OFF Page International Character Sets Memo Page Overseas Subsidiary Companies Star Micronics AMERICA, INC