Star Micronics SP300 manual Left end Printing area Left margin n Right margin n columns

Page 43

FUNCTION

CODE

OUTLINE

FUNCTION

CODE

DEFINITION RANGE

OUTLINE

Cancel bottom margin

<ESC> “O” (1B)H (4F)H

Cancels bottom margin.

Set left margin

<ESC> “1” n (1B)H (6C)H n

0 n (right margin –2)

Sets the left margin at column n in the current character pitch. The left margin does not move if the character pitch is changed later. The left margin must be at least two columns to the left of the right margin and within the limits above.

FUNCTION

CODE

DEFINITION RANGE

OUTLINE

Set right margin

<ESC> “Q” n (1B)H (51)H n

2 n (maximum no. of print columns)

Sets the right margin at column n in the current character pitch. Column n becomes the last character position the line. The right margin does not move if the character pitch is changed later. The right margin must be within the limits above.

Left end

Printing area

Left margin n

Right margin n columns

– 39 –

Image 43
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 Parity bit Odd, even or none Interface SpecificationsTo Installation Manual Selectable. Refer to InstallationInput TTY-RXD, TTY-RXDR Output DTR, FAULT, TXD, RCH, RTSInterface Circuit Input RXD, CTSOutput 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 Logic level Compatible with TTL level Handshaking Busy signalsInterface Timing PulsesTypical interface circuit Amphenol 57-30360 connector This connector mates with anEmergency Suspension This printer can print one line of validation printing Operating MethodGS data LF Printing FormatData format OtherOther position to be observed Cutting MethodCutting position Auto cutting control codesControl Codes Used for Line Spacing Control Codes Used for Character SettingControl Code Used for Graphics Printing Control Codes Used for Page LayoutControl Codes Used for Download Characters 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