background image

Chapter  4  Software  Utilities 

PA-3211 SERIES USER MANUAL

 

Page: 4-33

 

GS B n 

[Name] 

Turn white/black reverse printing mode on/off 

[Format] 

ASCII 

  GS    B    n 

Hex. 

  1D    42    n 

Decimal    29    66    n 

[Range] 

≤ n ≤ 255 

Initial Value    n = 0 

[Description] 

Specifies or cancels black and white inverted printing. 

Cancels black and white inverted printing when n = <*******0>B.

Specifies black and white inverted printing when n = <*******1>B.

n is effective only when it is the lowest bit.

Internal characters  and  download  characters  are  targeted  for  black  and

white inverted printing.

This command is effective for ANK and Chinese characters.

GS H n 

[Name] 

Select printing position of HRI characters. 

[Format] 

ASCII 

  GS    H    n 

Hex. 

  1D    48    n 

Decimal    29    72    n 

[Range] 

≤ n ≤ 3, 48 ≤ n ≤ 51 

Initial Value    n = 0 

[Description] 

Selects the printing position of HRI characters when printing bar codes. 

Printing Position 

0, 48 

No print 

1, 49 

Above bar code 

2, 50 

Below bar code 

3, 51 

Above and below bar code(both) 

Содержание PA-3211

Страница 1: ...USER MANUAL PA 3211 10 1 POS Terminal Powered by ARM Cortex A 9 Processor PA 3211 M1...

Страница 2: ...or transmit in any form or by any means electronic or mechanical including photocopying and recording DISCLAIMER This user s manual is meant to assist users in installing and setting up the system The...

Страница 3: ...rference at his own expense You are cautioned that any change or modifications to the equipment not expressly approve by the party responsible for compliance could void your authority to operate such...

Страница 4: ...iew 2 4 2 2 4 Bottom View 2 5 2 2 5 Quarter View 2 5 2 2 6 Side View 2 6 2 3 System Views With i Button Module 2 7 2 3 1 Front View 2 7 2 3 2 Rear View 2 7 2 3 3 Top View 2 8 2 3 4 Bottom View 2 9 2 3...

Страница 5: ...3 5 8 MicroSD Port 3 13 3 5 9 Micro USB Port 3 13 3 6 Setting Main Board Connectors and Jumpers 3 14 3 6 1 UART Port Voltage Selection JP_COM0 JP_COM1 JP_COM2 JP_COM3 JP_COM5 3 14 3 6 2 External USB...

Страница 6: ...26 Cash Drawer Power Selection 3 33 3 7 Printer Board Component Locations Pin Assignment 3 34 3 7 1 Printer Board MB 1030 series 3 34 3 7 1 1 Jumper Connector Quick Reference Table 3 35 3 7 2 Setting...

Страница 7: ...30 4 2 4 1 1 1 Commands List 4 2 4 1 1 2 VFD MB 4103 RS 232 4 48 4 1 1 3 Commands List 4 48 4 2 API 4 50 4 2 1 API Package Content 4 50 4 2 2 Programming Guide 4 51 4 2 3 API Reference 4 52 4 2 3 1 Ca...

Страница 8: ...System Exploded Diagram A 3 Exploded Diagram For MSR Module A 9 Exploded Diagram For 3 Inch Printer 1 A 10 Exploded Diagram For 3 Inch Printer 2 A 12 Exploded Diagram For 2 Inch Printer 1 A 13 Explod...

Страница 9: ...vi Revision History The revision history of PA 3211 User Manual is described below Version No Revision History Page No Date M1 Initial Release 2017 10 05...

Страница 10: ...3211 SERIES USER MANUAL Page 1 1 1 Introduction This chapter provides the introduction for the PA 3211 system as well as the framework of the user manual The following topic is included About This Man...

Страница 11: ...ter 1 Introduction This chapter introduces the framework of this user manual Chapter 2 Getting Started This chapter describes the package contents and system specifications and illustrates the physica...

Страница 12: ...211 system It describes how to set up the system quickly and outlines the system specifications The following topics are included Package List System Overview System Diagrams System Specification Safe...

Страница 13: ...the items listed below are damaged or lost please contact your local distributor immediately Item Q ty PA 3211 1 Manual Driver DVD 1 Quick Reference Guide 1 AC Power Cord Optional 1 MSR Card Reader Op...

Страница 14: ...Chapter 2 Getting Started PA 3211 SERIES USER MANUAL Page 2 3 2 2 System Views Without i Button Module 2 2 1 Front View Unit mm 2 2 2 Rear View...

Страница 15: ...Chapter 2 Getting Started PA 3211 SERIES USER MANUAL Page 2 4 2 2 3 Top View...

Страница 16: ...Chapter 2 Getting Started PA 3211 SERIES USER MANUAL Page 2 5 2 2 4 Bottom View 2 2 5 Quarter View...

Страница 17: ...Chapter 2 Getting Started PA 3211 SERIES USER MANUAL Page 2 6 2 2 6 Side View Unit mm 147 75...

Страница 18: ...Chapter 2 Getting Started PA 3211 SERIES USER MANUAL Page 2 7 2 3 System Views With i Button Module 2 3 1 Front View 2 3 2 Rear View...

Страница 19: ...Chapter 2 Getting Started PA 3211 SERIES USER MANUAL Page 2 8 2 3 3 Top View...

Страница 20: ...Chapter 2 Getting Started PA 3211 SERIES USER MANUAL Page 2 9 2 3 4 Bottom View 2 3 5 Quarter View...

Страница 21: ...Chapter 2 Getting Started PA 3211 SERIES USER MANUAL Page 2 10 2 3 6 Side View 147 75...

