Star Micronics SP300 manual 10 × n1 ms 10 × n2 ms Printing and paper feed are prohibited

Page 53

7-6. Control Codes Used for Peripheral Units

FUNCTION

CODE

DEFINITION RANGE

OUTLINE

Adjust drive pulse width for peripheral unit 1

<ESC> <BEL> n1 n2 (1B)H (07)H n1 n2

1 n1 127, 1 n2 127 (default setting n1 = n2 = 20)

Adjusts drive pulse width for peripheral devices requiring other than standard 200 ms pulse time and delay time Energizing time = 10 × n1 (ms)

Delay time = 10 × n2 (ms) Executed by <BEL>, <FS> codes.

ON

OFF

 

 

10 × n1 (ms)

 

 

10 × n2 (ms)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Printing and paper feed are prohibited.

NOTE

FUNCTION

CODE

OUTLINE

FUNCTION

CODE

OUTLINE

Adjustment is not necessary for standard cash drawers in the U.S.A. market.

Deferred drive command for peripheral unit 1

<BEL> (07)H

Executes drive pulse for peripheral unit 1 (deferred).

Immediate drive command for peripheral unit 1

<FS> (1C)H

Executes drive pulse for peripheral unit 1 (immediate). This code differs from the <BEL> code as follows:

When the printer receives an <FS> code, the command is executed immediately. The <BEL> code is stored in the data buffer in the same manner as other codes, and executed in the order in which they are received.

– 49 –

Image 53
Contents Dot Matrix Printer SP300 Series Programmer’s Manual Page Table of Contents IBM Character Set #1 DIP SW2-1 OFF, SW2-2 on Basic Operation LED flashes Validation printing mode is setSelf Print Test Switch Operation Combined Switch OperationMicro Feed Feed + on Line + Power on Page Page To Installation Manual Interface SpecificationsSelectable. Refer to Installation Parity bit Odd, even or noneInterface Circuit Output DTR, FAULT, TXD, RCH, RTSInput RXD, CTS Input TTY-RXD, TTY-RXDROutput SD, CS Input RD, RSRS-232C Connectors and SignalsRS-422A option MA current loop optionExample of interface connections for IBM PC Interface ConnectionsInstalling the optional interface board Installing the Optional Interface BoardData Structure DTR modeDTR Mark DTR Space This mode accessed when the DIP switch 3-5 is OFF ON/X-OFF modeOFF Status STX-ETX mode Page STX-ETX mode flow diagram for host computer Interface Timing Handshaking Busy signalsPulses Logic level Compatible with TTL levelTypical interface circuit Amphenol 57-30360 connector This connector mates with anEmergency Suspension This printer can print one line of validation printing Operating MethodData format Printing FormatOther GS data LFCutting position Cutting MethodAuto cutting control codes Other position to be observedControl Codes Used for Line Spacing Control Codes Used for Character SettingControl Codes Used for Download Characters Control Codes Used for Page LayoutControl Code Used for Graphics Printing Other Control Codes Control Codes Used for Peripheral UnitsFunction Function Function Function Control Codes Used for Line Spacing Control Codes Used for Page Layout Set 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 Definition of download characters When the 5 × 9 font is setCode 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 03H ETXFunction U.S.A. & Europe DIP SW2-1 ON, SW2-2 on Character Code TablesPage 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