POSIFLEX Business Machines PP3000 manual Esc Sp

Page 56

TM

CHAP. 7

CONTR

These control codes are applicable in serial interface only.

Control Codes

 

Hex Codes

Function

 

 

HT

 

<09>

Horizontal tab

 

LF

 

<0A>

Print and line feed

 

CR

 

<0D>

Print and carriage return

ESC SP

<1B> <20> “n

Set right side character spacing

ESC !

<1B> <21> “n

Set printer mode (Font select)

ESC %

 

<1B> <25> “n

Set/cancel

the

user-defined

 

character set

 

 

 

 

 

 

 

 

 

<1B> <26> “y” “c1

Define user-defined character set

ESC &

ƒ

c2” [<x> <d1>

(max. 10 characters)

 

 

 

<d(yxx)>]c2-c1+1

 

 

 

ESC *

 

<1B> <2A> “m” “nL

Select bit image mode

 

 

nH” [<d>]k

 

 

 

ESC 2

 

<1B> <32>

Set 1/6 inch line space

ESC 3

 

<1B> <33> “n

Set line spacing

 

ESC @

 

<1B> <40>

Initialize printer

 

ESC D

 

<1B> <44> [<n>]k

Set horizontal tab positions

 

<00>

 

 

 

 

 

ESC J

 

<1B> <4A> “n

Print and feed paper

 

ESC R

<1B> <52>

Select an international character

set

 

 

 

 

 

 

 

ESC U

 

<1B> <55> “n

Turn uni-directional printing

 

mode on/off

 

 

 

 

 

 

 

ESC c 5

 

<1B> <63> <35> “n

Enable/disable panel button

 

 

 

 

 

ESC d

 

<1B> <64> “n

Print and feed n lines

ESC p

 

<1B> <70> “m” “t1

Generate

pulse

(peripheral

 

t2

device)

 

 

 

 

 

 

ESC t

<1B> <74>

Select character code table

ESC {

 

<1B> <7B>

Turn upside-down printing mode

 

on/off

 

 

 

 

 

 

 

ESC u

<1B> <73>

Transmit peripheral device status

ESC v

<1B> <76>

Transmit paper sensor status

ESC =

<1B> <3D> “n

Select peripheral device

7 - 6

Image 56
Contents POS Printer Manual Rev.BWarranty Limits CE manufacturerEC Council Directive 89/336/EEC of 3 May About This ManualPage Page Table of Contents Data Structure in Serial Interface · · · · · · · · · · Iii Other Control Codes · · · · · · · · · · · · · · · · · 7 Appendix C Page General Description Overview Model NumbersFeatures Unpacking Contents Basic MountingMounting printer to PST For Other System Cable ConnectionsLoading Ribbon Cartridge Cable connection examplesLoading ribbon cartridge Loading Paper OFFGrooves on paper guide shaft Removing The Roll Paper Putting spacer to roll paper shaftOn Line switch Feed switchPower LED green Alarm LED redLocations of switches and LED’s Self Print TestSelf print sample Hexadecimal Dump Mode Clear Print BufferMicro Feed Validation PrintingOperation Method Validation printingPrinting Format Data FormatPaper Format Other ConsiderationsPeripheral Unit Drive Circuit Telephone jack and plug for peripheral unit driveChap OPERA… Block Diagram Circuit block diagramCircuitry Layout & Connectors Board layoutCN9 Printer power input connector Serial Interface Switch Jumpers & SwitchesJumper Setting Interface Select USA OFFON/ OFF DIP-SW DIP-SW Mode Address selection for addressable mode #10 #11 #12 #13 #14Character code table DIP-SW3Parallel Interface Switch DIP-SW1DIP-SW DTR Mode Data Structure in Serial InterfaceON/X-OFF Mode Mechanical errorStatus STX-ETX Mode RET Chap TECHN… Interface Parallel InterfaceBusy Serial Interface Peripheral Unit DrivePower Supply Option ListFont Matrices CaseCharacter size 15 CPI 12 CPI CPICommands External DimensionsWeight Operating EnvironmentCleaning Paper JAMTrouble Shooting Control Codes Hex Codes Function Star Compatible ModeControl Codes for Character Setting Control Codes for Line Spacing Control Codes for Page LayoutControl Codes for Graphics Printing Control Codes for Download CharactersControl Codes for Peripheral Units Other Control CodesBasic Reference Hardware Modification RequiredReference Epson Models Emulated Character Size/Font MatricesUnsupported Control Codes Supported Control CodesESC SP APP. a Star … Function Line feed Codes HEX/CONTROL 07 / BELCodes HEX/CONTROL 09 / HT Codes HEX/CONTROL 0A / LFCodes HEX/CONTROL 0C / FF Codes HEX/CONTROL 0D / CRCodes HEX/CONTROL 0E / SO Codes HEX/CONTROL 0F / SIFunction Cancel inverted print mode Codes HEX/CONTROL 12 / DC2Codes HEX/CONTROL 18 / can Codes HEX/CONTROL 13 / DC3Codes HEX/CONTROL 14 / DC4 Function Immediate drive command for peripheral unit Definition Range 1 ≤ n1 ≤ 127, 1 ≤ n2 ≤Codes HEX/CONTROL 19 / EM Codes HEX/CONTROL 1A / SUBAPP. a Star … Codes HEX/CONTROL 1B 26 00 n1 n2 / ESC & 0 n1 n2 APP. a Star … Codes Definition Range 1 ≤ n ≤Codes HEX/CONTROL 1B 40 / ESC @ Function Initialize printer Codes HEX/CONTROL 1B 3A / ESCFunction Select 8 CPI character size Definition Range 0 ≤ n ≤ 85 Default n = Definition Range 1 ≤ n1 … nk ≤ 255, 1 ≤ k ≤Function Select emphasized print mode Function Cancel emphasized print modeDefinition Range 1 ≤ n1 … nk ≤ 39, 1 ≤ k ≤ Codes HEX/CONTROL 1B 45 / ESC EDefinition Range 1 ≤ n1 ≤ Definition Range 1 ≤ n1 + 256 x n2 ≤Codes HEX/CONTROL 1B 4B n1 00 / ESC K n1 Function 8 dot single density bit imageDefinition Range 0 ≤ n ≤ 255 Default n = Detail Description Cancel bottom marginCodes HEX/CONTROL 1B 4D / ESC M Codes HEX/CONTROL 1B 4F / ESC OFunction Select 12 CPI character size Definition Range 00H ≤ n ≤ 0AHCodes HEX/CONTROL 1B 50 / ESC P Codes Function Detail Description Cancel overline mode Detail Description Cancel vertical expanded character mode Definition Range 0 ≤ n ≤ right margin Function Set left marginCodes HEX/CONTROL 1C / FS Codes HEX/CONTROL 1E / RS Function Sound buzzer