Страница 22: ...icro USB for image update only on rear 1 x USB 2 0 on side bezel Serial Ports All serial ports support 5V 12V selectable 1 x DB9 RX TX RTS CTS on rear 3 x internal Wafer RX TX for Reserved LAN 1 x RJ4...

Страница 23: ...Chapter 2 Getting Started PA 3211 SERIES USER MANUAL Page 2 12 Environment EMC Safety CE FCC Operating Temp 0 C 35 C 32 F 95 F Storage Temp 20 C 60 C 4 F 140 F Humidity 20 90...

Страница 24: ...m a hot place to a cold place and vice versa because condensation may occur inside the system Protect your PA 3211 from strong vibrations which may cause hard disk failure Do not place the system too...

Страница 25: ...assignment The following topics are included System External I O Ports Diagram Function Buttons and I O Ports Main Board Component Locations Jumper Settings Setting Jumpers Setting Main Board Connect...

Страница 26: ...PA 3211 SERIES USER MANUAL Page 3 2 3 1 External System I O Ports Diagram Pin Assignment 3 1 1 Rear I O Ports Diagram UPDATE MicroSD LAN USB1 VGA DC IN UART DRW2 option DRW1 DRW1 1 DRW1 2 extended wit...

Страница 27: ...Selection JP9 JP10 LVDS Panel Input Voltage Selection JP14 LVDS Voltage Selection JP15 JP17 Inverter Power Selection JP16 Image Detection Selection JP18 System CONNECTOR Description NAME Rear I O Por...

Страница 28: ...L Page 3 4 System CONNECTOR Description NAME Power LED Connectors LED1_1 LED1_2 LVDS Connector LVDS1 Mini PCIE Connector M_PCIE Power Switch Connector SW2 Inverter Connector INV1 External Speaker Conn...

Страница 29: ...ors and jumpers on the main board Make sure both the system and peripheral devices are turned OFF as sudden surge of power could damage sensitive components Make sure PA 3211 is properly grounded CAUT...

Страница 30: ...ANUAL Page 3 6 CAUTION Always touch the motherboard components by the edges Never touch components such as a processor by its pins Take special cares while you are holding electronic circuit boards by...

Страница 31: ...s by opening or closing jumpers Jumpers can be combined into sets that are called jumper blocks When jumpers are all in the block you have to put them together to set up the hardware configuration The...

Страница 32: ...Chapter 3 Hardware Configuration PA 3211 SERIES USER MANUAL Page 3 8 Jumper diagrams Jumper settings...

Страница 33: ...ght When press the power button briefly next time the LCD backlight will turn on again To turn off the system press and hold the power button for 2 seconds Then the system will ask for your confirmati...

Страница 34: ...NC 2 COM3_RXD_R 3 COM3_TXD_R 4 NC 5 GND 6 NC 7 COM3_RTS_R 8 COM3_CTS_R 9 RI 5V 12V selectable Note UART3 and UART3_1 can t be used at the same time 3 5 5 VGA Port Port Name VGA1 Description VGA Port...

Страница 35: ...Chapter 3 Hardware Configuration PA 3211 SERIES USER MANUAL Page 3 11 3 5 6 USB Port Port Name USB1 Description USB Type A Port rear I O PIN ASSIGNMENT 1 5V Max current 0 5A 2 D 3 D 4 GND USB1...

Страница 36: ...MDI0 3 MDI1 4 MDI1 5 LAN_VCC 6 LAN_VCC 7 TDCT 8 RDCT 9 NC 10 GND LAN LED Status There is a LAN LED indicator for LAN on the rear panel of the system By observing its status you can know the status of...

Страница 37: ...O_SD1 Description MicroSD Port rear I O PIN ASSIGNMENT 1 SD0_D2 2 SD0_D3 3 SD0_CMD 4 SD_VCC 5 SD0_CLK 6 GND 7 SD0_D0 8 SD0_D1 9 CARD_DET 10 GND 3 5 9 Micro USB Port Port Name UPDATE Description Image...

Страница 38: ...T 1 UART 2 UART 3 UART 5 Port Pin9 RI 5V 12V Selection JP_COM0 JP_COM1 JP_COM2 JP_COM3 JP_COM5 Pin headers on board The voltages of UART0 UART1 UART2 UART3 UART5 ports can be adjusted by setting relev...

Страница 39: ...rdware Configuration PA 3211 SERIES USER MANUAL Page 3 15 3 6 2 External USB 2 0 Port Connector Location USB2 Description USB Type A Connector on side bezel PIN ASSIGNMENT 1 5V Max current 0 5A 2 D 3...

Страница 40: ...USB4_2 USB5 Description Internal USB 2 0 connectors PIN ASSIGNMENT 1 5V Maximum current 0 5A 2 D 3 D 4 GND 5 GND Notes 1 USB4_2 signal is shared from MINI_PCIE port 2 USB4_2 could be functioned when...

Страница 41: ...r type PIN ASSIGNMENT PIN ASSIGNMENT 1 NC 6 NC 2 COM1_RXD_R 7 NC 3 COM1_TXD_R 8 NC 4 NC 9 COM1_RI_SEL 5 GND 10 NC Connector Location UART3_1 Description UART Connector PIN ASSIGNMENT PIN ASSIGNMENT 1...

Страница 42: ...on Power for Thermal Printer Connector PIN ASSIGNMENT 1 24VIN 2 24VIN 3 GND 4 GND 3 6 6 Power Connectors DC 12V DC 5V Connector Location OUT_12V Description DC 12V Voltage Provider Connector PIN ASSIG...

