POSIFLEX Business Machines PP3000 manual Codes HEX/CONTROL 1B 26 00 n1 n2 / ESC & 0 n1 n2

Page 64

TM

APP. A STAR

CODES (HEX/CONTROL) : 1B 26 00 n1 n2 / <ESC> “&” <0> n1 n2

When 15 CPI character size is set (default setting), the detail of the code is :

1B 26 00 n1 n2 [m0 m1 m2 m3 m4 m5 m6 m7](n2-n1+1) / <ESC> “&” <0> n1 n2 [m0 m1 m2 m3 m4 m5 m6 m7](n2-n1+1)

When 8 CPI or 12 CPI character size is set, the detail of the code is :

1B 26 00 n1 n2 [m0 m1 m2 m3 m4 m5](n2-n1+1) / <ESC> “&” <0> n1 n2 [m0 m1

m2 m3 m4 m5](n2-n1+1)

FUNCTION : Definition of download characters

DEFINITION RANGE : 21H n1 n2 7FH, m0 = 00H or 80H

APPLICATION LIMIT : When the 15 CPI character size is set (the default setting), printing of adjacent horizontal dots is not allowed.

DETAIL DESCRIPTION : Defines download characters from host computer. Up to 10 download characters can be defined and the defined character patterns can be stored in the printer’s memory. Definitions of the variables in the command code are as follows:

n1 and n2 represent the starting address and the ending address of the range of download characters respectively. When defining only one character, n1 = n2.

Each set of m0 to m7 (for 7 x 9 fonts) or m0 to m5 (for 5 x 9 fonts) defines one download character. However, only either top 8 or bottom 8 print pins out of total 9 print pins of the print head can be used. m0 defines which set of pins to be used.

m1 to m7 or m1 to m5 indicates each column of the download character pattern consecutively. Each bit in m1 to m7 or m1 to m5 defines a dot within that column to be printed (in vertical position). The relationship of each bit with each print pin combined with m0 can be illustrated in the following table, where the print pin # starts count at 1 from top of the print head:

bit # of m1 to m7 or m1 to m5

8 (MSB)

7

6

5

4

3

2

1 (LSB)

 

 

 

 

 

 

 

 

 

engage print pin # (when m0 = 00h)

2

3

4

5

6

7

8

9

 

 

 

 

 

 

 

 

 

engage print pin # (when m0 = 80h)

1

2

3

4

5

6

7

8

For example, the following hexadecimal codes received under 12 CPI will define the characters at addresses A0h, A1h and A2h to be like the graphs below when selected:

1B 26 00 A0 A2 80 F8 A8 FF A8 F8 80 46 49 51 61 43 00 31 06 F8 06 31

A0: A1: A2:

A - 8

Image 64
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 Jumper Setting Interface Select Jumpers & SwitchesSerial Interface Switch ON/ OFF DIP-SW OFFUSA 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 for Character Setting Star Compatible ModeControl Codes Hex Codes Function 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 14 / DC4 Codes HEX/CONTROL 13 / DC3Codes HEX/CONTROL 18 / can 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 ≤Function Select 8 CPI character size Codes HEX/CONTROL 1B 3A / ESCCodes HEX/CONTROL 1B 40 / ESC @ Function Initialize printer 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 OCodes HEX/CONTROL 1B 50 / ESC P Definition Range 00H ≤ n ≤ 0AHFunction Select 12 CPI character size 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