Star Micronics SP300 Series manual Other Control Codes

Page 54

FUNCTION

CODE

OUTLINE

NOTE

FUNCTION

CODE

OUTLINE

NOTE

Immediate drive command for peripheral unit 2

<SUB> (1A)H

Drives peripheral unit 2. Pulse width is fixed at 200ms with a fixed delay time of 200 ms.

When the printer receives a <SUB> code, the command is executed immediately. Same as <EM>

Peripheral units 1 and 2 cannot be driven simultaneously.

Immediate drive command for peripheral unit 2

<EM> (19)H

Dives peripheral unit 2. Pulse width is fixed at 200 ms with a fixed delay time of 200 ms.

When the printer receives a <EM> code, the command is executed immediately. Same as <SUB>.

Peripheral units 1 and 2 cannot be driven simultaneously.

7-7. Other Control Codes

FUNCTION

CODE

OUTLINE

FUNCTION

CODE

OUTLINE

Sound buzzer

<RS> (1E)H

A short alarm is generated by the printer.

Cancel print data in buffer & Initialize printer

<CAN> (18)H

Clears the data buffer and line buffer and initializes (<ESC> “@”) all commands already set. However, the following parameters are not initialized: external device drive pulse width setting, operation switch valid/invalid selection, online switch valid/invalid selection.

For a serial interface printer, the select/deselect state for addressable mode and DC1/DC3 mode is not affected.

In STX-ETX mode, this CAN code clears the data between STX and ETX and the line buffer, but does not initialize the commands.

– 50 –

Image 54
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 Page Layout Control Code Used for Graphics PrintingControl 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