Страница 43: ...3 Hardware Configuration PA 3211 SERIES USER MANUAL Page 3 19 3 6 7 Power LED Connectors Connector Location LED1_1 LED1_2 Description Power indication LED Connector PIN ASSIGNMENT 1 VCC5 2 GND LED1_1...

Страница 44: ...C 5 GPIOD16 PWM5 6 LVDS_VCC 7 GND 8 GND 9 VLED 10 VLED 11 VLED 12 VLED 13 LVDS_A3_DP 14 LVDS_A3_DN 15 LVDS_CLKA_DP 16 LVDS_CLKA_DN 17 GND 18 GND 19 LVDS_A2_DP 20 LVDS_A2_DN 21 LVDS_A1_DP 22 LVDS_A1_DN...

Страница 45: ...GPIOD12 WL_WAKE 2 V3P3A 3 NC 4 GND 5 NC 6 V1P5S 7 V3P3A 8 V3P3A 9 GND 10 NC 11 NC 12 NC 13 NC 14 NC 15 GND 16 NC 17 NC 18 GND 19 NC 20 NC 21 GND 22 GPIOB2 WL_EN 23 NC 24 V3P3A 25 NC 26 GND 27 GND 28...

Страница 46: ...ector Location SW2 Description Power Switch Connector 2 PIN ASSIGNMENT 1 CONOFF 2 GND 3 6 11 Inverter Connector Connector Location INV1 Description Inverter Connector PIN ASSIGNMENT 1 VCC12 VCC5 by JP...

Страница 47: ...xternal Speaker Connector Connector Location SPK1 Description External Speaker Connector PIN ASSIGNMENT 1 HD_FRONT OUT1 R 2 HD_FRONT OUT1 L 3 6 13 HD Audio Connector Connector Location LINE_OUT1 Descr...

Страница 48: ...dware Configuration PA 3211 SERIES USER MANUAL Page 3 24 3 6 14 I2C Connector Connector Location I2C Description I2C Connector PIN ASSIGNMENT 1 VCC3_3_LDO 2 GND 3 GND 4 I2CSCL 5 I2CSDA 6 GND 7 INT_18...

Страница 49: ...ription Inverter Backlight Enable Selection SELECTION JUMPER SETTING JUMPER ILLUSTRATION 3 3V 1 2 JP4 5V 2 3 Default Setting JP4 3 6 16 Touch Panel Signal Interface Selection Jumper Name JP5 JP6 Descr...

Страница 50: ...election SELECTION JUMPER SETTING JUMPER ILLUSTRATION USB signal to USB4_2 wafer 1 2 JP9 JP10 USB signal to mini PCIE 2 3 Default Setting JP9 JP10 3 6 18 LVDS Panel Input Voltage Selection Jumper Name...

Страница 51: ...age Selection Jumper Name JP15 JP17 Description LVDS 3 3V 5V 12V Voltage Selection SELECTION JUMPER SETTING JUMPER ILLUSTRATION 3 3V 1 3 2 4 JP15 1 3 2 4 JP17 Default Setting 5 6 1 2 JP15 2 1 6 5 JP17...

Страница 52: ...3211 SERIES USER MANUAL Page 3 28 3 6 20 Inverter Voltage Selection Jumper Name JP16 Description Inverter Voltage Selection SELECTION JUMPER SETTING JUMPER ILLUSTRATION 5V 1 3 2 4 Default Setting 2 1...

Страница 53: ...ge 3 29 3 6 21 Image Detection Selection Jumper Name JP18 Description Image Detection Selection SELECTION JUMPER SETTING JUMPER ILLUSTRATION ADFU Mode 1 2 3 1 JP18 USB HUB Function 2 3 Default Setting...

Страница 54: ...ELECTION JUMPER SETTING JUMPER ILLUSTRATION USB1_2 1 3 2 4 2 1 6 5 JP_USB1 USB1 3 5 4 6 Default Setting 2 1 6 5 JP_USB1 3 6 23 USB2 or USB2_2 Selection Jumper Name JP_USB2 Description USB2 or USB2_2 C...

Страница 55: ...optional to enable DRW2 refer to the Cash Drawer Control Selection section for detailed jumper setting Note DRW1 includes two groups of GPIO pins The second group is normally unused but can be enabled...

Страница 56: ...PA 3211 SERIES USER MANUAL Page 3 32 3 6 25 Cash Drawer Control Selection Jumper Name JP8 Description Cash Drawer Control Selection SELECTION JUMPER SETTING JUMPER ILLUSTRATION Drawer2 1 2 3 1 JP8 Dra...

Страница 57: ...ration PA 3211 SERIES USER MANUAL Page 3 33 3 6 26 Cash Drawer Power Selection Jumper Name JP7 Description DRW1 DRW1 1 DRW1 2 Power Selection SELECTION JUMPER SETTING JUMPER ILLUSTRATION 24V 1 2 JP7 1...

Страница 58: ...R MANUAL Page 3 34 3 7 Printer Board Component Locations Pin Assignment 3 7 1 Printer Board MB 1030 series 1 1 5 1 3 4 CN3 CN2 4 14 1 1 1 50 12 1 1 9 10 2 CN1 CUT_CN1 PRINT_CN1 COM1 USB_CN1 24V_CN1 Fi...

Страница 59: ...ctor Quick Reference Table Jumper Connector NAME Power Supply Connector 24V_CN1 RS 232 Interface Connector COM1 Thermal Head Motor Sensor Connector PRINT_CN1 Auto Cutter Connector CUT_CN1 Paper Near E...

