protech PA-3211 User Manual

Page 1
PA-3211
Powered by ARM Cortex A-9
Processor
PA-3211 M1
USER MANUAL
Page 2
PA-3211 POS System
Powered by ARM Cortex-A9 Processor
COPYRIGHT NOTICE & TRADEMARK
All trademarks and registered trademarks mentioned herein are the property of their respective owners.
This manual is copyrighted in October 2017. You may not reproduce 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 information contained in this document is subject to change without any notice.
CE NOTICE
This is a class A product. In a domestic environment this product may cause radio interference in which case the user may be required to take adequate measures.
Page 3
FCC NOTICE
CAUTION: Danger of explosion may occur when the battery
is incorrectly replaced. Replace the battery only with the same or equivalent type recommended by the manufacturer. Dispose of used batteries according to the manufacturers instructions.
WARNING: Some internal parts of the system may have high electrical voltage. We strongly recommend that only qualified engineers are allowed to service and disassemble the system. If any damages should occur on the system and are caused by unauthorized servicing, it will not be covered by the product warranty. Please operate the LCD and Touchscreen with extra care as they can break easily.
This equipment has been tested and found to comply with the limits for a Class A digital device, pursuant to part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial environment. This equipment generates, uses, and can radiate radio frequency energy and, if not installed and used in accordance with the instruction manual, may cause harmful interference to radio communications. Operation of this equipment in a residential area is likely to cause harmful interference in which case the user will be required to correct the interference 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 equipment.
Page 4
Contents
Revision History ............................................................................................. vi
1 Introduction ......................................................................................... 1-1
1.1 About This Manual .................................................................... 1-2
2 Getting Started .................................................................................... 2-1
2.1 Package List .............................................................................. 2-2
2.2 System Views Without i-Button Module .................................... 2-3
2.2.1 Front View ......................................................................... 2-3
2.2.2 Rear View .......................................................................... 2-3
2.2.3 Top View ............................................................................ 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 Quarter View ...................................................................... 2-9
2.3.6 Side View ......................................................................... 2-10
2.4 System Specifications ............................................................. 2-11
2.5 Safety Precautions .................................................................. 2-13
3 System Configuration ......................................................................... 3-1
3.1 External System I/O Ports Diagram & Pin Assignment ............. 3-2
3.1.1 Rear I/O Ports Diagram ..................................................... 3-2
i
Page 5
3.2 Jumper & Connector Quick Reference Table ............................ 3-3
3.3 Component Locations Of System Main Board .......................... 3-5
3.3.1 Top View of System Main Board ....................................... 3-5
3.4 How To Set Jumpers ................................................................. 3-7
3.5 Function Buttons and Rear I/O Ports ........................................ 3-9
3.5.1 Power Button ..................................................................... 3-9
3.5.2 Power Input Port ................................................................ 3-9
3.5.3 Cash Drawer Port .............................................................. 3-9
3.5.4 UART3 Connector ........................................................... 3-10
3.5.5 VGA Port .......................................................................... 3-10
3.5.6 USB Port .......................................................................... 3-11
3.5.7 LAN Port .......................................................................... 3-12
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 2.0 Port ..................................................... 3-15
3.6.3 Internal USB 2.0 Connectors ........................................... 3-16
3.6.4 Internal UART Connectors .............................................. 3-17
3.6.5 Power for Thermal Printer Connector .............................. 3-18
3.6.6 Power Connectors (DC 12V, DC 5V) .............................. 3-18
3.6.7 Power LED Connectors ................................................... 3-19
3.6.8 LVDS Connector .............................................................. 3-20
3.6.9 Mini PCIE Connector ....................................................... 3-21
3.6.10 Power Switch Connector 2 .............................................. 3-22
3.6.11 Inverter Connector ........................................................... 3-22
3.6.12 External Speaker Connector ........................................... 3-23
ii
Page 6
3.6.13 HD Audio Connector ........................................................ 3-23
3.6.14 I2C Connector ................................................................. 3-24
3.6.15 Inverter Backlight Enable Selection ................................. 3-25
3.6.16 Touch Panel Signal Interface Selection ........................... 3-25
3.6.17 Mini PCIE USB Selection ................................................ 3-26
3.6.18 LVDS Panel Input Voltage Selection ............................... 3-26
3.6.19 LVDS Voltage Selection ................................................... 3-27
3.6.20 Inverter Voltage Selection ............................................... 3-28
3.6.21 Image Detection Selection .............................................. 3-29
3.6.22 USB1_2 or USB1 Selection ............................................. 3-30
3.6.23 USB2 or USB2_2 Selection ............................................. 3-30
3.6.24 Cash Drawer Control Selection (JP8) ............................. 3-31
3.6.25 Cash Drawer Control Selection ....................................... 3-32
3.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 Printer Board Connectors and Jumpers .............. 3-36
3.7.2.1 Power Supply Connector ............................................. 3-36
3.7.2.2 RS-232 Interface Connector ........................................ 3-36
3.7.2.3 Thermal Head/Motor/Sensor Connector ...................... 3-37
3.7.2.4 Auto-Cutter Connector ................................................. 3-39
3.7.2.5 Paper-Near-END Sensor Connector ............................ 3-39
3.7.2.6 USB Interface Connector ............................................. 3-40
3.7.2.7 Terminal Assignment Connector .................................. 3-40
3.8 VFD Board Component Locations & Pin Assignment ............. 3-41
3.8.1 VFD Board: MB-4103 ..................................................... 3-41
3.8.2 Jumper & Connector Quick Reference Table .................. 3-42
3.8.3 Setting MB-4103 VFD Board Connectors and Jumpers . 3-43
iii
Page 7
3.8.3.1 Power Switch Selection ............................................... 3-43
3.8.3.2 RS-232 Serial Interface Connector .............................. 3-44
3.9 MSR Board Component Locations & Pin Assignment ............ 3-45
3.9.1 MB-3013 .......................................................................... 3-45
3.9.1.1 Information Button Reader ........................................... 3-45
3.9.1.2 Output Connector ......................................................... 3-45
4 Software Utilities ................................................................................. 4-1
4.1 Peripheral Devices .................................................................... 4-2
4.1.1 Printer Board: MB-1030 ..................................................... 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 Cash Drawer API .......................................................... 4-52
4.2.3.2 VFD API ....................................................................... 4-53
4.2.3.3 MSR API ....................................................................... 4-54
4.2.3.4 I-Button API .................................................................. 4-57
4.2.3.5 Thermal Printer API ...................................................... 4-60
4.2.3.6 Serial Port API .............................................................. 4-70
4.3 Burning PB-3211 Image .......................................................... 4-73
4.3.1 Installing Firmware Burning Tool ..................................... 4-74
4.3.2 Entering ADFU Mode for PB-3211 Board ........................ 4-79
4.3.3 Burning PB-3211 Image .................................................. 4-83
iv
Page 8
Appendix A System Diagrams ................................ .................... A-1
Exploded Diagram For System Top Case ................................................A-2
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
Exploded Diagram For 2-Inch Printer (2) ...............................................A-15
Exploded Diagram For VFD Module ......................................................A-16
v
Page 9
Version No.
Revision History
Page No.
Date
M1
Initial Release
-
2017/10/05
Revision History
The revision history of PA-3211 User Manual is described below:
vi
Page 10
PA-3211 SERIES USER MANUAL
Page: 1-1
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 Manual
1 Introduction
Page 11
Chapter 1 Introduction
PA-3211 SERIES USER MANUAL
Page: 1-2
1.1 About This Manual
Thank you for purchasing our PA-3211 system. The PA-3211 is an updated system designed to be comparable with the highest performance of IBM AT personal computers. The PA-3211 provides faster processing speed, greater expandability and can handle more tasks than before. This manual is designed to assist you how to install and set up the whole system. It contains 4 chapters and 1 appendix. Users can configure the system according to their own needs. This user manual is intended for service personnel with strong hardware background. It is not intended for general users.
The following section describes the structure of this user manual.
Chapter 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 physical appearances for the PA-3211 system. Read the safety reminders carefully on how to take care of your system properly.
Chapter 3 System Configuration
This chapter describes the locations and functions of the system motherboard components. You will learn how to properly configure the connectors and system configuration jumpers on the motherboard and configure the system to meet your own needs.
Chapter 4 Software Utilities
This chapter provides the Commands lists for embedded peripheral devices of the system - printer board and VFD, API Package files, and instructs how to burn the image onto PB-3211 board.
Appendix A System Assembly Diagrams This appendix provides the exploded diagrams and part numbers of the PA-3211.
Page 12
PA-3211 SERIES USER MANUAL
Page: 2-1
This chapter provides the information for the PA-3211 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
Safety Precautions
Experienced users can go to Chapter 3 System Configuration on page 3-1 for a quick start.
2 Getting Started
Page 13
PA-3211 SERIES USER MANUAL
Page: 2-2
Item
Qty
PA-3211
1
Manual / Driver DVD
1
Quick Reference Guide
1
AC Power Cord (Optional)
1
MSR Card Reader (Optional)
1
i-Button + MSR Card Reader (Optional)
1
Wireless LAN (IEEE 802.11 b/g/n) (Optional)
1
VFD (Optional)
1
Chapter 2 Getting Started
2.1 Package List
If you discover any of the items listed below are damaged or lost, please
contact your local distributor immediately.
Page 14
PA-3211 SERIES USER MANUAL
Page: 2-3
Chapter 2 Getting Started
2.2 System Views Without i-Button Module
2.2.1 Front View
2.2.2 Rear View
Unit: mm
Page 15
PA-3211 SERIES USER MANUAL
Page: 2-4
2.2.3 Top View
Chapter 2 Getting Started
Page 16
PA-3211 SERIES USER MANUAL
Page: 2-5
2.2.4 Bottom View
2.2.5 Quarter View
Chapter 2 Getting Started
Page 17
PA-3211 SERIES USER MANUAL
Page: 2-6
2.2.6 Side View
Chapter 2 Getting Started
Unit: mm
147.75
Page 18
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
Chapter 2 Getting Started
Page 19
PA-3211 SERIES USER MANUAL
Page: 2-8
2.3.3 Top View
Chapter 2 Getting Started
Page 20
PA-3211 SERIES USER MANUAL
Page: 2-9
2.3.4 Bottom View
2.3.5 Quarter View
Chapter 2 Getting Started
Page 21
PA-3211 SERIES USER MANUAL
Page: 2-10
2.3.6 Side View
Chapter 2 Getting Started
147.75
Page 22
PA-3211 SERIES USER MANUAL
Page: 2-11
System
CPU Support
ARM Cortex-A9
Memory
DDR3L, 1GB on board
Network
10/100Mbps Ethernet
Power Supply
60 Watt power adapter
Audio
2W speaker
System Weight
with power adaptor approx. 4kg
Dimension (W x H x D)
300mm x 299mm x 135mm
O.S. Support
Android 5.1
Storage
Flash
16GB eMMC on board
I/O Ports
Standard SDHC
Up to 32GB
USB
1 x USB 2.0 and 1 x Micro 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 RJ45
VGA
1x DB15
Cash Drawer
1 x RJ11 (+12V or +24V selectable)
DC IN
1 x 4-pin DC Power Jack
Peripheral
Customer Display
VFD, 20 columns and 2 lines, each column is 5 x 7
dots / UART interface
Printer
2" or 3" easy loading thermal printer with Auto cutter /
USB interface
MSR
ISO I/II/III , JIS I/II/UART interface
Display
LCD
10.1" TFT LCD
Resolution
1280 x 800
Brightness
400 cd/m²
Touch Screen
10.1" Capacitive Touch panel
Tilt Angle
24 ~ 30 degree
2.4 System Specifications
Chapter 2 Getting Started
Page 23
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%
Chapter 2 Getting Started
Page 24
PA-3211 SERIES USER MANUAL
Page: 2-13
Chapter 2 Getting Started
2.5 Safety Precautions
Before operating this system, read the following information carefully to protect your systems from damages, and extend the life cycle of the system.
1. Check the Line Voltage
The operating voltage for the power supply should be within the range of
100V to 240V AC; otherwise the system may be damaged.
2. Environmental Conditions
Place your PA-3211 on a sturdy, level surface. Be sure to allow enough
space around the system to have easy access needs.
Avoid installing your PA-3211 system in extremely hot or cold places.
Avoid direct sunlight exposure for a long period of time (for example, in a
closed car in summer time. Also avoid the system from any heating device.). Or do not use PA-3211 when it has been left outdoors in a cold winter day.
Avoid moving the system rapidly from 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 close to any radio-active device. Radio-active
device may cause signal interference.
Always shut down the operating system before turning off the power.
3. Handling
Avoid placing heavy objects on the top of the system.
Do not turn the system upside down. This may cause the hard drive to
malfunction.
Do not allow any objects to fall into this device.
If water or other liquid spills into the device, unplug the power cord
immediately.
4. Good Care
When the outside case gets stained, remove the stains using neutral washing
agent with a dry cloth.
Never use strong agents such as benzene and thinner to clean the surface of
the case.
If heavy stains are present, moisten a cloth with diluted neutral washing
agent or alcohol and then wipe thoroughly with a dry cloth.
If dust is accumulated on the case surface, remove it by using a special
vacuum cleaner for computers.
Page 25
PA-3211 SERIES USER MANUAL
Page: 3-1
3 System Configuration
This chapter contains helpful information that describes the jumper and connector settings, component locations, and pin 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 Connectors and Jumpers
Printer Board Component Locations & Pin
Assignment
Setting Printer Board Connectors and Jumpers
MB-1030 series
Setting VFD Board Connectors and Jumpers
Setting MSR
Page 26
Chapter 3 Hardware Configuration
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
UART (option)
UPDATE
MicroSD
LAN
USB1
USB (option)
VGA
UART
DRW2 (option)
DC IN
DRW1
extended with Y cable
DRW1-1 DRW1-2
Page 27
PA-3211 SERIES USER MANUAL
Page: 3-3
JUMPER Description
NAME
UART0/ UART 1/ UART 2/ UART 3/ UART Port Pin9 Voltage Selection
JP_COM0, JP_COM1, JP_COM2, JP_COM3, JP_COM5
USB1_2 or USB1 Connector Selection
JP_USB1
USB2_2 or USB2 Connector Selection
JP_USB2
Inverter Backlight Enable Selection
JP4
Touch Panel Signal Interface Selection
JP5, JP6
Cash Drawer Power Selection
JP7
Cash Drawer Control Selection
JP8
Mini PCIE USB 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 Port Connectors
DC Power Input Port
DC_IN1
Cash Drawer Port
DRW1 (DRW1-1, DRW1-2)
UART3 Connector (D-Sub 9 pins)
UART3
VGA Port (D-Sub 15 pins)
VGA1
USB 2.0 Port
USB1
LAN Port
CN_LAN1
MicroSD Port
MICRO_SD1
Micro USB Port
UPDATE
Motherboard Connectors
External USB 2.0 Port (side bezel)
USB2
Internal USB 2.0 Connectors
USB0, USB1_2, USB2_2, USB3, USB4_2, USB5
Internal UART Connectors
UART0, UART1, UART2, UART3_1, UART5
Power for Thermal Printer Connector
OUT_24V
DC12V, DC 5V Power Connectors
OUT_12V, OUT_5V
Chapter 3 Hardware Configuration
3.2 Jumper & Connector Quick Reference Table
Page 28
PA-3211 SERIES USER MANUAL
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 Connector
SPK1
HD Audio Connector
LINE_OUT1
I2C Connector
I2C
Chapter 3 Hardware Configuration
Page 29
PA-3211 SERIES USER MANUAL
Page: 3-5
WARNING: Always disconnect the power cord when you are working with connectors 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.
CAUTION: Observe precautions while handling electrostatic sensitive components. Make sure to ground yourself to prevent static charge while you are working on the connectors and jumpers. Use a grounding wrist strap and place all electronic components in any static-shielded devices.
Chapter 3 Hardware Configuration
3.3 Component Locations Of System Main Board
3.3.1 Top View of System Main Board
Figure 3-1. Main Board Component Location (Top View)
Page 30
PA-3211 SERIES USER MANUAL
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 the edges only. Do not touch the mainboard components.
Chapter 3 Hardware Configuration
Page 31
PA-3211 SERIES USER MANUAL
Page: 3-7
Chapter 3 Hardware Configuration
3.4 How To Set Jumpers
You can configure your board by setting the jumpers. A jumper consists of two or three metal pins with a plastic base mounted on the card. By using a small plastic "cap", also known as the jumper cap (with a metal contact inside), you are able to connect the pins. So you can configure your hardware settings 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 figure below shows what this looks like.
Jumpers & Caps
If a jumper has three pins, for example, labeled 1, 2 and 3. You can connect pins 1 and 2 to create one setting and shorting. You can also select to connect pins 2 and 3 to create another setting. The format of the jumper picture will be illustrated throughout this manual. The figure below shows different types of jumpers and jumper settings.
Page 32
PA-3211 SERIES USER MANUAL
Page: 3-8
Jumper diagrams
Chapter 3 Hardware Configuration
Jumper settings
Page 33
PA-3211 SERIES USER MANUAL
Page: 3-9
PIN
ASSIGNMENT
PIN
ASSIGNMENT
1
GND
2
GND
3
24VIN
4
+24V
PIN
ASSIGNMENT
1
Drwaer2_Open
2
Drawer Open
3
Drawer Sense
4
12V/24V
5
Drawer2_Sensor_R
6
GND
3 4
1 2
DC_IN1
16
DRW1
SW1-2
Chapter 3 Hardware Configuration
3.5 Function Buttons and Rear I/O Ports
3.5.1 Power Button
Function Button Name: SW1-2 Description: Power Button
Follow the instructions below to use the power button:
To turn on the system, press the power button briefly.
During normal operations, you can press the power button
briefly to turn off the panel backlight. 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 confirmation by prompting a message of power-off.
3.5.2 Power Input Port
Port Name: DC_IN1 Description: DC Power-In Port (rear I/O)
3.5.3 Cash Drawer Port
Port Name: DRW1 Description: DRW1 is used by default (rear I/O).
Page 34
Chapter 3 Hardware Configuration
PA-3211 SERIES USER MANUAL
Page: 3-10
PIN
ASSIGNMENT
1
NC
2
3
4
NC 5 GND
6
NC
7
8
9
RI / +5V / +12V selectable
PIN
ASSIGNMENT
PIN
ASSIGNMENT
1
RED
9
+5V
2
GREEN
10
GND
3
BLUE
11
NC 4 NC
12
DDCA DATA
5
GND
13
HSYNC
6
GND
14
VSYNC
7
GND
15
DDCA CLK
8
GND
-
-
VGA1
UART3
3.5.4 UART3 Connector
Port Name: UART3 Description: UART3 Connector, D-SUB 9 pins (rear I/O)
COM3_RXD_R COM3_TXD_R
COM3_RTS_R COM3_CTS_R
Note: UART3 and UART3_1 can't be used at the same time.
3.5.5 VGA Port
Port Name: VGA1 Description: VGA Port, D-Sub 15-pin (rear I/O)
Page 35
PA-3211 SERIES USER MANUAL
Page: 3-11
PIN
ASSIGNMENT
1
+5V (Max. current: 0.5A)
2
D- 3 D+ 4 GND
USB1
3.5.6 USB Port
Port Name: USB1 Description: USB Type A Port (rear I/O)
Chapter 3 Hardware Configuration
Page 36
PA-3211 SERIES USER MANUAL
Page: 3-12
PIN
ASSIGNMENT
1
MDI0+
2
MDI0-
3
MDI1+
4
MDI1-
5
LAN_VCC
6
LAN_VCC
7
TDCT
8
RDCT
9
NC
10
GND
LAN LED
Indicator
Color
Status
Description
Right Side LED
Green
On
10/100Mbps LAN Speed Indicator
Off
No LAN switch/ hub connected.
CN_LAN1
Chapter 3 Hardware Configuration
3.5.7 LAN Port
Port Name: CN_LAN1 Description: LAN RJ-45 Port (rear I/O)
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 the Ethernet connection.
Page 37
PA-3211 SERIES USER MANUAL
Page: 3-13
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
PIN
ASSIGNMENT
1
+5V
2
D- 3 D+
4
DET: high -> ADFU DET: low -> USB HUB
5
GND
MICRO_SD1
UPDATE
3.5.8 MicroSD Port
Port Name: MICRO_SD1 Description: MicroSD Port (rear I/O)
3.5.9 Micro USB Port
Port Name: UPDATE Description: Image Update Port (rear I/O)
Chapter 3 Hardware Configuration
Page 38
PA-3211 SERIES USER MANUAL
Page: 3-14
SELECTION
JUMPER
SETTING
JUMPER ILLUSTRATION
RI
1-2
(Default Setting)
2 1
6 5
JP_COM0 JP_COM2 JP_COM5
JP_COM1 JP_COM3
+12V
3-4
2 1
6 5
JP_COM0 JP_COM2 JP_COM5
6
5
2
1
JP_COM1 JP_COM3
+5V
5-6
2 1
6 5
JP_COM0 JP_COM2 JP_COM5
1
2
5
6
JP_COM1 JP_COM3
Chapter 3 Hardware Configuration
3.6 Setting Main Board Connectors and Jumpers
3.6.1 UART Port Voltage Selection (JP_COM0, JP_COM1, JP_COM2, JP_COM3, JP_COM5)
Jumper Name: JP_COM0, JP_COM1, JP_COM2, JP_COM3, JP_COM5 Description: UART0, UART 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 relevant jumpers on board.
Page 39
PA-3211 SERIES USER MANUAL
Page: 3-15
PIN
ASSIGNMENT
1
+5V (Max. current: 0.5A)
2
D- 3 D+ 4 GND
USB2
Chapter 3 Hardware Configuration
3.6.2 External USB 2.0 Port
Connector Location: USB2 Description: USB Type A Connector (on side bezel)
Page 40
PA-3211 SERIES USER MANUAL
Page: 3-16
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
JP9, JP10 are set as 1-2 (short) connected.
3. USB5 could be functioned when JP5,
JP6 are set as 1-2 (short) connected.
USB1_2/
USB4_2
USB0/
USB2_2/
USB3/
USB5
Chapter 3 Hardware Configuration
3.6.3 Internal USB 2.0 Connectors
Connector Location: USB0, USB1_2, USB2_2, USB3, USB4_2, USB5 Description: Internal USB 2.0 connectors
Page 41
PA-3211 SERIES USER MANUAL
Page: 3-17
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
PIN
ASSIGNMENT
PIN
ASSIGNMENT
1
NC 6 NC 2 COM1_RXD_R
7
COM1_RTS_R
3
COM1_TXD_R
8
COM1_CTS_R
4
NC
9
RI / +5V / +12V selectable
5
GND
10
NC
UART0/
UART1
UART2/
UART5
UART3_1
Chapter 3 Hardware Configuration
3.6.4 Internal UART Connectors
Connector Location: UART0, UART1, UART2, UART5 Description: Internal UART Connectors (wafer type)
Connector Location: UART3_1 Description: UART Connector
Note: UART3 and UART3_1 can't be used at the same time.
Page 42
PA-3211 SERIES USER MANUAL
Page: 3-18
PIN
ASSIGNMENT
1
24VIN
2
24VIN
3
GND
4
GND
PIN
ASSIGNMENT
1
VCC12
2
NC
3
GND
PIN
ASSIGNMENT
1
V5P0A
2
GND
OUT_24V
OUT_12V
OUT_5V
Chapter 3 Hardware Configuration
3.6.5 Power for Thermal Printer Connector
Connector Location: OUT_24V Description: Power for Thermal Printer Connector
3.6.6 Power Connectors (DC 12V, DC 5V)
Connector Location: OUT_12V Description: DC 12V Voltage Provider Connector
Connector Location: OUT_5V Description: DC 5V Voltage Provider Connector
Page 43
Chapter 3 Hardware Configuration
PA-3211 SERIES USER MANUAL
Page: 3-19
PIN
ASSIGNMENT
1
VCC5
2
GND
LED1_1
3.6.7 Power LED Connectors
Connector Location: LED1_1, LED1_2 Description: Power indication LED Connector
LED1_2
Page 44
PA-3211 SERIES USER MANUAL
Page: 3-20
PIN
ASSIGNMENT
PIN
ASSIGNMENT
1
LVDS_VCC
2
LVDS_VCC
3
Panel_reverse1
4
LVDS_VCC
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
23
GND
24
GND
25
LVDS_A0_DP
26
LVDS_A0_DN
27
LVDS_B3_DP
28
LVDS_B3_DN
29
GND
30
GND
31
LVDS_CLKB_DP
32
LVDS_CLKB_DN
33
LVDS_B2_DP
34
LVDS_B2_DN
35
GND
36
GND
37
LVDS_B1_DP
38
LVDS_B1_DN
39
LVDS_B0_DP
40
LVDS_B0_DN
LVDS1
3.6.8 LVDS Connector
Connector Location: LVDS1 Description: LVDS Connector
Chapter 3 Hardware Configuration
Page 45
PA-3211 SERIES USER MANUAL
Page: 3-21
PIN
ASSIGNMENT
PIN
ASSIGNMENT
1
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
V1P5S
29
GND
30
NC
31
NC
32
NC
33
NC
34
GND
35
GND
36
USB_N
37
GND
38
USB_P
39
V3P3A
40
GND
41
V3P3A
42
GND
43
GND
44
GND
45
NC
46
GND
47
NC
48
V1P5S
49
NC
50
GND
51
NC
52
V3P3A
M_PCIE
3.6.9 Mini PCIE Connector
Connector Location: M_PCIE Description: Mini PCIE Connector
Chapter 3 Hardware Configuration
Page 46
PA-3211 SERIES USER MANUAL
Page: 3-22
PIN
ASSIGNMENT
1
CONOFF
2
GND
PIN
ASSIGNMENT
1
VCC12/VCC5 by JP16
2
VCC12/VCC5 by JP16
3
GND
4
BRCTR_INV(Brightness)
5
GND
6
PANLE_BKLTEN_C (Enable) 5V/3.3V by JP4
SW2
INV1
3.6.10 Power Switch Connector 2
Connector Location: SW2 Description: Power Switch Connector 2
3.6.11 Inverter Connector
Connector Location: INV1 Description: Inverter Connector
Chapter 3 Hardware Configuration
Page 47
PA-3211 SERIES USER MANUAL
Page: 3-23
PIN
ASSIGNMENT
1
HD_FRONT-OUT1-R
2
HD_FRONT-OUT1-L
PIN
ASSIGNMENT
1
AOUTL
2
GND
3
AOUTR
SPK1
LINE_OUT1
3.6.12 External Speaker Connector
Connector Location: SPK1 Description: External Speaker Connector
3.6.13 HD Audio Connector
Connector Location: LINE_OUT1 Description: HD Audio Connector
Chapter 3 Hardware Configuration
Page 48
PA-3211 SERIES USER MANUAL
Page: 3-24
PIN
ASSIGNMENT
1
VCC3_3_LDO
2
GND
3
GND
4
I2CSCL
5
I2CSDA
6
GND
7
INT_18
8
RSTN_3
I2C
3.6.14 I2C Connector
Connector Location: I2C Description: I2C Connector
Chapter 3 Hardware Configuration
Page 49
PA-3211 SERIES USER MANUAL
Page: 3-25
SELECTION
JUMPER SETTING
JUMPER ILLUSTRATION
3.3V
1-2
JP4
5V
2-3
(Default Setting)
JP4
SELECTION
JUMPER SETTING
JUMPER ILLUSTRATION
USB5 Connector
1-2
(Default Setting)
JP5/JP6
Chapter 3 Hardware Configuration
3.6.15 Inverter Backlight Enable Selection
Jumper Name: JP4 Description: Inverter Backlight Enable Selection
3.6.16 Touch Panel Signal Interface Selection
Jumper Name: JP5, JP6 Description: Touch Panel Signal Interface Selection
Page 50
PA-3211 SERIES USER MANUAL
Page: 3-26
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
SELECTION
JUMPER SETTING
JUMPER ILLUSTRATION
HW Enable
1-2
(Default Setting)
3 1
JP14
SW Enable
2-3
3 1
JP14
Chapter 3 Hardware Configuration
3.6.17 Mini PCIE USB Selection
Jumper Name: JP9, JP10 Description: "USB4_2 signal support to" selection
3.6.18 LVDS Panel Input Voltage Selection
Jumper Name: JP14 Description: LVDS Panel Input Voltage Selection
Page 51
PA-3211 SERIES USER MANUAL
Page: 3-27
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
5V
3-5, 4-6 (JP15) 1-3, 2-4 (JP17)
5 6
1
2
JP15
2 1
6 5
JP17
+12V
3-5, 4-6 (JP17)
-
2 1
6
5
JP17
Chapter 3 Hardware Configuration
3.6.19 LVDS Voltage Selection
Jumper Name: JP15, JP17 Description: LVDS 3.3V / 5V / 12V Voltage Selection
Page 52
PA-3211 SERIES USER MANUAL
Page: 3-28
SELECTION
JUMPER SETTING
JUMPER ILLUSTRATION
5V
1-3, 2-4
(Default Setting)
2 1
6 5
JP16
12V
3-5, 4-6
2 1
6 5
JP16
3.6.20 Inverter Voltage Selection
Jumper Name: JP16 Description: Inverter Voltage Selection
Chapter 3 Hardware Configuration
Page 53
PA-3211 SERIES USER MANUAL
Page: 3-29
SELECTION
JUMPER SETTING
JUMPER ILLUSTRATION
ADFU Mode
1-2
3 1
JP18
USB HUB Function
2-3
(Default Setting)
3 1
JP18
Chapter 3 Hardware Configuration
3.6.21 Image Detection Selection
Jumper Name: JP18 Description: Image Detection Selection
Note: ADFU stands for actions device firmware upgrade.
Page 54
PA-3211 SERIES USER MANUAL
Page: 3-30
SELECTION
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
SELECTION
JUMPER SETTING
JUMPER ILLUSTRATION
USB2
Connector
1-3, 2-4
(Default Setting)
2 1
6 5
JP_USB2
USB2_2
Connector
3-5, 4-6
2 1
6
5
JP_USB2
Chapter 3 Hardware Configuration
3.6.22 USB1_2 or USB1 Selection
Jumper Name: JP_USB1 Description: USB1_2 or USB1 Selection
3.6.23 USB2 or USB2_2 Selection
Jumper Name: JP_USB2 Description: USB2 or USB2_2 Connector Selection
Page 55
PA-3211 SERIES USER MANUAL
Page: 3-31
3 1
DRW1
DRW1-2
DRW1-1
6 5
4 3
2
1
6 5
4
3 2
1
6
5
4 3
2
1
JP37
GPIO1
GPIO2
DRW1
DRW1-1
(Connect
with
Y-cable)
DRW1-2
Chapter 3 Hardware Configuration
3.6.24 Cash Drawer Control Selection (JP8)
DRW1: RJ-11 Cash Drawer Connector (+12V/+24V selectable, default: +12V). DRW1 is used by default. If you need a second port, adopt either way below:
Cash Drawer1 (DRW1) Set the pin-header jumper JP8 as 1-2 connected (
) and use a Y-cable
(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 by the jumper JP8 if necessary. You can split DRW into two channels of DRW1-1 & DRW1-2 with a Y-cable. DRW1, DRW1-1, DRW1-2 shares the same power source (refer to the Cash Drawer Power Selection section for adjustment, default: 12V).
Page 56
PA-3211 SERIES USER MANUAL
Page: 3-32
SELECTION
JUMPER SETTING
JUMPER ILLUSTRATION
Drawer2
1-2
3 1
JP8
Drawer1
2-3
(Default Setting)
3 1
JP8
Chapter 3 Hardware Configuration
3.6.25 Cash Drawer Control Selection
Jumper Name: JP8 Description: Cash Drawer Control Selection
Page 57
PA-3211 SERIES USER MANUAL
Page: 3-33
SELECTION
JUMPER SETTING
JUMPER ILLUSTRATION
24V
1-2
JP7
12V
2-3
(Default Setting)
JP7
Chapter 3 Hardware Configuration
3.6.26 Cash Drawer Power Selection
Jumper Name: JP7 Description: DRW1, DRW1-1, DRW1-2 Power Selection
Page 58
PA-3211 SERIES USER MANUAL
Page: 3-34
1
1
5
13
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
Chapter 3 Hardware Configuration
3.7 Printer Board Component Locations & Pin Assignment
3.7.1 Printer Board: MB-1030 series
Figure 3-2. MB-1030 Printer Board Component Locations
Page 59
PA-3211 SERIES USER MANUAL
Page: 3-35
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-END Sensor Connector
CN2
USB Interface Connector
USB_CN1
Terminal Assignment Connector
CN1
Chapter 3 Hardware Configuration
3.7.1.1 Jumper & Connector Quick Reference Table
Page 60
PA-3211 SERIES USER MANUAL
Page: 3-36
PIN
ASSIGNMENT
1
GND
2
GND
3
+24V
4
+24V
PIN
ASSIGNMENT
PIN
ASSIGNMENT
1
NC 6 DSR /CTS
2
RXD
7
RTS
3
TXD
8
CTS
4
DTR /RTS
9
NC 5 GND
10
NC
4
1
24V_CN1
1
9 10
2
COM1
Chapter 3 Hardware Configuration
3.7.2 Setting Printer Board Connectors and Jumpers
3.7.2.1 Power Supply Connector
24V_CN1: Power Supply Wafer
3.7.2.2 RS-232 Interface Connector
COM1: RS-232 Interface Connector
Page 61
PA-3211 SERIES USER MANUAL
Page: 3-37
PIN
ASSIGNMENT
FUNCTION
1
24V
Head drive power
2
24V
Head drive power
3
24V
Head drive power
4
24V
Head drive power
5
24V
Head drive power
6
24V
Head drive power
7
DAT
Print data output
8
CLK
Synchronizing signal 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 Power
19
GND
Thermistor GND
20
GND
Thermistor GND
21
TH
Thermistor signal
22
NC
Unused
23
DST2
Head strobe signal
24
DST1
Head strobe signal
25
GND
Head GND
26
GND
Head GND
27
GND
Head GND
28
GND
Head GND
29
GND
Head GND
30
GND
Head GND
31
LATCH
Print data latch
32
24V
Head drive power
33
24V
Head drive power
34
24V
Head drive power
35
24V
Head drive power
1
50
PRINT_CN1
Chapter 3 Hardware Configuration
3.7.2.3 Thermal Head/Motor/Sensor Connector
PRINT_CN1: Thermal head/motor/sensor connector
Page 62
PA-3211 SERIES USER MANUAL
Page: 3-38
PIN
ASSIGNMENT
FUNCTION
36
24V
Head drive power
37
24V
Head drive power
38
NC
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
Unused
44
FG
Frame GND
45
FG
Frame GND
46
NC
Unused
47
2A
Motor drive signal
48
1B
Motor drive signal
49
1A
Motor drive signal
50
2B
Motor drive signal
Chapter 3 Hardware Configuration
Page 63
PA-3211 SERIES USER MANUAL
Page: 3-39
PIN
ASSIGNMENT
FUNCTION
1
NC
Unused
2
Vcs
Power supply of the Home position sensor
3
GND
GND of the Home position sensor
4
CUTS
Signal of the Home position sensor 5 2B-1
Auto-cutter motor 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 signal
11
1A-1
Auto-cutter motor drive signal
12
1A-2
Auto-cutter motor drive signal
PIN
ASSIGNMENT
FUNCTION
1
Vns
Power supply of the near end sensor 2 NS
Signal of the near end sensor
3
GND
GND of the near end sensor
12
1
CUT_CN1
13
CN2
3.7.2.4 Auto-Cutter Connector
CUT_CN1: Auto-cutter Connector
Chapter 3 Hardware Configuration
3.7.2.5 Paper-Near-END Sensor Connector
CN2: Paper-near-end sensor connector
Page 64
PA-3211 SERIES USER MANUAL
Page: 3-40
PIN
ASSIGNMENT
PIN
ASSIGNMENT
1
Vbus
4
GND
2
D- 5 GND
3
D+ - -
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 signal
8
GND
GND
9
DRS
Drawer sensor signal
10
DSW
Drawer switch signal
11
Vdu
Drive terminal for the drawer (Vp side)
12
GNDdu
Drive terminal for the drawer (GND side)
13
GND
GND
14
NC
Unused
1
5
USB_CN1
14
1
CN1
Chapter 3 Hardware Configuration
3.7.2.6 USB Interface Connector
USB_CN1: USB interface connector
3.7.2.7 Terminal Assignment Connector
CN1: Terminal assignment connector
Page 65
Chapter 3 Hardware Configuration
PA-3211 SERIES USER MANUAL
Page: 3-41
JP12V
CN1
1
1
16
3.8 VFD Board Component Locations & Pin Assignment
3.8.1 VFD Board: MB-4103
Figure 3-3. MB-4103 VFD Board Component Locations
Page 66
PA-3211 SERIES USER MANUAL
Page: 3-42
Jumper / Connector
NAME
Power Switch Selection
JP12V
RS-232 Serial Interface Connector
CN1
Chapter 3 Hardware Configuration
3.8.2 Jumper & Connector Quick Reference Table
Page 67
PA-3211 SERIES USER MANUAL
Page: 3-43
SELECTION
JUMPER SETTING
JUMPER ILLUSTRATION
OFF
1-2
3
1
JP12V
ON
2-3
(Default Setting)
3
1
JP12V
Chapter 3 Hardware Configuration
3.8.3 Setting MB-4103 VFD Board Connectors and Jumpers
3.8.3.1 Power Switch Selection
JP12V: Power Switch Selection
Page 68
PA-3211 SERIES USER MANUAL
Page: 3-44
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
14
NC 7 CTS
15
NC
8
+12V/+5V
16
NC
1
16
CN1
Chapter 3 Hardware Configuration
3.8.3.2 RS-232 Serial Interface Connector
CN1: RS-232 serial interface wafer
Page 69
PA-3211 SERIES USER MANUAL
Page: 3-45
IO1
I_BUTTON1
1 12
1
2
PIN
ASSIGNMENT
1
I_B1
2
GND
PIN
ASSIGNMENT
PIN
ASSIGNMENT
1
CLK_KB
7
RX_MSR
2
CLK_PC
8
TX_MSR
3
DATA_KB
9
GND
4
DATA_PC
10
USB_D+_R
5
+5V
11
USB_D-_R
6
CHASSIS GND
12
GND
1
2
I_BUTTON1
1 12
IO1
Chapter 3 Hardware Configuration
3.9 MSR Board Component Locations & Pin Assignment
3.9.1 MB-3013
Figure 3-4. MB-3013 MSR Board Component Locations
3.9.1.1 Information Button Reader
I_BUTTON1: Information button reader
3.9.1.2 Output Connector
IO1: Output wafer
Page 70
PA-3211 SERIES USER MANUAL
Page: 4-1
4 Software Utilities
This chapter provides the Commands 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 Board (MB-1030) Commands
- VFD (MB-4103) Commands
API
Burning the Image onto PB-3211 Board
Page 71
PA-3211 SERIES USER MANUAL
Page: 4-2
Registry Name
Default Data
Notes
BaudRate
115200
-
BitLength
8
-
Parity
0
-
Stop
1
-
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 V ESC M
V V GS L
V V DLE ENQ
V ESC c 4
V GS P
V V DLE DC4
V V ESC c 5
V GS V
V V ESC FF
V ESC d
V V GS W
V ESC SP
V V ESC p
V V GS \
ESC !
V V ESC t
V V GS ^
ESC $
V V ESC {
V V GS a
V V ESC %
FS g 1
GS b
ESC &
FS g 2
GS f
V V ESC *
V FS p
V V GS h
V V ESC
V V FS q
V V GS k
V V ESC 2
V V GS !
V V GS r
V V ESC 3
V V GS $
V GS v 0
V V ESC =
V V GS *
V V GS w
V V ESC ?
GS ( A
V V
ESC @
V V GS ( K
V
Chapter 4 Software Utilities
4.1 Peripheral Devices
The Commands lists for embedded peripheral devices of the system - printer board and VFD – are explicitly included in this section.
4.1.1 Printer Board: MB-1030
4.1.1.1 Commands List
1. Printer Registry Operation
1. Commands List Standard Commands
Page 72
PA-3211 SERIES USER MANUAL
Page: 4-3
Command
MB-1030
RA
MB-1030
RB
FS ! V V
FS & V V
FS V
FS . V V
FS 2
FS C
FS S V
FS W V
Command
MB-1030
RA
MB-1030
RB
ESC i V V
ESC m
V V DC2 ; V
GS p 1
V
Control
Codes
Hexadecimal
Codes
Function
Standard
Mode
Page
Mode
<HT>
09
Horizontal 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 EOT>
10 04
Real-time status transmission
V
V
<DLE ENQ>
10 05
Real-time request to printer
V
V
<DLE DC4>
10 14
Real-time output of specified pulse
V
V
<ESC FF>
1B 0C
Print data in page mode
Ignored
V
<ESC SP>
1B 20
Set right-side character spacing
V
V
<ESC !>
1B 21
Select print mode(s)
V
V
<ESC $>
1B 24
Set absolute print position.
V
V
<ESC *>
1B 2A
Select bit image mode
V
V
Kanji Control Commands
Other Commands
COMMANDS LIST Standard Commands
Chapter 4 Software Utilities
Page 73
PA-3211 SERIES USER MANUAL
Page: 4-4
Control
Codes
Hexadecimal
Codes
Function
Standard
Mode
Page
Mode
<ESC ->
1B 2D
Turn underline mode on/off.
V
V
<ESC 2>
1B 32
Select default line spacing
V
V
<ESC 3>
1B 33
Set line spacing
V
V
<ESC =>
1B 3D
Select peripheral device
V
V
<ESC @>
1B 40
Initialize printer
V
V
<ESC D>
1B 44
Set horizontal tab position
V
V
<ESC E>
1B 45
Turn emphasized mode on/off
V
V
<ESC G>
1B 47
Turn double-strike mode on/off
V
V
<ESC J>
1B 4A
Print and feed paper
V
V
<ESC L>
1B 4C
Select page mode
Ignored
<ESC M >
1B 4D
Select character font
V
V
<ESC R>
1B 52
Select an international character set
V
V
<ESC S>
1B 53
Select standard mode
Ignored
V
<ESC T>
1B 54
Select print direction in page mode
V
<ESC V>
1B 56
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 sensor(s) to output paper-end signals
V
V
<ESC c 4>
1B 63 34
Select paper sensor(s) to stop printing
V
V
<ESC c 5>
1B 63 35
Enable/disable panel buttons
V
V
<ESC d>
1B 64
Print and feed n lines
V
V
<ESC i>
1B 69
Full cut
V
Disabled
<ESC m>
1B 6D
Partial cut
V
Disabled
<ESC p>
1B 70
General pulse
V
V
<ESC t>
1B 74
Select character code table
V
V
<ESC {>
1B 7B
Turn upside-down printing mode on/off
<FS p>
1C 70
Print NV bit image
V
Disabled
<FS q>
1C 71
Define NV bit image
Disabled
<GS !>
1D 21
Select character size
V
<GS $>
1D 24
Set absolute vertical print position in page mode
Ignored
V
<GS *>
1D 2A
Define download bit images
V
V
<GS ( A>
1D 28 41
Execute test print
V
Disabled
<GS ( K>
1D 28 4B
Set print density
V
Disabled
<GS />
1D 2F
Print download bit image
V
Chapter 4 Software Utilities
Page 74
PA-3211 SERIES USER MANUAL
Page: 4-5
Control
Codes
Hexadecimal
Codes
Function
Standard
Mode
Page
Mode
<GS B>
1D 42
Turn white/black reverse printing mode on/off
V
V
<GS H>
1D 48
Select printing position of HRI characters
V
V
<GS I>
1D 49
Transmit printer ID
V
Disabled
<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
Ignored
<GS a>
1D 61
Enable/disable Automatic Status Back (ASB)
V
V
<GS f>
1D 66
Select font for HRI characters
V
V
<GS h>
1D 68
Set bar code height
V
V
<GS k>
1D 6B
Print bar code
V <GS r>
1D 72
Transmit status
V
V
<GS v 0>
1D 76 30
Print raster bit image
Disabled
<GS w>
1D 77
Set bar code width
V
V
Chapter 4 Software Utilities
Page 75
PA-3211 SERIES USER MANUAL
Page: 4-6
Control
Codes
Hexadecimal
Code
Function
Standard
Mode
Page
Mode
<DC2 ;>
12 3B
Specifies a module size of QR Code and Data Matrix
V
V
<GS p 1>
1D 70 01
Prints QR Code data based on the specified contents
V
V
Control
Codes
Hexadecimal
Codes
Function
Standard
Mode
Page
Mode
<FS !>
1C 21
Set print mode(s) for Kanji characters
V
V
<FS &>
1C 26
Select 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-size mode on/off for Kanji characters
V
V
Chapter 4 Software Utilities
Two-dimensional Bar Code Commands
Kanji Control Commands
(when the Japanese, Simplified Chinese, Traditional Chinese, or Korean model is used.)
Command classification
Executing : Printer executes the command which does not affect the following data. Setting: Printer uses flags to make settings, and those settings affect the following data.
○: Enabled. : Enabled only when the command is set at the beginning of a line.
●: Enabled only when data is not present in the printer buffer. ▲: Only value setting is possible.
Disabled: Parameters are processed as printable data. Ignored: All command codes including parameters are ignored and nothing is executed.
Page 76
PA-3211 SERIES USER MANUAL
Page: 4-7
[Name]
Horizontal tab
[Format]
ASCII HT Hex. 09 Decimal 9
[Range]
N/A
[Description]
Moves print position to next horizontal tab position.
This command is ignored if the next tab is not set. If the next tab position exceeds the print region, the print position is moved
to [print region + 1].
The horizontal tab position is set by ESC D (Set/cancel horizontal tab
position).
When the print position is at the [print region + 1] 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 8 characters of Font
A (the 9th, 17th, 25th positions, etc.)
[Name]
Print and line feed
[Format]
ASCII LF Hex. 0A Decimal 10
[Range]
N/A
[Description]
Prints the data in the print buffer and performs a line feed based on the set line feed amount. After execution, makes the top of the line the next print starting position.
[Name]
Print and recover to standard mode (in page mode)
[Format]
ASCII FF Hex. 0C Decimal 12
[Range]
N/A
[Description]
Prints all buffered data to the print region collectively, then recovers to the standard mode.
COMMANDS DETAILS STANDARD COMMANDS DETAILS
HT
LF
Chapter 4 Software Utilities
FF
Page 77
PA-3211 SERIES USER MANUAL
Page: 4-8
All buffer data is deleted after printing. The print area set by ESC W (Set print region in page mode) is reset to the
default setting.
No paper cut is executed. Sets the print position to the beginning of the next line after execution. This command is enabled only in page mode.
[Name]
Print and carriage return
[Format]
ASCII CR Hex. 0D Decimal 13
[Range]
N/A
[Description]
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 with serial interface models. Sets the print position to the beginning of the next line after execution.
[Name]
Cancel print data in page mode
[Format]
ASCII CAN Hex. 18 Decimal 24
[Range]
N/A
[Description]
Deletes all print data in the currently set print region in page mode.
This command is enabled only in page mode. Portions included in the currently set print region are also deleted, even if
previously set print region data.
CR
CAN
Chapter 4 Software Utilities
Page 78
PA-3211 SERIES USER MANUAL
Page: 4-9
[Name]
Real-time status transmission.
[Format]
ASCII OLE EOT n Hex. 10 04 n Decimal 16 4 n
[Range]
1 ≤ n ≤ 4
[Description]
Transmits the selected printer status specified by n in real time, according to the following parameters: n = 1 : Transmit printer status. n = 2 : Transmit off-line status. n = 3 : Transmit error status. n = 4 : Transmit paper roll sensor status.
n = 1 : Printer status.
Bit
On / Off
Hex
Decimal
Function
0
Off
00 0 Not used. Fixed to Off.
1
On
02 2 Not used. Fixed to On.
2
Off
00 0 Drawer open/close 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
00 0 Not used. Fixed to Off.
n = 2 : Off-line status.
Bit
On / Off
Hex
Decimal
Function
0
Off
00 0 Not used. Fixed to Off.
1
On
02 2 Not used. Fixed to On.
2
Off
00 0 Cover is closed.
On
04 4 Cover is open.
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
Printing stops due to paper end.
6
Off
00 0 No error.
On
40
64
Error occurs.
7
Off
00 0 Not used. Fixed to Off.
n = 3 : Error status
Bit
On / Off
Hex
Decimal
Function
0
Off
00 0 Not used. Fixed to Off.
1
On
02 2 Not used. Fixed to On.
2
Off
00 0 Not used. Fixed to Off.
DLE EOT n
Chapter 4 Software Utilities
Page 79
PA-3211 SERIES USER MANUAL
Page: 4-10
3
Off
00 0 Not used. Fixed to Off.
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
00 0 Not used. Fixed to Off.
n = 4 : Continuous paper sensor status.
Bit
On / Off
Hex
Decimal
Function
0
Off
00 0 Not used. Fixed to Off.
1
Off
02 2 Not used. Fixed to On.
2
Off
00 0 No paper-near-end stop.
On
04 4 Printing stops due to paper near end.
3
Off
00 0 No paper-near-end stop.
On
08 8 Printing stops due 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 0 Not used. Fixed to Off.
[Name]
Real-time request to printer.
[Format]
ASCII DLE ENQ n Hex. 10 05 n Decimal 16 5 n
[Range]
1 n 2
[Description]
Responds to requests n specifications from the host in real-time. n specifications are below. n = 1: Recover from the error and start printing from the line where the error occurred. n = 2: Recover from error after clearing the reception buffer and print buffer. This command is enabled even when the printer specification is disabled by ESC = (select peripheral devices).
DLE ENQ n
Chapter 4 Software Utilities
Page 80
PA-3211 SERIES USER MANUAL
Page: 4-11
[Name]
Real-time output of specified pulse.
[Format]
ASCII DLE DC4 n m t Hex. 10 14 n m t Decimal 16 20 n m t
[Range]
n = 1 m = 0,1 1 ≤ t ≤ 8
[Description]
This outputs a signal specified by t to the connector pin specified by m. m = 0: #2 Pin of the drawer kick connector m = 1: #5 Pin of the drawer kick connector On time is set to t x 100 msec; Off time is set to t x 100 msec.
[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 page mode. Holds the following information after printing.
a. Expanded data b. Character print direction selection in page mode (ESC T) c. Set print region (ESC W) in the page mode. d. Character expansion position
[Name]
Set right-side character spacing.
[Format]
ASCII ESC SP n Hex. 1B 20 n Decimal 27 32 n
[Range]
0 ≤ n ≤ 255 Initial Value n = 0
[Description]
This command sets the size of space to right of character. Right space = n × [horizontal motion units].
DLE DC4 n m t
ESC FF
Chapter 4 Software Utilities
ESC SP n
Page 81
PA-3211 SERIES USER MANUAL
Page: 4-12
[Name]
Select print mode(s).
[Format]
ASCII ESC ! n Hex. 1B 21 n Decimal 27 33 n
[Range]
0 ≤ n ≤ 255 Initial Value n = 0
[Description]
This command selects print mode(s) with bits having following meanings.
Bit
On / Off
Hex
Decimal
Function
0
Off
00 0 Character font A selected.
On
01 1 Character font B selected.
1
Off
00 0 Not used. Fixed to Off.
2
Off
00 0 Not used. Fixed to Off.
3
Off
00 0 Emphasized mode not selected.
On
08 8 Emphasized mode 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 Off.
7
Off
00 0 Underline mode not selected.
On
80
128
Underline mode selected.
[Name]
Set absolute print position.
[Format]
ASCII ESC $ nL nH Hex. 1B 24 nL nH Decimal 27 36 nL nH
[Range]
0 ≤ (nL + nH x 256) ≤ 65535 (0 ≤ nH ≤ 255, 0 ≤ nL ≤ 255)
[Description]
This command specifies the next print starting position in reference to the left edge of the print area. The printing start position is calculated using (nL + nH x
256) x (vertical or horizontal motion units). Specifications exceeding the print range are ignored.
ESC ! n
ESC $ nL nH
Chapter 4 Software Utilities
Page 82
PA-3211 SERIES USER MANUAL
Page: 4-13
[Name]
Select bit image mode
[Format]
ASCII ESC * m nL nH d1...dk Hex. 1B 2A m nL nH d1...dk Decimal 27 42 m nL nH d1...dk
[Range]
m = 0,1,32,33 0 ≤ nL ≤ 255 0 ≤ nH ≤ 3 0 ≤ d ≤ 255
[Description]
Selects a bit-image 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 of Vert. Dir. Dots
Density of Hor. Dir. Dots
Data Count (k)
0
8 dot single density
8
67 DPI
101 DPI
nL+nH×256
1
8 dot double density
8
67 DPI
203 DPI
nL+nH×256
32
24 dot single density
24
203 DPI
101 DPI
(nL+nH×256) ×3
33
24 dot double density
24
203 DPI
203 DPI
(nL+nH×256) ×3
ESC * m nL nH d1…dk
Chapter 4 Software Utilities
Page 83
PA-3211 SERIES USER MANUAL
Page: 4-14
[Name]
Turn underline mode on/off.
[Format]
ASCII ESC - n Hex. 1B 2D n Decimal 27 45 n
[Range]
0 ≤ n ≤ 2 Initial Value n = 0
[Description]
This command enables the print data following it to be printer out underlined. The underline mode varied depending on the following values of n:
n
Function
0
Turns off underline mode
1
Turns on underline mode, set at 1-dot thick
2
Turns on underline mode, set at 2-dot thick
[Name]
Select default line spacing.
[Format]
ASCII ESC 2 Hex. 1B 32 Decimal 27 50
[Range]
N/A
[Description]
This command sets the default line spacing The default line spacing is approximately 4.25 mm, which is equivalent to 34 dots.
[Name]
Set line spacing.
[Format]
ASCII ESC 3 n Hex. 1B 33 n Decimal 27 51 n
[Range]
0 ≤ n ≤ 255 Initial Value n = 34
[Description]
This command sets the line spacing using a following rule. Line spacing = n x (vertical or horizontal motion units)
ESC - n
ESC 2
Chapter 4 Software Utilities
ESC 3 n
Page 84
PA-3211 SERIES USER MANUAL
Page: 4-15
[Name]
Select peripheral device.
[Format]
ASCII ESC = n Hex. 1B 3D n Decimal 27 61 n
[Range]
0 ≤ n ≤ 255 Initial Value n = 1
[Description]
Selects the peripheral device for which the data is effective from the host computer.
Bit
Function
0
1” 7 Undefined
6
Undefined
5
Undefined
4
Undefined
3
Undefined
2
Undefined
1
Undefined
0
Printer
Invalid
Valid
[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 settings.
[Name]
Set horizontal tab position
[Format]
ASCII ESC D n1...nk NUL Hex. 1B 44 n1...nk NUL Decimal 27 68 n1...nk NUL
[Range]
1 n 255 0 k 32
[Description]
Sets horizontal tab position n specifies the column number for setting a horizontal tab position from the
left margin or the beginning of the line.
k indicates the number of horizontal tab positions to be set.
ESC = n
ESC @
Chapter 4 Software Utilities
ESC D n1…nk NUL
Page 85
PA-3211 SERIES USER MANUAL
Page: 4-16
[Name]
Turn emphasized mode on / off.
[Format]
ASCII ESC E n Hex. 1B 45 n Decimal 27 69 n
[Range]
0 ≤ n ≤ 255 Initial Value n = 0
[Description]
This command turns emphasized mode on or off by toggling the least significant bit of n as followings: When the LSB of n is 0, the emphasized mode is turned off. When the LSB of n is 1, the emphasized mode is turned on.
[Name]
Turn double-strike mode on/off.
[Format]
ASCII ESC G n Hex. 1B 47 n Decimal 27 71 n
[Range]
0 ≤ n ≤ 255 Initial Value n = 0
[Description]
Specifies or cancels double printing. Cancels double printing when 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 command is enabled for ANK characters
[Name]
Print and feed paper.
[Format]
ASCII ESC J n Hex. 1B 4A n Decimal 27 74 n
[Range]
0 ≤ n ≤ 255
[Description]
This command prints the data in the print buffer and feeds the paper [n X vertical motion unit].
Sets the print position to the beginning of the next line after printing. In standard mode, the printer uses the vertical motion unit (y). In page mode, this command functions as follows, depending on the starting
position of the printable area:
(1) When the starting position is set to the upper left or lower right of the
printable area using
ESC T
, the vertical motion unit (y) is used.
ESC E n
ESC G n
Chapter 4 Software Utilities
ESC J n
Page 86
PA-3211 SERIES USER MANUAL
Page: 4-17
(2) When the starting position is set to the upper right or lower left of the
printable area using
ESC T
, the horizontal motion unit (x) is used.
The maximum line spacing is 150mm {5.9 inches }. When the setting value
exceeds the maximum, it is converted to the maximum automatically.
[Name]
Select page mode
[Format]
ASCII ESC L Hex. 1B 4C Decimal 27 76
[Range]
N/A
[Description]
Enabled only when input with the top of line. Invalid when input by page mode. Returns to standard mode after the following commands are issued.
a. FF (Print and recover to page mode) b. ESC S (Select standard mode)
Character expansion position has the starting 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 for the following commands the values
of which can be set independently in standard mode and page mode to
those for page mode a. Set space amount: ESC SP, FS S b. Set line feed amount: ESC 2, ESC 3
The following commands are enabled only when in page mode.
a. ESC V : Specify/cancel character 90 degree clockwise rotation b. ESC a : Position alignment c. ESC { : Specify/cancel upside-down printing d. GS W : Set print region width
The following command is ignored in page mode.
a. GS (A : Test print
The following commands are invalid in page mode.
a. FS p : Print NV bit image b. FS q : Define NV bit image c. GS v 0 : Print raster bit images d. GS L : Set left margin
Recover to standard mode using ESC @ (initialize printer).
ESC L
Chapter 4 Software Utilities
Page 87
PA-3211 SERIES USER MANUAL
Page: 4-18
[Name]
Select character font.
[Format]
ASCII ESC M n Hex. 1B 4D n Decimal 27 77 n
[Range]
n = 0, 1 Initial Value n = 0
[Description]
This command selects ANK character fonts using n as follows:
n
Function
0
Character font A selected
1
Character font B selected
[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
[Description]
This command specifies international characters according to n values.
n
Character Set
0
USA 1 France
2
Germany
3
UK 4 Denmark I
5
Sweden
6
Italy 7 Spain
8
Japan
9
Norway
10
Denmark II
11
Spain II
12
Latin America
13
Korea
14
Russia
15
Slavonic
ESC M n
ESC R n
Chapter 4 Software Utilities
Page 88
PA-3211 SERIES USER MANUAL
Page: 4-19
16
User Define
[Name]
Select standard mode
[Format]
ASCII ESC S Hex. 1B 53 Decimal 27 83
[Range]
N/A
[Description]
Valid only when input by page mode. All buffer data in page mode is deleted. Sets the print position to the beginning of the next line after execution. The print area set by ESC W (Set print region in page mode) is reset to the
default setting.
This command switches the settings for the following commands the values
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 spacing d. ESC 3 :Set line spacing
The following commands are effective only when in standard mode.
a. ESC W :Set print region in page mode b. ESC T :Select character print direction in page mode
The following commands are ignored in standard mode.
a. GS $ :Specify absolute position for character vertical direction in page
Mode
b. GS \: :Specify relative position for character vertical direction in page
mode
Standard mode is selected when the power is turned on, the printer is reset or
initialized (ESC @).
ESC S
Chapter 4 Software Utilities
Page 89
PA-3211 SERIES USER MANUAL
Page: 4-20
[Name]
Select print direction in page mode.
[Format]
ASCII ESC T n Hex. 1B 54 n Decimal 27 84 n
[Range]
0 n 3, 48 n 51 Initial Value n = 0
[Description]
Selects the character printing direction and starting point in page mode.
n
Print Direction
Starting Point
0, 48
Left to Right
Upper Left (A in the figure below)
1, 49
Bottom to Top
Lower Left (B in the figure 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)
[Name]
Turn 90 degree clockwise rotation mode on/off
[Format]
ASCII ESC V n Hex. 1B 56 n Decimal 27 86 n
[Range]
0 n 1, 48n 49 Initial Value n = 0
[Description]
Specifies or cancels character 90 degree clockwise rotation.
Underlines are not applied to characters rotated 90 degrees clockwise
even when ESC !,ESC - or FS - commands are given.
If 90 degree clockwise rotation is specified, double-wide and double-tall
commands in the 90 rotation mode enlarges characters in the opposite
n
Function
0, 48 1, 49
ESC T n
Chapter 4 Software Utilities
ESC V n
Page 90
PA-3211 SERIES USER MANUAL
Page: 4-21
directions to double-wide and double-tall commands.
This command only affects printing in standard mode. In page mode, this command is only effective for the setting. This command is effective for ANK and Chinese characters.
[Name]
Set printing area in page mode
[Format]
ASCII ESC W xL xH yL yH dxL dxH dyL dyH Hex. 1B 57 xL xH yL yH dxL dxH dyL dyH Decimal 27 87 xL xH yL yH dxL dxH dyL dyH
[Range]
0 xL, xH, yL, yH, dxL, dxH, dyL, dyH 255 However, this excludes dxL = dxH = 0 or dyL = dyH = 0 Initial Value xL = xH = yL = yH = 0
[Description]
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] Horizontal direction length [(dxL + dxH x 256) basic calculated pitch] Vertical direction length = [(dyL + dyH x 256) basic calculated pitch] (X+Dx-1)<576 (3 inch, basic calculated pitch=1);(X+Dx-1)<432 (2 inch,
basic calculated pitch=1)
(Y+Dy-1)<768 (basic calculated pitch=1); If (horizontal starting position + printing area width) exceeds the printable
area, the printing area width is automatically set to (horizontal printable area - horizontal starting position).
If (vertical starting position + printing area height) exceeds the printable
area, the printing area height is automatically set to (vertical printable area
- vertical starting position).
ESC W xL xH yL yH dxL dxH dyL dyH
Chapter 4 Software Utilities
Page 91
PA-3211 SERIES USER MANUAL
Page: 4-22
[Name]
Set relative print position.
[Format]
ASCII ESC \ nL nH Hex. 1B 5C nL nH Decimal 27 92 nL nH
[Range]
0 ≤ (nL + nH x 256) ≤ 65535 (0 ≤ nL 255, 0 ≤ nH ≤ 255)
[Description]
Specifies the next print starting position with a relative position based on the current position. 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..
[Name]
Select justification.
[Format]
ASCII ESC a n Hex. 1B 61 n Decimal 27 97 n
[Range]
0 ≤ n ≤2 Initial Value n = 0
[Description]
This command specifies position alignment for all data in one line in standard mode, using n as follows:
n
Alignment
0
Left alignment
1
Center alignment
2
Right alignment
This command has no effect in page mode.
ESC \ nL nH
ESC a n
Chapter 4 Software Utilities
Page 92
PA-3211 SERIES USER MANUAL
Page: 4-23
[Name]
Select paper sensor(s) to output paper-end signals.
[Format]
ASCII ESC c 3 n Hex. 1B 63 33 n Decimal 27 99 51 n
[Range]
Specification: 0 ≤ n ≤ 3 Initial Value n = 0
[Description]
Selects paper out detector that outputs a paper out signal when paper has run out.
Bit
Function
“0”
“1”
7
Undefined
6
Undefined
5
Undefined
4
Undefined
3
Undefined
2
Undefined
1
Paper roll near end detector
Invalid
Valid 0 Paper roll near end detector
Invalid
Valid
[Name]
Select paper sensor(s) to stop printing.
[Format]
ASCII ESC c 4 n Hex. 1B 63 34 n Decimal 27 99 52 n
[Range]
Specification: 0 ≤ n ≤ 3 Initial Value n = 0
[Description]
Selects the paper out detector to stop printing when paper has run out.
Bit
Function
“0”
“1”
7
Undefined
6
Undefined
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 3 n
ESC c 4 n
Chapter 4 Software Utilities
Page 93
PA-3211 SERIES USER MANUAL
Page: 4-24
[Name]
Enable/disable panel buttons
[Format]
ASCII ESC c 5 n Hex. 1B 63 35 n Decimal 27 99 53 n
[Range]
Specification: 0 ≤ n ≤ 255 Initial Value n = 0
[Description]
Toggles the panel switches between enabled and disabled.
Enables panel switches when n = <*******0>B. Disables panel switches when n = <*******1>B. n is effective only when it is the lowest bit. When disabled, all panel switches are disabled.
[Name]
Print and feed 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 beginning of the next line after printing. Paper is fed approximately 150 mm if the [n x basic calculated pitch]
exceeds approximately 150 mm (5.9 inches).
[Name]
Full cut.
[Format]
ASCII ESC i Hex. 1B 69 Decimal 27 105
[Range]
N/A
[Description]
This command executes a full cut of the paper in standard mode
[Name]
Partial cut.
[Format]
ASCII ESC m Hex. 1B 6D Decimal 27 109
[Range]
N/A
[Description]
This command executes a partial cut of the paper with one point uncut in standard mode.
ESC c 5 n
ESC d n
Chapter 4 Software Utilities
ESC i
ESC m
Page 94
PA-3211 SERIES USER MANUAL
Page: 4-25
[Name]
General pulse.
[Format]
ASCII ESC p m t1 t2 Hex. 1B 70 m t1 t2 Decimal 27 112 m t1 t2
[Range]
0 ≤ m ≤ 1, 48 ≤ m ≤ 49 0 ≤ t1 ≤ 255 0 ≤ t2 ≤ 255
[Description]
This outputs a signal specified by t1 and t2 to the 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
[Name]
Select character code table.
[Format]
ASCII ESC t n Hex. 1B 74 n Decimal 27 116 n
[Range]
0 ≤ n ≤ 8 Initial Value n = 0
[Description]
Select page n of the character code table.
n
Character set
0
CP-437
1
Katakana
2
CP-850
3
CP-852
4
CP-860
5
CP-863
6
CP-865
7
CP-1252
8
User Define
t1
t2
ESC p m t1 t2
ESC t n
Chapter 4 Software Utilities
Page 95
PA-3211 SERIES USER MANUAL
Page: 4-26
[Name]
Turns upside-down printing mode on/off.
[Format]
ASCII ESC { n Hex. 1B 7B n Decimal 27 123 n
[Range]
0 ≤ n ≤ 255 Initial Value n = 0
[Description]
Specifies or cancels upside-down printing.
Cancels upside-down printing when n = <*******0>H. Specifies upside-down printing when n = <*******1>H. n is effective only when it is the lowest bit. This command is effective only when input at the top of the line when
standard mode is being 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 on
[Name]
Print NV bit image.
[Format]
ASCII FS p n m Hex. 1C 70 n m Decimal 28 112 n m
[Range]
1 ≤ n ≤ 255 0 ≤ m ≤ 3, 48 ≤ m ≤ 51
[Description]
Prints NV bit image n using mode m.
n specifies the NV bit image number. m specifies the bit-image mode. NV bit image is a bit image defined in non-volatile memory by FS q and
printed by this command.
This command is ignored when the specified NV bit image n is undefined.
m
Mode
0, 48
Normal
1, 49
Double-width
2, 50
Double-height
3, 51
Quadruple
ESC { n
FS p n m
Chapter 4 Software Utilities
Page 96
PA-3211 SERIES USER MANUAL
Page: 4-27
[Name]
Define NV bit image.
[Format]
ASCII FS q n [xL xH yL yH d1…dk]1…[xL xH yL yH d1…dk]n Hex. 1C 71 n [xL xH yL yH d1…dk]1…[xL xH yL yH d1…dk]n Decimal 28 113 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
[Description]
Defines the specified NV bit image.
n specifies the number of NV bit images to define. xL and xH specify the horizontal direction for one NV bit image (xL + xH x
256) x 8 dots.
yL and yH specify the vertical direction for one NV bit image (yL + yH x 256)
x 8 dots.
FS q n [xL xH yL yH d1…dk]1…[xL xH yL yH d1…dk]n
Chapter 4 Software Utilities
Page 97
PA-3211 SERIES USER MANUAL
Page: 4-28
[Name]
Select character size.
[Format]
ASCII GS ! n Hex. 1D 21 n Decimal 29 33 n
[Range]
0 ≤ n ≤ 255 (1 ≤ Vertical enlargement ≤ 8, 1 ≤ Horizontal enlargement ≤ 8) Initial Value n = 0
[Description]
This command selects the character height and width using bits 0 to 3, and bits 4 to 7 respectively as follows:
Bit
Function
Setting
0
Specifies the number of 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 [Enlarged in horizontal direction]
5 6 7
Table 1 [Enlarged in horizontal direction]
Hex
Decimal
Enlargement
00 0 1 time(standard)
10
16
2 times
20
32
3 times
30
48
4 times
40
64
5 times
50
80
6 times
60
96
7 times
70
112
8 times
Table 2 [Enlarged in vertical direction]
Hex
Decimal
Enlargement
00 0 1 time(standard)
01 1 2 times
02 2 3 times
03 3 4 times
04 4 5 times
05 5 6 times
06 6 7 times
07 7 8 times
GS ! n
Chapter 4 Software Utilities
Page 98
PA-3211 SERIES USER MANUAL
Page: 4-29
[Name]
Set absolute vertical print position in page mode
[Format]
ASCII GS $ nL nH Hex. 1D 24 nL nH Decimal 29 36 nL nH
[Range]
0 ≤ nL ≤ 255, 0 ≤ nH ≤ 255,
[Description]
Specifies the character vertical 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 expansion starting position is the position specified by [(nL + nH x 256) x basic calculated pitch] from the starting point.
When not in page mode, this command is ignored. Specifications for absolute positions that exceed the specified print
range are ignored.
GS $ nL nH
Chapter 4 Software Utilities
Page 99
PA-3211 SERIES USER MANUAL
Page: 4-30
[Name]
Define download bit images.
[Format]
ASCII GS * X Y [d1…d(X x Y x 8)] Hex. 1D 2A X Y [d1…d(X x Y x 8)]
Decimal 29 42 X Y [d1…d(X x Y x 8)]
[Range]
1 ≤ X ≤ 54 (for 2 inch) 1 ≤ X ≤ 72 (for 3 inch) 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 the vertical direction. Horizontal direction dot count is X x 8 dots; Vertical direction dot count is Y x
8 dots
d indicates the bit-image data. Bits that correspond to the dots to print are 1,
and the bits that correspond to the dots that are not printed are 0.
Chapter 4 Software Utilities
GS * X Y [d1…d(X x Y x 8)]
Page 100
PA-3211 SERIES USER MANUAL
Page: 4-31
GS ( A pL pH n m
[Name]
Execute test print.
[Format]
ASCII GS ( A pL pH n m Hex. 1D 28 41 pL pH n m Decimal 29 40 65 pL pH n m
[Range]
{pL+ (pH×256) } = 2 (pL = 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. n specifies the paper to be tested.
n
Paper Type
0 , 48
Basic sheet (paper roll)
1 , 49 2 , 50
Paper Roll m
Type of Test Print
2 , 50
Printer Status (Self Print)
3 , 51
Rolling Pattern Print
m specifies a test pattern.
Chapter 4 Software Utilities
Loading...