Star Micronics SP300 Series manual Example of transmitting data

Page 52

Data

Binary

Hexa-

decimal

 

 

 

m1

10100000

A0

m2

00000000

00

 

 

 

m3

10100000

A0

 

 

 

m4

00011111

1F

m5

10100000

A0

 

 

 

m6

00000000

00

m7

10100000

A0

 

 

 

Data

Binary

Hexa-

decimal

 

 

 

m1

10011000

98

m2

01100100

64

 

 

 

m3

10000010

82

 

 

 

m4

00000001

01

m5

10000010

82

 

 

 

m6

01100100

64

m7

10011000

98

 

 

 

Data

Binary

Hexa-

decimal

 

 

 

m1

00111000

3C

m2

01000010

42

 

 

 

m3

10100101

A5

 

 

 

m4

00000000

00

m5

10100101

A5

 

 

 

m6

01000010

42

m7

00111000

3C

 

 

 

Example of transmitting data

(1)

Definition of down-

(1B)H (26)H

(00)H

(21)H

(23)H (80)H

 

load characters

(A0)H (00)H (A0)H

(1F)H (A0)H (00)H

 

 

(A0)H (80)H

(98)H

(64)H

(82)H (01)H

 

 

(82)H (64)H

(98)H

(80)H

(3C)H (42)H

 

 

(A5)H (00)H

(A5)H (42)H

(3C)H

 

 

 

 

 

 

(2)

Selecting the down-

(1B)H (25)H

(31)H

 

 

 

load character set

 

 

 

 

 

 

 

 

 

(3)

Character codes

(21)H (22)H

(23)H (0A)H

 

 

 

 

 

 

 

(4)

Canceling the down-

(1B)H (25)H

(30)H

 

 

 

load character set

 

 

 

 

 

 

 

 

 

 

(5)

Character codes

(21)H (22)H

(23)H

(0A)H

 

 

 

 

 

 

 

Printing Samples

– 48 –

Image 52
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 Interface Specifications To Installation ManualSelectable. Refer to Installation Parity bit Odd, even or noneOutput DTR, FAULT, TXD, RCH, RTS Interface CircuitInput RXD, CTS 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 Handshaking Busy signals Interface TimingPulses 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 printingPrinting Format Data formatOther GS data LFCutting Method Cutting positionAuto cutting control codes Other position to be observedControl Codes Used for Character Setting Control Codes Used for Line SpacingControl Code Used for Graphics Printing Control Codes Used for Page LayoutControl Codes Used for Download Characters 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