Страница 60: ...ctors and Jumpers 3 7 2 1 Power Supply Connector 24V_CN1 Power Supply Wafer PIN ASSIGNMENT 1 GND 2 GND 3 24V 4 24V 3 7 2 2 RS 232 Interface Connector COM1 RS 232 Interface Connector PIN ASSIGNMENT PIN...

Страница 61: ...for print data transfer 9 GND Head GND 10 GND Head GND 11 GND Head GND 12 GND Head GND 13 GND Head GND 14 GND Head GND 15 NC Unused 16 DST4 Head strobe signal 17 DST3 Head strobe signal 18 3 3V Logic...

Страница 62: ...Unused 39 PS Signal of the out of paper sensor 40 Vps Power supply of the out of paper sensor 41 GND GND of the platen position out of paper sensor 42 HS Signal of the platen position sensor 43 NC Unu...

Страница 63: ...or drive signal 6 2B 2 Auto cutter motor drive signal 7 2A 1 Auto cutter motor drive signal 8 2A 2 Auto cutter motor drive signal 9 1B 1 Auto cutter motor drive signal 10 1B 2 Auto cutter motor drive...

Страница 64: ...signment Connector CN1 Terminal assignment connector PIN ASSIGNMENT FUNCTION 1 FEED Feed signal 2 RESET Reset signal 3 GND GND 4 ST1 Status signal 5 ST2 Status signal 6 ST3 Status signal 7 ST4 Status...

Страница 65: ...ter 3 Hardware Configuration PA 3211 SERIES USER MANUAL Page 3 41 3 8 VFD Board Component Locations Pin Assignment 3 8 1 VFD Board MB 4103 JP12V CN1 1 1 16 Figure 3 3 MB 4103 VFD Board Component Locat...

Страница 66: ...apter 3 Hardware Configuration PA 3211 SERIES USER MANUAL Page 3 42 3 8 2 Jumper Connector Quick Reference Table Jumper Connector NAME Power Switch Selection JP12V RS 232 Serial Interface Connector CN...

Страница 67: ...SERIES USER MANUAL Page 3 43 3 8 3 Setting MB 4103 VFD Board Connectors and Jumpers 3 8 3 1 Power Switch Selection JP12V Power Switch Selection SELECTION JUMPER SETTING JUMPER ILLUSTRATION OFF 1 2 3...

Страница 68: ...SERIES USER MANUAL Page 3 44 3 8 3 2 RS 232 Serial Interface Connector CN1 RS 232 serial interface wafer PIN ASSIGNMENT PIN ASSIGNMENT 1 GND 9 NC 2 TXD 10 NC 3 RXD 11 NC 4 DTR 12 NC 5 DSR 13 NC 6 RTS...

Страница 69: ...Figure 3 4 MB 3013 MSR Board Component Locations 3 9 1 1 Information Button Reader I_BUTTON1 Information button reader PIN ASSIGNMENT 1 I_B1 2 GND 3 9 1 2 Output Connector IO1 Output wafer PIN ASSIGN...

Страница 70: ...mmands lists for embedded peripheral devices of the system printer board and VFD API and instructs how to burn the image onto PB 3211 board The following topics are included Peripheral Devices Printer...

Страница 71: ...p 1 1 Commands List Standard Commands Command RA RB Command RA RB Command RA RB HT V ESC D V GS V V LF V V ESC E V V GS FF V ESC G V GS B V V CR V V ESC J V V GS H V V CAN V ESC L V GS I V V DLE EOT V...

Страница 72: ...rizontal tab V V LF 0A Print and line feed V V FF 0C Print and recover to standard mode in page mode Ignored V CR 0D Print and carriage return V V CAN 18 Cancel print data in page mode Ignored V DLE E...

Страница 73: ...6 Turn 90 degree clockwise rotation mode on off V ESC W 1B 57 Set printing area in page mode V ESC 1B 5C Set relative print position V V ESC a 1B 61 Select justification ESC c 3 1B 63 33 Select paper...

Страница 74: ...bled GS L 1D 4C Set left margin Disabled GS P 1D 50 Set basic calculated pitch V V GS V 1D 56 Cut paper V GS W 1D 57 Set printing area width GS 1D 5C Set relative vertical print position in page mode...

Страница 75: ...ect Kanji character mode V V FS 1C 2D Turn underline mode on off for Kanji characters V V FS 1C 2E Cancel Kanji character mode V V FS S 1C 53 Set Kanji character spacing V V FS W 1C 57 Turn quadruple...

Страница 76: ...position and this command is received the current line buffer full is printed and a horizontal tab is executed from the top of the next line The initial value of the horizontal tab position is every...

Страница 77: ...iption When an automatic line feed is enabled this command functions in the same way as LF print and line feed When the automatic line feed is disabled this command is ignored This command is ignored...

Страница 78: ...lose signal is LOW On 04 4 Drawer open close signal is HIGH 3 Off 00 0 On line On 08 8 Off line 4 On 10 16 Not used Fixed to On 5 Off 00 0 Not used Fixed to Off 6 Off 00 0 Not used Fixed to Off 7 Off...

Страница 79: ...e to paper near end 4 On 10 16 Not used Fixed to On 5 Off 00 0 No paper end stop On 20 32 Printing stops due to paper end 6 Off 00 0 No paper end stop On 40 64 Printing stops due to paper end 7 Off 00...

Страница 80: ...F Name Print data in page mode Format ASCII ESC FF Hex 1B 0C Decimal 27 12 Range N A Description Prints all buffered data in the print area collectively in page mode This command is enabled only in pa...

