Star Micronics SP300 Series ON/X-OFF mode, This mode accessed when the DIP switch 3-5 is OFF

Page 20

[Framing error]

A framing error occurs when SPACE is detected at the stop bit. When a framing error or a vertical parity error occurs for the data which is received, the printer prints out a “?” mark to indicate that the error occurred.

[Compulsion switch]

When pin 6 of the peripheral unit drive circuit connector is set “HIGH”, status bit 7 becomes “1”.

2-6-2. X-ON/X-OFF mode

This mode accessed when the DIP switch 3-5 is OFF.

 

X–OFF

X–OFF

 

X–ON

X–OFF

X–OFF X–ON

X–OFF

X–OFF X–ON

TXD

RXD

 

Data

 

 

 

Printing

Paper out signal

ON

ON LINE lamp OFF

Power ON

DataData

Paper out

Load paper and press

 

the ON LINE switch.

If printer errors do not occur after the power is turned on, the printer outputs an X-ON (DC1 by control code; 11H by hexadecimal data) signal on the TXD signal line which sends it to the host computer. When the host computer receives the X- ON signal, the host computer transmits the data to the RXD signal line for the printer. If data text is not sent from the host computer (even after transmitting the X-ON signal to the host computer), the printer outputs an X-ON signal at 3 second intervals until the printer receives data.

The printer starts outputting an X-OFF (DC3, 13H) signal when the empty space in the buffer reduces below 256 bytes. When the host computer receives the X- OFF signal, it halts output of data. (however, the printer can continue receiving data until the buffer becomes completely full.)

Output of the X-ON signal is resumed when the data in the buffer is printed out and drops to below 256 bytes.

– 16 –

Image 20
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 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