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 manufacturer’s
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
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
Q’ty
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
34
12
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).
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)
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
21
65
JP_USB1
USB1
3-5,
4-6
(Default Setting)
21
6
5
JP_USB1
SELECTION
JUMPER SETTING
JUMPER ILLUSTRATION
USB2
Connector
1-3,
2-4
(Default Setting)
21
65
JP_USB2
USB2_2
Connector
3-5,
4-6
21
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
31
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
31
JP8
Drawer1
2-3
(Default Setting)
31
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
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.
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.
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, 48≤ n ≤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.
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.
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...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.