Страница 81: ...de selected 4 Off 00 0 Double height mode not selected On 10 16 Double height mode selected 5 Off 00 0 Double width mode not selected On 20 32 Double width mode selected 6 Off 00 0 Not used Fixed to O...

Страница 82: ...e mode in mode m for the number of dots specified by nL and nH m 1 33 nL nH 256 576 3 inch nL nH 256 432 2 inch m 0 32 nL nH 256 288 3 inch nL nH 256 216 2 inch m Mode Number of Vert Dir Dots Density...

Страница 83: ...rline mode 1 Turns on underline mode set at 1 dot thick 2 Turns on underline mode set at 2 dot thick ESC 2 Name Select default line spacing Format ASCII ESC 2 Hex 1B 32 Decimal 27 50 Range N A Descrip...

Страница 84: ...Undefined 0 Printer Invalid Valid ESC Name Initialize printer Format ASCII ESC Hex 1B 40 Decimal 27 64 Range N A Description Clears data from the print buffer and sets the printer to its default sett...

Страница 85: ...n 0 B Specifies double printing when n 1 B n is effective only when it is the lowest bit This printer is not capable of double printing so the print is the same as when using emphasized printing This...

Страница 86: ...point specified by ESC T Character print direction selection in page mode in the printing region designated by the ESC W Set print region in the page mode command This command switches the settings f...

Страница 87: ...Function 0 Character font A selected 1 Character font B selected ESC R n Name Select an international character set Format ASCII ESC R n Hex 1B 52 n Decimal 27 82 n Range 0 n 16 Initial Value n 0 Des...

Страница 88: ...of which can be set independently in standard mode and page mode to those for standard mode a ESC SP Set character right space amount b FS S Set Chinese character space amount c ESC 2 Set default line...

Страница 89: ...igure below 2 50 Right to Left Lower Right C in the figure below 3 51 Top to Bottom Upper Right D in the figure below ESC V n Name Turn 90 degree clockwise rotation mode on off Format ASCII ESC V n He...

Страница 90: ...iption Sets the print region position and size Horizontal direction starting point xL xH x 256 x basic calculated pitch Vertical direction starting point yL yH x 256 x basic calculated pitch Horizonta...

Страница 91: ...tion This sets the position from the current position to nL nH x 256 x basic calculated pitch for the next print starting position Specifications exceeding the print range are ignored ESC a n Name Sel...

Страница 92: ...fined 5 Undefined 4 Undefined 3 Undefined 2 Undefined 1 Paper roll near end detector Invalid Valid 0 Paper roll near end detector Invalid Valid ESC c 4 n Name Select paper sensor s to stop printing Fo...

Страница 93: ...eed n lines Format ASCII ESC d n Hex 1B 64 n Decimal 27 100 n Range 0 n 255 Description Prints the data in the print buffer and performs a paper feed of n lines Sets the print position to the beginnin...

Страница 94: ...e connector pin specified by m Drawer kick on time is set to t1 x 2 ms off time is set to t2 x 2 ms m Connector Pin 0 48 Drawer kick connector pin 2 1 49 Drawer kick connector pin 5 ESC t n Name Selec...

Страница 95: ...g used This command has no effect in page mode In page mode this command is only effective for the setting Upside down printing rotates line data 180 degrees n Upside down mode 0 Turned off 1 Turned o...

Страница 96: ...13 n xL xH yL yH d1 dk 1 xL xH yL yH d1 dk n Range 1 n 255 1 xL xH 256 54 0 xL 54 xH 0 for 2 inch 1 xL xH 256 72 0 xL 72 xH 0 for 3 inch 1 yL yH 256 96 0 yL 96 yH 0 0 d 255 k xL xH 256 yL yH 256 8 Des...

Страница 97: ...times normal font size in the vertical direction Refer to Table 2 Enlarged in vertical direction 1 2 3 4 Specifies the number of times normal font size in the horizontal direction Refer to Table 1 En...

Страница 98: ...ical direction position for the data expansion starting position using the absolute position based on the starting point in page mode The position of the character vertical direction for the next data...

Страница 99: ...ch 1 Y 96 0 d 255 Description Defines the download bit image of the number of dots specified by X and Y X specifies the number of bytes in the horizontal direction Y specifies the number of bytes in t...

Страница 100: ...L 2 pH 0 0 n 2 48 n 50 2 m 3 50 m 51 Description Executes the specified test print The following command is ignored in page mode Specifies the parameter count following pL and pH in pL pH x 256 bytes...

Страница 101: ...sity m Print Density 250 0 7 251 0 7 252 0 8 253 0 8 254 0 9 255 0 9 0 1 0 1 1 1 2 1 1 3 1 2 4 1 2 5 1 3 6 1 3 GS m Name Print downloaded bit image Format ASCII GS m Hex 1D 2F m Decimal 29 47 m Range...

Страница 102: ...ted printing when n 1 B n is effective only when it is the lowest bit Internal characters and download characters are targeted for black and white inverted printing This command is effective for ANK a...

Страница 103: ...Depends on the firmware version 66 Manufacturer Name MB 1030 System or MP 1060 System 67 Model Name MB 1030 or MP 1060 68 Serial Number Depends on the serial number 69 Chinese Character Types Taiwan...

Страница 104: ...ch to approximately 25 4 ymm 1 y inch x 0 Returns the horizontal basic calculated pitch to its default value y 0 Returns the vertical basic calculated pitch to its default value GS V m Name Cut paper...

Страница 105: ...ic calculated pitch 24 GS nL nH Name Set relative vertical print position in page mode Format ASCII GS nL nH Hex 1D 5C nL nH Decimal 29 92 nL nH Range 0 nL 255 0 nH 255 Description Specifies the chara...

Страница 106: ...or Invalid Valid 1 ONLINE OFFLINE Status Invalid Valid 0 Drawer kick connector pin 3 Invalid Valid The printer information transmitted is comprised of 4 bytes as follows First byte printer information...

Страница 107: ...Function 7 Off 00 0 Not used Fixed to Off 6 Off 00 0 Not used Fixed to Off 5 Off 00 0 Not used Fixed to Off 4 On 00 0 Not used Fixed to Off 2 3 Off 00 0 Paper end sensor paper present On 0C 12 Paper e...

Страница 108: ...Decimal 29 102 n Range n 0 1 48 49 Initial Value n 0 Description Selects the HRI character font when printing bar codes n Font 0 48 Selects Font A 12 x 24 1 49 Selects Font B 9 x 17 GS h n Name Set b...

Страница 109: ...ar Code Type Defined region of k Defined region of d 0 UPC A 11 k 12 48 d 57 1 UPC E 11 k 12 48 d 57 2 JAN13 EAN13 12 k 13 48 d 57 3 JAN8 EAN8 7 k 8 48 d 57 4 CODE39 1 k 255 48 d 57 65 d 90 32 36 37 4...

Страница 110: ...Status 0 1 7 Fixed at 0 6 Undefined 5 Undefined 4 Fixed at 0 3 Paper roll end detector Has Paper Paper out 2 Paper roll end detector Has Paper Paper out 1 Paper roll near end detector Has Paper Paper...

Страница 111: ...0 m 48 0 xL 54 for 2 inch 0 xL 72 for 3 inch 0 xH 0 0 yL 255 0 yH 3 0 d 255 k xL xH 256 yL yH 256 However k 0 Description Prints raster method bit images using mode m m Mode Density of Vert Dir Dots D...

Страница 112: ...mm Binary Level Bar Code Fine Element Width mm Thick Element Width mm 1 0 141 0 141 0 423 2 0 282 0 282 0 706 3 0 423 0 423 1 129 4 0 564 0 564 1 411 5 0 706 0 706 1 834 6 0 847 0 847 2 258 TWO DIMENS...

Страница 113: ...nts QR Code data based on the specified contents model Specifies a model e Selects an error correction level L 4CH M 4DH Q 51H H 48H v 0 Automatic selection A version is automatically selected dependi...

Страница 114: ...al 28 33 n Range 0 n 255 Initial Value n 0 Description Batch specifies the Kanji character print mode Bit Function 0 1 7 Underline Off On 6 Undefined 5 Undefined 4 Undefined 3 Double tall expanded Off...

Страница 115: ...ifies or cancels Kanji character underlines n Function 0 48 Cancels Kanji character underline 1 49 Sets to one dot width Kanji character underline and specifies Kanji character underlines 2 50 Sets to...

Страница 116: ...space amount and right space amount Left space amount n1 x basic calculated pitch Right space amount n2 x basic calculated pitch FS W n Name Turn quadruple size mode on off for Kanji characters Forma...

Страница 117: ...to home position US B 1F 42 Move cursor to bottom position US x y 1F 24 x y Move cursor to specified position 1 x column 20 1 y row 2 US C n 1F 43 n Select cancel cursor display n 0 canceled n 1 sele...

Страница 118: ...code US n m 1F 23 n m Specify display annunciator turn the annunciator at m column on or off n 0 1 Off On 0 m 20 ESC s n m a pl p7 m n 1 1B 26 s n m a p1 p5 m n 1 Define download characters S 1 32 n m...

Страница 119: ..._Spec_v1 0_121109 VFD Product Specification Function DLL Directory Function File Name Description Library Cash Drawer CashDrawer jar Cash Drawer Control jar library VFD VFD jar VFD Control jar library...

Страница 120: ...raries tab of the target project s properties confirm that the JAR file you added CashDrawer jar SAPI jar VFD jar is registered in Java Build Path If it has not been added add the JAR file into build...

Страница 121: ...ntrolResult CDrawer OpenCashDrawer 1 if ControlResult Cash Drawer Control Success else Cash Drawer Control Failure GetCashDrawerStatus Public Boolean GetCashDrawerStatus int num Purpose Value Return E...

Страница 122: ...oolean CloseVFD Purpose Close the VFD Port Return True 1 on success False 0 on failure False 0 SendCommand Public Boolean SendCommand byte data Purpose Send Command to VFD Value VFD Command Code ESC P...

Страница 123: ...n failure CloseMSR Public Boolean CloseMSR Purpose Close the MSR Port Return True 1 on success False 0 on failure False 0 SendCommand Public Boolean SendCommand byte data Purpose Send Command to MSR V...

Страница 124: ...vity implementsandroid Msr Observer EditTextmReception MsrMsrcontrol Override protectedvoidonCreate Bundle savedInstanceState super onCreate savedInstanceState setContentView R layout activity_msr mRe...

Страница 125: ...Update Event Public Void Update final byte buffer final int size Purpose Get Msr Data String Return byte buffer Msr data int size buffer count Before use this function need to implements Observer Inte...

Страница 126: ...seIbtn Public Boolean CloseIbtn Purpose Close the Ibutton Port Return True 1 on success False 0 on failure False 0 SendCommand Public Boolean SendCommand byte data Purpose Send Command to Ibutton Valu...

Страница 127: ...lements android Ibutton Observer EditText mReception Ibutton Ibtncontrol Override Protected void onCreate Bundle savedInstanceState super onCreate savedInstanceState setContentView R layout activity_i...

Страница 128: ...te Event Public Void Update final byte buffer final int size Purpose Get Ibutton Data String Return byte buffer Ibutton data int size buffer count Before use this function need to implements Observer...

Страница 129: ...et Printer Baud Rate MB 1030 baud rate default is 115200 Return True 1 on success False 0 on failure ClosePrinter Public Boolean ClosePrinter Purpose Close the Thermal Printer Port Return True 1 on su...

Страница 130: ...a to print Value Data String data Return True 1 on success False 0 on failure False 0 Example ThermalPrinterPrinter_Control newThermalPrinter Printer_Control OpenPrinter 115200 Printer_Control Text 12...

Страница 131: ...UPC A 1 Type 2 UPC E 1 Type 3 EAN 13 1 Type 4 EAN 8 1 Type 5 CODE39 1 Type 6 ITF 1 Type 7 CODEBAR 1 Type 8 UPC A 2 Type 9 UPC E 2 Type 10 EAN 13 2 Type 11 EAN 8 2 Type 12 CODE39 2 Type 13 ITF 2 Type 1...

Страница 132: ...Disable Return Return Threshold Pic ImagePrinter Public BooleanImagePrint Bitmap data Purpose Sent bitmap to printer Value Bitmap data Threshold data Return True 1 on success False 0 on failure False...

Страница 133: ...nd byte to printer Value Command Code Please referMP 1030 Command Manual Return True 1 on success False 0 on failure False 0 Example ThermalPrinterPrinter_Control newThermalPrinter Printer_Control Ope...

Страница 134: ...Fixed to Off 1 On 02 2 Not used Fixed to On 2 Off 00 0 Clover is closed On 04 4 Cover is opened 3 Off 00 0 Not used Fixed to Off 4 On 10 16 Not used Fixed to On 5 Off 00 0 No paper end stop On 20 32...

Страница 135: ...oast makeText PrinterActivity this Paper End Toast LENGTH_SHORT show else Toast makeText PrinterActivity this Paper Normal Toast LENGTH_SHORT show Printer_Control ClosePrinter GetCoverEvent Public int...

Страница 136: ...Interface Observer Current class publicclassPrinterActivityextends Activity implementsandroid ThermalPrinter Observer ThermalPrinterPrinter_Control Override protectedvoidonCreate Bundle savedInstanceS...

Страница 137: ...e elseif Device 0x02 Paper if Value 0x01 No Paper Present else Paper Present When Close Printer_Control ClosePrinter Printer_Control Detach this Receiver Data Detach Public Boolean Detach Purpose Canc...

Страница 138: ...e Get Cover Paper event Return Device 0x01 Cover 0x02 Paper Value 0x01 CoverOpen 0x01 No Paper Present 0x02 CoverClose 0x02 Paper Present GetFWVersion Public String GetFWVsion Purpose Get FW Version R...

Страница 139: ...nenRTS Purpose Open theSerialPort Port Value PortName dev ttyS0 or other port BaudRate Example 9600 or 115200 Parity None 0 Odd 1 Even 2 Databit 5 6 7 8 Stopbit None 0 One 1 Two 2 EnRTS Flow Control T...

Страница 140: ...and data Receiver Data Attach Public Boolean Attach Purpose When class need to receiver serialport data need to use Return True 1 on success False 0 on failure False 0 Example Receive Data from serial...

Страница 141: ...Event Public Void Update final byte buffer final int size Purpose Get Serial Port Data String Return byte buffer Serial Portdata int size buffer count Before use this function need to implements Obse...

Страница 142: ...11 board and PC using an USB cable The image burning procedure will be performed through the USB data transmission See the picture below 2 Set the pin header jumper JP18 as 1 2 connected 3 1 for PB 32...

Страница 143: ...ed to burn the image onto PB 3211 board follow the instructions below to install the FW Burning Tool that is compatible with Windows XP Windows 7 and Windows 8 Step 1 Click setup exe file to start the...

Страница 144: ...Chapter 4 Software Utilities PA 3211 SERIES USER MANUAL Page 4 75 Step 3 Click Next to start the installation...

Страница 145: ...Chapter 4 Software Utilities PA 3211 SERIES USER MANUAL Page 4 76 Step 4 Click the checkbox of Agree in Actions Customer Experience Improvement Program to accept the program and click Next to continue...

Страница 146: ...Chapter 4 Software Utilities PA 3211 SERIES USER MANUAL Page 4 77 Step 5 Please wait while the IH FW Burning tool is being installed onto the PC...

Страница 147: ...Chapter 4 Software Utilities PA 3211 SERIES USER MANUAL Page 4 78 Step 6 After the IH FW burning tool installation is compled click Close to finish...

Страница 148: ...3211 Board PB 3211 board must enter ADFU Actions Device Firmware Upgrade mode first before the image can be burned into the board After PB 3211 enters ADFU mode the data communications between the PC...

Страница 149: ...f Micro USB cable into PB 3211 board without DC_IN port connection required and the red light will turn ON in the center part of the board indicating the power supply has been injected into the board...

Страница 150: ...Chapter 4 Software Utilities PA 3211 SERIES USER MANUAL Page 4 81 Step 2 Push the button 1 reset and button 2 ADFU at the same time as shown below...

Страница 151: ...ftware Utilities PA 3211 SERIES USER MANUAL Page 4 82 Step 3 Release button 1 and continue to press and hold button 2 See the picture below Release button 2 at last and then PB 3211 board will enter t...

Страница 152: ...lities PA 3211 SERIES USER MANUAL Page 4 83 4 3 3 Burning PB 3211 Image You can see 1 USB device has been detected on the PC Follow the instructions below Step 1 Click DOWN button located at the botto...

Страница 153: ...Chapter 4 Software Utilities PA 3211 SERIES USER MANUAL Page 4 84 Step 2 Select and open the intended FW image file the file name must be in XXXX fw format...

Страница 154: ...Chapter 4 Software Utilities PA 3211 SERIES USER MANUAL Page 4 85 Step 3 Click Replace button from the pop up window below and start the download procedure...

Страница 155: ...Chapter 4 Software Utilities PA 3211 SERIES USER MANUAL Page 4 86...

Страница 156: ...age 4 87 After the percentage of the burning process has reached 100 it indicates the image burning process has finished Step 4 Remove the MicroUSB connection from PB 3211 board and plug the power cab...

Страница 157: ...the exploded diagrams of the system as well as the part numbers of the PA 3211 system Exploded Diagram for System Top Case System Exploded Diagram Exploded Diagram for MSR Module Exploded Diagrams fo...

Страница 158: ...A 5 A 8 2 M3_L4_I_B 22 272 30004318 6 3 PA 3100_Printer_Unit N A 1 See Page A 10 A 15 4 PA 3211 3222_VFD_Unit N A 1 See Page A 16 5 PS 3100 I O Cable Cover Black 30 002 28110165 1 6 PA 3100 Side Door...

Страница 159: ...Appendix A System Diagrams PA 3211 SERIES USER MANUAL Page A 3 System Exploded Diagram 12 2 11 2 2 14 8 6 13 10 9 7 3 14 4 5 1...

Страница 160: ...Open Bushing SA 1013A 30 026 04300000 2 5 PA 3211_Speaker 13 500 08280318 1 6 HEX CU BOSS 22 692 40048051 4 7 SB 0305 30 026 04100008 1 8 wireless_antenna 27 029 16506071 1 9 roller_pin 22 092 290390...

Страница 161: ...USER MANUAL Page A 5 With MSR and i Button Modules See next page for the part numbers of the exploded diagram above See next page for the part numbers of the exploded diagram above 1 2 3 2 4 5 6 7 8 1...

Страница 162: ...24200304 2 8 LCD PORON 90 013 24200304 2 9 LCD_Tape_90x10x2 34 026 06103400 1 10 MSR Unit N A 1 See Page A 12 11 TM101jdhp03_holder 80 029 03002400 1 12 Touch_PCB_Mylar 2 90 056 02200400 1 13 T3_L6_P...

Страница 163: ...Appendix A System Diagrams PA 3211 SERIES USER MANUAL Page A 7 With MSR Module See next page for the part numbers of the exploded diagram above 2 1 8 3 4 5 6 10 13 7 12 14 23 15 16 20 21 22 19 17 18...

Страница 164: ...2 7 LCD_Tape_90x10x2 34 026 06103400 1 8 MSR Unit N A 1 See Page A 12 10 TM101jdhp03_holder 80 029 03002400 1 12 M2_L2 5_R_Ni 22 222 20004011 2 13 T3_L6_PAN_NI 22 132 30060011 6 14 Touch_PCB_Mylar 2 9...

Страница 165: ...3211 SERIES USER MANUAL Page A 9 Exploded Diagram For MSR Module No Component Name P N No Q ty 1 ps3100_msr_holder sldprt 20 029 03004165 1 2 MSR See Order 1 3 M3_L6_F_B 22 215 30060011 2 4 PA 3222_m...

Страница 166: ...x A System Diagrams PA 3211 SERIES USER MANUAL Page A 10 Exploded Diagram For 3 Inch Printer 1 See next page for the part numbers of the exploded diagram above 1 16 2 3 4 5 6 7 8 10 9 11 5 12 13 15 14...

Страница 167: ...4 6 EMI_GASKET_20x5x0 5 90 050 31200165 1 7 ps3100_paper_cover_Unit N A 1 See Next Page 8 M3_L5_W_Ni 22 242 30005311 2 9 paper_cover_pin 20 004 10011165 1 10 ps3100_spring 1 23 002 00000701 1 11 pg 13...

Страница 168: ...20008011 2 3 ps3100_paper_cover_v2 30 002 02530165 1 4 include_holder 20 029 03006165 1 5 ps3100_printer_cover_ejector 30 002 09210165 1 6 ps3100 spring for_ejector 23 002 00001021 1 7 M3_L4_I_B 22 27...

Страница 169: ...A System Diagrams PA 3211 SERIES USER MANUAL Page A 13 Exploded Diagram For 2 Inch Printer 1 See next page for the part numbers of the exploded diagram above 19 18 15 16 13 12 11 6 14 9 10 8 7 6 5 4 3...

Страница 170: ...Ni 22 272 20004011 3 7 ps3100_paper_cover_Unit N A 1 See Next Page 8 M3_L5_W_Ni 22 242 30005311 2 9 paper_cover_pin 20 004 10011165 1 10 ps3100 spring 1 23 002 00000701 1 11 pg 13 270p 30 022 09110000...

Страница 171: ...5 20008011 2 3 ps3100_paper_cover_v2 30 002 02530165 1 4 include_holder 20 029 03006165 1 5 ps3100_printer_cover_ejector 30 002 09210165 1 6 ps3100 spring for_ejector 23 002 00001021 1 7 M3_L4_I_B 22...

Страница 172: ...ge A 16 Exploded Diagram For VFD Module No Component Name P N No Q ty Remark 1 VFD Cover 30 002 28114165 1 2 VFD Window Cover 30 002 02230165 1 3 VFD_Model MB 4103RA 11N 1 4 PORON_135x4x0 6 90 013 241...

Отзывы: