Protech Systems MP-1060 User Manual

Page 1
USER’S MANUAL
M
P-1060
Thermal Receipt Printer
MP-1060 M1
Page 2
Copyright Notice
MP-1060
Thermal Printer
COPYRIGHT NOTICE & TRADEMARK
All trademarks and registered trademarks mentioned herein are the property of their respective owners.
This manual is copyrighted in June 2015. You may not reproduce or transmit in any form or by any means, electronic, or mechanical, including photocopying and recording.
DISCLAIMER
This operation manual is meant to assist you in using the printer board. The information contained in this document is subject to change without any notice.
Page 3
Contents
TABLE OF CONTENTS
CHAPTER 1 INTRODUCTION
1-1 About This Manual................................................................
1-2
1-2 System Specification………………………………………….
1-3
1-3 General Specification….............................................................
1-4
1-4 Safety Precautions…..................................................................
1-6
CHAPTER 2 HARDWARE CONFIGURATION
2-1 Unpacking…………………………………...........................
2-2
2-2 Part Structure………..….….......................................................
2-5
2-3 Connectors.................................................................................
2-8
2-4 Installing and Replacing Roll Paper……...................................
2-9
2-5 Attaching and Removing the Connector Cover..........................
2-11
2-6 Attaching and Removing the Splash Proof Cover…..................
2-13
2-7 Attaching and Removing the Paper Guide.…………………....
2-13
CHAPTER 3 INSTALL AND SETUP
3-1 Install the printer……..........................................…..................
3-2
3-2 Setting the DIP Switch………………….…..……..............
3-3
3-3 DIP Switches functions…...……………………………………
3-4
3-4 Adjusting the Paper-near-end sensor..…………..………..........
3-8
CHAPTER 4 HEXADECIMAL DUMPING & SELF-TESTING
4-1 Hexadecimal dumping...............................................................
4-2
4-2 Self-Testing………………………………................................
4-2
CHAPTER 5 SOFTWARE CONFIGURATION
5-1 Ethernet Interface Card Setting..................................................
5-2
5-2 Printer Driver Setting……………………….............................
5-4
Page 4
Contents
CHAPTER 6 COMMAND LIST
6-1 Standard Command List.............................................................
6-2
6-2 Two-Dimensional Bar Code Command Details.........................
6-4
6-3 Kanji Control Command Details……........................................
6-5
6-4 Standard Command Details…………………............................
6-6
CHAPTER 7 LANGUAGES
7-1 Ank Codes……………..............................................................
7-2
7-2 International Characters………………………..........................
7-5
7-3 Japanese Language Codes (Shift-JIS Codes)…….....................
7-6
7-4 Taiwanese Language Codes…………………...........................
7-14
7-5 Simplified Chinese Language Codes……………......................
7-6 Korean Language Codes……………………………………….
7-29 7-41
Page 5
Page:1-1
INTRODUCTION
This chapter gives you the information for MP-1060. It also outlines the system specifications.
Sections include:
About This Manual System Specifications Safety Precautions
Experienced users can jump to chapter 2 on page 2-1 for a quick start.
CHAPTER
1
Page 6
Chapter 1 Introduction
Page: 1-2
MP-1060 USERS MANUAL
1-1. ABOUT THIS MANUAL
Thank you for purchasing our MP-1060 Thermal Receipt Printer System. The MP-1060 is an updated system designed to be comparable with the highest performance of Point-of-Sale platforms. The MP-1060 provides faster processing speed, greater flexibility and can handle more commands than ever. This manual is designed to assist you how to install and set up the whole system. It contains five chapters. The user can refer the user’s manual for configuration according to the following chapters:
Chapter 1 Introduction
This chapter introduces you to the background of this manual, and the specifications for this printer board. The final page of this chapter will indicate how to avoid damaging this board.
Chapter 2 Parts and Basic Operation
Chapter 3 Install and Set Up
Chapter 4 Hexadecimal Dumping & Self-Test
Chapter 5 Software Configuration
This chapter indicates you how to set up the printer system through the software utility.
Page 7
Chapter 1 Introduction
MP-1060 USERS MANUAL
Page: 1-3
Catchphrase:
1-2. SYSTEM SPECIFICATION
Features:
200mm high speed printing Vertical and horizontal stand position capable Built-in multi-language codepage includes Chinese, Japanese and
Korean characters
Support digital LOGO printing saved in FLASH ROM Modularized design of printer head. Multiple interface for USB/Serial and Ethernet Port Auto paper cutter for full cut and partial cut available Paper-near-end detector sensor and LED/Buzzer warring indicator. EPSON command and other emulation 1D/2D barcode printing supported Easy to set and high volume capacity of paper Spectacular value-add accessories OPOS driver supported
Page 8
Chapter 1 Introduction
Page: 1-4
MP-1060 USERS MANUAL
1-3. GENERAL SPECIFICATIONS
General
Print method
Thermal Line Printing
Printing width
72mm
Paper width
80mm
Printable dot No.
576 dots
Printing speed
Up to 200 mm/sec
Resolution
8 dot/mm
Sensors
Paper end, Cover Open, Paper-near-end(Optional)
Cutter
Auto Cutter (Full/Partial) Tear bar
Paper
Type
Receipt Thermal paper
Thickness
0.06mm~0.09mm
Roll diameter
Max. 80.0mm
Reliability
Printing head
100 km
MCBF
60 million lines
Auto cutter
1.5 million cuts
Performance
Interface
USB(Virtual COM)/Serial, Ethernet(Optional)
Receive Buffer
4KB
Logo size
64K
Software
Emulation -
ESC/POS CMD compatible
Driver
WinXP/Win7/Win8/
-32bits & 64bits/OPOS
Physical
Dimensions
142mm x 127mm x 154mm
Weight
980g (w/o paper roll)
Cash drawer
1x 6pin RJ-11 connecter
Power supply
External 24v Adaptor
Page 9
Chapter 1 Introduction
MP-1060 USERS MANUAL
Page: 1-5
Language
Character Sets
Alphanumeric Characters: 95 Extended Characters: 128 x 8 Page (Blank x 1 Page) International Characters: 32
Code Page
CP-437, Katakana character set, CP-850, CP-852, CP-860, CP-863, CP-865, WPC-1252
Compound Character
Traditional Chinese, Simple Chinese, Japanese, Korean
Character Size
Font A: 12 x 24 (default) Font B: 9 x 17 Font C: 24 x 24
No. char per line
Font A: 36 C/L Font B: 48 C/L Font C: 18 C/L
Barcode
1D
UPC-A, UPC-E, JAN8(EAN8), JAN13(EAN13), CODE39, ITF(Interleaved 2 of 5), CODABAR(NW-7), CODE93, CODE128,
2D
QR Code
Environment
Operating Temp
-10 to 50°C (35 °C In case of Printing-rate over 10%)
Storage Temp
-30 to 60°C
Operating Temp
10 to 90% RH
Storage Temp
10 to 90% RH expect for paper
Accessories
2” Paper Guide, Splash Proof
Cover, Wall-mount Kit, Cable Cover, Paper-near-end Sensor Kit, Melody Box, Interface Cables, International Power Cords
Certification
CE, FCC
Page 10
Chapter 1 Introduction
Page: 1-6
MP-1060 USERS MANUAL
1-4. SAFETY PRECAUTIONS
Following messages are safety reminders on how to protect your systems from
damages. And thus, helps you lengthen the life cycle of the system.
1. Check the Line Voltage
a. The operating voltage for the power supply should cover the range of
100VAC-240V AC, otherwise the system may be damaged.
2. Environmental Conditions
a. Avoid extremely hot or cold places to install MP-1060.
b. Avoid exposure to sunlight 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 MP-1060 when it‘s been left outdoors in a cold winter day.
c. Bear in mind that the operating ambient temperature is from 5C up to +35C.
d. Avoid moving the system rapidly from a hot place to a cold place or vice versa because condensation may come from inside of the system.
e. Place MP-1060 against strong vibrations, which may cause hard disk failure.
f. Do not place the system too close to any radioactive device. Radio-active device may cause interference.
3. Good Care
a. When the outside of the case is stained, remove the stain with neutral washing agent with a dry cloth.
b. Never use strong agents such as benzene and thinner to clean the system.
c. If heavy stains are present, moisten a cloth with diluted neutral washing agent or with alcohol and then wipe thoroughly with a dry cloth.
d. If dust has been accumulated on the outside, remove it by using a special made vacuum cleaner for computers.
Page 11
Page 2-1
PARTS AND BASIC OPERATION
CHAPTER
2
Helpful information describes the parts and operation of MP-1060.
Sections include:
Unpacking
Part Structure
Connectors
Page 12
Chapter 2 Parts and Operations
Page: 2-2
MP-1060 USER′S MANUAL
2-1. UNPACKING
2-1-1 Main parts
Printer (body) × 1
User’s CD-ROM × 1
External power supply unit × 1
Page 13
Chapter 2 Hardware Configuration
MP-1060 USER′S MANUAL
2-1-2 Options
Cable cover S
plash proof cover
2” Paper guide 2”
/3
Wall mount kits Hanging bracket set
Page: 2-3
” 10M Test Roll paper
Page 14
Chapter 2 Parts and Operations
Page: 2-4
MP-1060 USER′S MANUAL
External Interface Cables (USB/Serial/LAN)
Page 15
Chapter 2 Hardware Configuration
MP-1060 USER′S MANUAL
Page: 2-5
2-2 Part Structure
2-2-1 Main body
Page 16
Chapter 2 Parts and Operations
Page: 2-6
MP-1060 USER′S MANUAL
2-2-2 Control Panel
POWER (Blue)
Lights when the power supply is on. Goes out when the power supply is turned off.
ERROR (Red)
Lights when an error occurs. Goes out during regular operation.
PAPER (Yellow)
Lights when there is no more roll paper. Goes out when there is a sufficient amount of roll paper remaining. Flashes when paper near end sensor is enabled and there is little remaining.
Page 17
Chapter 2 Hardware Configuration
MP-1060 USER′S MANUAL
Page: 2-7
2-2-3 Buttons
FEED button
Pressing this button once feeds the roll paper by one line. Holding this button down and feeds the roll paper continuously.
2-2-4 Power Switch
The power switch is located at the bottom right front of the printer. Turn the printer on or off. The marks on the switch (0 = on / 1 = off) indicate the printer switch position.
CAUTION:
Before turning on the printer be sure to check that the AC adapter is connected to the power supply.
Page 18
Chapter 2 Parts and Operations
Page: 2-8
MP-1060 USER′S MANUAL
2-3 Connectors
All cables are connected to the connector panel on the lower rear of the printer.
Drawer kick-out connector for connecting the cash drawer Power supply connector for connecting the power supply unit Interface connector to connect the printer to the host computer interface
(serial/USB/LAN)
Page 19
Chapter 2 Hardware Configuration
MP-1060 USER′S MANUAL
Page: 2-9
2-4 Installing and Replacing Roll Paper
CAUTION:
Be sure to use roll paper that meets printer specifications. Do not use roll paper whose trailing end is glued to the roll paper core.
Installing Roll Paper
1. Make sure the host has not sent a printing command to the printer, and press the cover open button to open the printer cover.
Page 20
Chapter 2 Parts and Operations
Page: 2-10
MP-1060 USER′S MANUAL
2. Load the roll paper.
Horizontal position:
Vertical position:
CAUTION:
When loading the roll paper, pay attention to the direction that the roll paper is fed out of the printer.
3. Pull out the roll paper toward you, and then close the printer cover.
Page 21
Chapter 2 Hardware Configuration
MP-1060 USER′S MANUAL
Page: 2-11
2-5 Attaching and Removing the Connector Cover
These instructions apply if a cable is packed with your printer to protect your cables.
To attach it, follow the steps below:
1. First, connect all the cables and use cable clip and screw to fix the cables, as shown in illustration
Page 22
Chapter 2 Parts and Operations
Page: 2-12
MP-1060 USER′S MANUAL
2.
Position the two hooks on the connector cover so that they hook the
printer case, as shown in illustration.
3. Push the connector cover down to click onto the printer case.
Page 23
Chapter 2 Hardware Configuration
MP-1060 USER′S MANUAL
Page: 2-13
2-6 Attaching and Removing the Splash Proof Cover
1. Position the two hooks on the right and left side at the bottom, so that they could hook the printer case, as shown in illustration.
2-7 Attaching and Removing the Paper Guide
1. Open the front door and insert the paper guide as shown in illustration.
Page 24
Chapter 2 Parts and Operations
Page: 2-14
MP-1060 USER′S MANUAL
2. Position the top hook point of the paper guide into the corresponding hole of the printer, as shown in illustration.
3. Position the left hook point of the paper guide into the corresponding hole of the printer, as shown in illustration.
Page 25
Page: 3-1
INSTALL AND SETUP
This chapter comprises the information of install and setup for MP-1060.
Sections include:
Install the printer
Setting the DIP Switch
DIP Switches functions
Adjusting the Paper-near-end sensor.
CHAPTER
3
Page 26
Chapter 3 Control Command
Page:3-2
MP-1060 USER′S MANUAL
3-1 Install the Printer
In addition to regular horizontal and vertical installation, the printer can be hung on a wall using the optional Wall hanging bracket Set.
3-1-1 Precautions for regular vertical and horizontal Installation
Install the printer in a flat, horizontal or vertical position. Avoid locations susceptible to dust and other foreign matter. Be sure to avoid bumping so that the printer is not exposed to strong
impact during operation.
Avoid placing the printer on top of the power supply or other cables or
other objects.
3-1-2 Precautions for Wall Installation
Make the following settings on the printer when you hang it on a wall.
1. Set the printer at vertical position
2. Adjust of near-end detector
3. Attach the connector cover
4. Install the Hanging Bracket Set
Page 27
Chapter 3 Control Commands
MP-1060 USER′S MANUAL
Page:3-3
3-2 Setting the DIP Switches
DIP Switch Positions and Steps for Changing DIP Switch Settings
Follow the steps below to change the DIP switch settings
CAUTION:
Always change DIP switch settings only when the printer is turned off. Change made with the power on have no effect and then on again.
1. Make sure the power supply for the printer is turned off.
2. Unscrew the screw to remove the DIP switch cover from the base of the printer.
3. Set the DIP switches as desired, using the tip of a tool, such as a small screwdriver.
4. Attach the DIP switch cover, and screw in place.
Page 28
Chapter 3 Control Command
Page:3-4
MP-1060 USER′S MANUAL
3-3 DIP Switches functions
3-3-1 RS-232C Serial Interface
DIP Switch 1
SW Function ON OFF Default
1 Auto Line Feed
Always
disabled
Always
enabled
OFF
2 Initial setting Initial by SW
Initial by HW
OFF 3 Handshaking XON/OFF DTR/DSR OFF 4 Word length 7 bits 8 bits OFF 5 Parity check Yes No OFF 6 Parity selection EVEN ODD OFF 7
Baud rate selection
Refer to Table 1 - Baud Rate
Selection
OFF 8 OFF
DIP Switch 2
SW Function ON OFF Default
1
Code Page
Selection
Table 3 - Code Page Selection
OFF
2 OFF 3 OFF
4
Internal bell
control
Enable Disable ON
5 Ethernet Interface Enable Disable OFF
6
Near End Sensor
Status
Enable Disable OFF
7
Select Print
Density
Refer to Table 2 –
Density Selection
OFF
8 OFF
Page 29
Chapter 3 Control Commands
MP-1060 USER′S MANUAL
Page:3-5
3-3-2 USB/IEEE1284 Interface
DIP Switch 1
SW
Function ON OFF Default
1
Auto Line Feed Always disabled
Always enabled
OFF
2
Reserved - - OFF
3
Reserved - - OFF
4
Reserved - - OFF
5
Reserved - - OFF
6
Reserved - - OFF
7
Reserved - - OFF
8
Reserved - - OFF
DIP Switch 2
SW
Function ON OFF Default
1
Code Page Selection Table 3 - Code Page Selection
OFF
2
OFF
3
OFF
4
Internal bell control Enable Disable ON
5
Ethernet Interface Enable Disable OFF
6
Near End Sensor Status
Enable Disable OFF
7
Select Print Density
Refer to Table 2 –
Density Selection
OFF
8
OFF
Page 30
Chapter 3 Control Command
Page:3-6
MP-1060 USER′S MANUAL
3-3-3 Ethernet Interface
DIP Switch 1
SW Function ON OFF Default
1 Auto Line Feed
Always disabled
Always enabled
OFF
2 Reserved - - OFF 3 Reserved - - OFF 4 Reserved - - OFF 5 Reserved - - OFF 6 Reserved - - OFF 7 Reserved - - OFF 8 Reserved - - OFF
DIP Switch 2
SW Function ON OFF Default
1
Code Page Selection
Table 3 - Code Page Selection
OFF 2 OFF 3 OFF 4 Internal bell control
Enable Disable ON
5 Ethernet Interface
Enable Disable ON
6
Near End Sensor
Status
Enable Disable OFF
7
Select Print Density
Refer to Table 2 –
Density Selection
OFF 8 OFF
Page 31
Chapter 3 Control Commands
MP-1060 USER′S MANUAL
Page:3-7
Table 1 - Baud Rate Selection
Baud rate SW-7 SW-8
115200 OFF OFF 57600 OFF ON 19200 ON OFF 9600 ON ON
Table 2 - Density Selection
Print Density SW2-7 SW2-8 Note
1 (Light) OFF ON 60% 2 ON OFF 80% 3 OFF OFF 100% 4(Dark) ON ON 120%
Table 3 - Code Page Selection
Code Page SW1-1 SW1-2 SW1-3
CP-437 OFF OFF OFF Katakana character OFF OFF ON CP-850 OFF ON OFF CP-852 OFF ON ON CP-860 ON OFF OFF CP-863 ON OFF ON CP-865 ON ON OFF WPC-1252 ON ON ON
Page 32
Chapter 3 Control Command
Page:3-8
MP-1060 USER′S MANUAL
3-4 Adjusting the Paper-near-end sensor
Since roll paper cores vary slightly in shape, depending on paper roll design and manufacturing tolerances, it impossible to detect the remaining paper exactly.
Use roll paper with a core inner diameter of 12 mm and outer diameter of 18 mm, so the paper detector can detect the remaining paper as accurately as possible.
Follow the procedure below to adjust the roll paper detector position.
1. Open the roll paper cover, and remove the roll paper.
2. Bend the adjustment lever to reposition paper sensor. Adjustment positions are as follows:
3. After adjustment, load the roll paper.
4. Close the roll paper cover.
Page 33
Chapter 3 Control Commands
MP-1060 USER′S MANUAL
Page:3-9
Adjustment position/Remaining amount of roll paper (outer diameter: mm)
Lv
3” Vertical 3” Horizontal 2” Vertical 2” Horizontal
4
7.65mm~7.68mm 7.39mm~7.41mm 7.77mm~7.80mm 7.35mm~7.47mm
3
7.05mm~7.08mm 6.86mm~6.90mm 7.49mm~7.57mm 6.93mm~7.08mm
2
6.92mm~6.97mm 6.13mm~6.15mm 6.99mm~7.00mm 6.12mm~6.18mm
1
6.36mm~6.45mm 6.02mm~6.06mm 6.39mm~6.46mm 5.75mm~5.99mm
Page 34
Page: 4-1
HEXADECIMAL DUMPING & SELF-TESTING
This chapter shows hexadecimal dumping and self-testing of MP-1060.
Sections include:
Hexadecimal dumping
Self-Testing
CHAPTER
4
Page 35
Chapter 4 Hexadecimal Dumping & Self-Testing
Page: 4-2
MP-1060 USER′S MANUAL
4-1. HEXADECIMAL DUMPING
Explanation: Allow users to conduct Software problem finding through ob­serving Data in Hex format feed to the printer.
Turn on:
1. Open “Printer Cover” when the computer is off
2. Click on the “Feed” to open “ Power switch”
3. Close the “Cover” to enter Hex dump mode
4. Execute any program to send data to printer. The printer will then print out
the data in two rows and hexadecimal format.
Turn off:
1. After the printing is complete, turn off the printer. The printer will resume normal
printing mode after restart.
4-2. THE SELF-TESTING
Explanation: Printing the FW Version and DIP Switch
How to Print:
1. Click on the “Feed” to open “ Power switch” when the computer is off
2. Data will be printed and paused when this information shows up.
3. Press the “Feed” button again, the printer will conduct printing test
4. After printing is complete, trim the paper and end the printing process.
Page 36
Page: 5-1
SOFTWARE CONFIGURATION
Helpful information that describes the settings for the display and you’ll know how to install MP-1060 Utility step by step in this chap­ter
.
Sections include:
Ethernet Interface Card Setting
Printer Driver Setting
CHAPTER
5
Page 37
Chapter 5 Software Configuration
MP-1060 USER′S MANUAL
Page: 5-2
5-1 ETHERNET INTERFACE CARD SETTING
(1) Connect LAN cable to Ethernet interface card and turn on the Power. (2) Open your Browser and Input default IP : 192.168.1.100
If you could not open the web page, please reset the interface card. (IP return to the default value)
Default Setting:
IP Address: 192.168.1.100 Netmask: 255.255.255.0 Gateway : 192.168.2.254 BaudRate : 115200 bps Local port : 9100
(3) Enter your settings (IP Address, Netmask, Gateway, BaudRate)
BaudRate setting value must be 921600 bps
Page 38
Chapter 5 Character Code Table
MP-1060 USER′S MANUAL
Page: 5-3
(4) Press the "Send" button, wait for the browser connection error. (5) Input new IP in the browser
If you could open the web page, this configuration was successful. If you could not open the web page, please go back to step (2).
Page 39
Chapter 5 Software Configuration
MP-1060 USER′S MANUAL
Page: 5-4
5-2 PRINTER DRIVER SETTING
(1)
Printer Driver Installation
(2)
Setting Ports
(a) Serial Port & USB Interface
Select the Serial Port: COM1
Page 40
Chapter 5 Character Code Table
MP-1060 USER′S MANUAL
Page: 5-5
Configure Port
(b) Ethernet Interface
Page 41
Chapter 5 Software Configuration
MP-1060 USER′S MANUAL
Page: 5-6
Add Port
Page 42
Chapter 5 Character Code Table
MP-1060 USER′S MANUAL
Page: 5-7
Standard TCP/IP port
Type in IP address: 192.168.1.100 and Port Name: IP_192.168.1.100
Page 43
Chapter 5 Software Configuration
MP-1060 USER′S MANUAL
Page: 5-8
Configure port, Protocol: Raw, Port Number: 9100
Page 44
Chapter 5 Character Code Table
MP-1060 USER′S MANUAL
Page: 5-9
(3) Print Test Page
Page 45
Page: 6-1
COMMAND LIST
This chapter shows tables of character codes.
Note: All the tables only show the character configurations. They do
not show the actual print pattern.
Sections include:
Standard Command List
Two-Dimensional Bar Code Command Details
Kanji Control Command Details
Standard Command Details
CHAPTER
6
Page 46
Chapter 6 Command List
MP-1060 USER′S MANUAL
Page:6-2
6-1 Standard Commands
Control
codes
Hexadecimal
codes
Function Standard
mode
Page
mode
<HT>
09
Horizontal tab
○ ○
<LF>
0A
Print and line feed
○ ○
<FF>
0C
Print and recover to standard
mode (in page mode)
Ignored
<CR>
0D
Print and carriage return
○ ○
<CAN>
18
Cancel print data in page mode
Ignored
<DLE EOT>
10 04
Real
-
time status tran
s
mission
○ ○
<DLE ENQ
> 10 05
Real
-
time request to printer
○ ○
<DLE DC4>
10 14
Real
-
time output of specified
pulse
○ ○
<ESC FF>
1B 0C
Print data in page mode
Ignored
<ESC SP>
1B 20
Set right
-
side character spa
c
ing ○ ○
<ESC !>
1B 21
Select print mode(s)
○ ○
<ESC $>
1B 24
Set absolute print pos
i
tion.
○ ○
<ESC *>
1B 2A
Select
bit image mode
○ ○
<ESC
->
1B 2D
Turn underline mode on/off.
○ ○
<ESC 2>
1B 32
Select default line spa
c
ing ○ ○
<ESC 3>
1B 33
Set line spacing
○ ○
<ESC =>
1B 3D
Select peripheral device
○ ○
<ESC @>
1B 40
Initialize printer
○ ○
<ESC D>
1B 44
Set horizontal tab pos
i
tion ○ ○
<ESC E>
1B 45
Turn emphasized mode on/off
○ ○
<ESC G>
1B 47
Turn double
-
strike mode on/off
○ ○
<ESC J>
1B 4A
Print and feed paper
○ ○
<ESC L>
1B 4C
Select page mode
Ignored
<ESC M >
1B 4D
Select character font
○ ○
<ESC R>
1B 52
Select an international
character set
○ ○
<ESC S>
1B 53
Select standard mode
Ignored
<ESC T>
1B 54
Select print direction in page
mode
▲ ○
<ESC V>
1B 56
Turn 90 degree clockwise
rotation mode on/off
○ ▲
<ESC W>
1B 57
Set printing area in page mode
▲ ○
<ESC
\>
1B 5C
Set relative print position
○ ○
<ESC a>
1B 61
Select justification
<ESC c 3>
1B 63 33
Select paper sensor(s) to
output paper-end signals
○ ○
Page 47
Chapter 6 Command List
MP-1060 USER′S MANUAL
Page:6-3
<ESC c 4>
1B 63 34
Select paper
sensor(s) to stop
printing
○ ○
<ESC c 5>
1B 63 35
Enable/disable panel bu
t
tons
○ ○
<ESC d>
1B 64
Print and feed n lines
○ ○
<ESC i>
1B 69
Full cut
Disabled
<ESC m>
1B 6D
Partial cut
Disabled
<ESC p>
1B 70
General pulse
○ ○
<ESC t>
1B 74
Select ch
aracter code t
a
ble ○ ○
<ESC {>
1B 7B
Turn upside
-
down printing
mode on/off
<FS p>
1C 70
Print NV bit image
Disabled
<FS q>
1C 71
Define NV bit image
Disabled
<GS !>
1D 21
Select character size
<GS $>
1D 24
Set absolute vertical print
position in page mode
Ignored
<GS *>
1D 2A
Define download bit i
m
ages
○ ○
<GS ( A>
1D 28 41
Execute test print
Disabled
<GS ( K>
1D 28 4B
Set print density
Disabled
<GS />
1D 2F
Print download bit image
● ○
<GS B>
1D 42
Turn white/black reverse
printing mode on/off
○ ○
<GS H>
1D 48
Select printing position of HRI
characters
○ ○
<GS I>
1D 49
Transmit printer ID
Disabled
<GS L>
1D 4C
Set left margin
Disabled
<GS P>
1D 50
Set basic calculated pitch
○ ○
<GS V>
1D 56
Cut paper
<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 Aut
o
matic
Status Back (ASB)
○ ○
<GS f>
1D 66
Select font for HRI cha
r
acters
○ ○
<GS h>
1D 68
Set bar code height
○ ○
<GS k>
1D 6B
Print bar code
● ○
<GS r>
1D 72
Transmit status
○ ○
<GS v 0>
1D 76 30
Print raster bit image
Disabled
<GS w>
1D 77
Set bar code width
○ ○
Page 48
Chapter 6 Command List
MP-1060 USER′S MANUAL
Page:6-4
6-2 Two-dimensional Bar Code Commands
Control
codes
Hexadecimal
codes
Function Standard
mode
Page
mode
<DC2 ;>
12 3B
Specifies a module size of QR
Code and Data Matrix
○ ○
<GS p 1>
1D 70 01
Prints QRCode data based on
the specified contents
○ ○
6-3 Kanji Control Commands
(When the Japanese, Simplified Chinese, Traditional Chinese, or Korean model is used)
Control
codes
Hexadecimal
codes
Function Standard
mode
Page
mode
<FS !> 1C 21
Set print mode(s) for Kanji
characters
<FS &>
1C 26
Select Kanji character mode
○ ○
<FS -> 1C 2D
Turn underline mode on/off
for Kanji characters
<FS .>
1C 2E
Cancel Kanji character mode
○ ○
<FS S>
1C 53
Set Kanji character spacing
○ ○
<FS W> 1C 57
Turn quadruple-size mode on/off for Kanji characters
Command classification Executing : Printer executes the command, which does not then 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 49
Chapter 6 Command List
MP-1060 USER′S MANUAL
Page:6-5
6.4 STANDARD COMMAND DETAILS
HT
[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 hori­zontal 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.)
LF
[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.
Page 50
Chapter 6 Command List
MP-1060 USER′S MANUAL
Page:6-6
FF
[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.
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.
CR
[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.
CAN
[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.
DLE EOT n
[Name]
Real
-
time status transmission.
[Format]
ASCII OLE EOT
n
Page 51
Chapter 6 Command List
MP-1060 USER′S MANUAL
Page:6-7
Hex. 10
04
n
Decimal 16 4 n
[Range]
1 n 4
[Description]
Transmits the selected printer status specified by n in real time, a
c
cording
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/c
lose 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.
3 Off 00 0 Not used. Fixed to Off.
Page 52
Chapter 6 Command List
MP-1060 USER′S MANUAL
Page:6-8
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
Deci
mal 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.
Page 53
Chapter 6 Command List
MP-1060 USER′S MANUAL
Page:6-9
DLE ENQ n
[Name]
Real
-
time request
to printer
.
[Format]
ASCII DLE ENQ
n
Hex. 10 05 n Decimal 16 5 n
[Range]
1 ≤ n ≤ 2
[Descri
p
tion]
Responds to requests n specifications from the host in real-time. n speci­fications 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 DC4 n m t
[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
[Descri
p
tion]
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.
Page 54
Chapter 6 Command List
MP-1060 USER′S MANUAL
Page:6-10
ESC FF
[Name]
Print data in page mode
.
[Format]
ASCII
ESC FF
Hex. 1B 0C Decimal 27 12
[Range]
N/A
[Descri
p
tion]
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
ESC SP n
[Name]
Set right
-
side character spacing
.
[Format]
ASCI
I ESC SP n
Hex. 1B 20 n Decimal 27 32 n
[Range]
0 n 255
Initial Value n = 0
[Descri
p
tion]
This command sets the size of space to right of character.
Right space = n × [horizontal motion units].
Page 55
Chapter 6 Command List
MP-1060 USER′S MANUAL
Page:6-11
ESC ! n
[Name]
Select p
rint mode(s)
.
[Format]
ASCII ESC !
n
Hex. 1B 21 n Decimal 27 33 n
[Range]
0 n 255
Initial Value n = 0
[Descri
p
tion]
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 s
e
lected.
On 08 8 Emphasized mode selected.
4 Off 00 0 Double
-
height mode
not s
e
lected
On 10 16 Double
-
height mode selected
5 Off 00 0 Double
-
width mode not s
e
lected.
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.
Page 56
Chapter 6 Command List
MP-1060 USER′S MANUAL
Page:6-12
ESC $ nL nH
[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 ne
xt 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 * m nL nH d1…dk
[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 dou-
ble density
24 203 DPI 203 DPI
(nL+nH×256)
×3
ESC - n
[Name]
Turn underline mode on/off.
[Format]
ASCII ESC
-
n
Page 57
Chapter 6 Command List
MP-1060 USER′S MANUAL
Page:6-13
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 unde
r-
lined. 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
ESC 2
[Name]
Select default line spacing.
[Format]
ASCII ESC
2
Hex. 1B 32 Decimal 27 50
[Range]
N/A
[Descri
p
tion]
This command sets the default line spacing The
default line spacing is
approximately 4.25 mm, which is equivalent to 34 dots.
ESC 3 n
[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
[Descri
p
tion]
This command sets the line spacing using a following rule.
Line spacing = n x (vertical or horizontal motion units)
Page 58
Chapter 6 Command List
MP-1060 USER′S MANUAL
Page:6-14
ESC = n
[Name]
Select peripheral device.
[Format]
ASCII ESC = n
Hex. 1B 3D n Decimal 27 61 n
[Range]
0 n 255
Initial Value n = 1
[Descri
p
tion]
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
ESC @
[Name]
Initialize printer.
[Format]
ASCII ESC @
Hex. 1B 40 Decimal 27 64
[Range]
N/A
[Descri
p
tion]
Clears data from the print buffer and sets the prin
ter to its default se
t
tings.
Page 59
Chapter 6 Command List
MP-1060 USER′S MANUAL
Page:6-15
ESC D n1…nk NUL
[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
[Descri
p
tion]
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 E n
[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 like following. When the LSB of n is 0, emphasized mode is turned off. When the LSB of n is 1, emphasized mode is turned on.
ESC G n
[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
ESC J n
[Name]
Print and feed paper.
[Format]
ASCII ESC J n
Page 60
Chapter 6 Command List
MP-1060 USER′S MANUAL
Page:6-16
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 p
a
per [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. (2)When the starting position is set to the upper right or lower left of the print able 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.
Page 61
Chapter 6 Command List
MP-1060 USER′S MANUAL
Page:6-17
ESC L
[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).
Page 62
Chapter 6 Command List
MP-1060 USER′S MANUAL
Page:6-18
ESC M n
[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 AN
K character fonts using n as following.
n Function
0 Character font A selected
1 Character font B selected
ESC R n
[Name]
Select an international character set
.
[Format]
ASCII ESC
R n
Hex. 1B 52 n Decimal 27 82 n
[Range]
0
n 16
Initial Value n = 0
[Description]
This command specifies international characters according to n va
l
ues.
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
16 User Define
ESC S
[Name]
Select standard mode
[Format]
ASCII ESC S
Page 63
Chapter 6 Command List
MP-1060 USER′S MANUAL
Page:6-19
Hex. 1B 53 Decimal 27 83
[Range]
N/A
[Descri
p
tion]
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 execu-
tion. 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 feed amount
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 @).
Page 64
Chapter 6 Command List
MP-1060 USER′S MANUAL
Page:6-20
ESC T n
[Name]
Select print direction in page mod
e.
[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)
ESC V n
[Name]
Turn 90 degree clockwise rotation mode on/off
[Format]
ASCII ESC V n
Page 65
Chapter 6 Command List
MP-1060 USER′S MANUAL
Page:6-21
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 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.
n Function
0, 48
Turns off 90 degree clockwise rotation mode
1, 49
Turns on 90 degree clockwise rotation mode
Page 66
Chapter 6 Command List
MP-1060 USER′S MANUAL
Page:6-22
ESC W xL xH yL yH dxL dxH dyL dyH
[Name]
Set p
rinting 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).
Page 67
Chapter 6 Command List
MP-1060 USER′S MANUAL
Page:6-23
ESC \ nL nH
[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..
ESC a n
[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.
Page 68
Chapter 6 Command List
MP-1060 USER′S MANUAL
Page:6-24
ESC c 3 n
[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 p
a
per 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 detecto
r Invalid
Valid
ESC c 4 n
[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 5 n
[Name]
Enable/disable panel buttons
[Format]
ASCII ESC
c
5 n
Hex. 1B 63 35 n
Page 69
Chapter 6 Command List
MP-1060 USER′S MANUAL
Page:6-25
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.
ESC d n
[Name]
Print and feed n lines
[F
ormat]
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).
ESC i
[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
Page 70
Chapter 6 Command List
MP-1060 USER′S MANUAL
Page:6-26
ESC m
[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 u
n
cut in
standard mode.
ESC p m t1 t2
[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
t1
t2
Page 71
Chapter 6 Command List
MP-1060 USER′S MANUAL
Page:6-27
ESC t n
[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
ESC { n
[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 affect in page mode. In page mode, this com- mand is only effective for the setting.
Upside-down printing rotates line data 180 degrees.
n Upside
-
down mode
0 Turned off
1 Turned on
Page 72
Chapter 6 Command List
MP-1060 USER′S MANUAL
Page:6-28
FS p n m
[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 unde- fined. This command is effective only when no data exists in the print buffer in standard mode.
m Mode
0, 48
Nornal
1, 49
Double
-
width
2, 50
Double
-
height
3, 51
Quadruple
Page 73
Chapter 6 Command List
MP-1060 USER′S MANUAL
Page:6-29
FS q n [xL xH yL yH d1…dk]1…[xL xH yL yH d1…dk]n
[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 11
3 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. x
L and xH
specify the horizontal direction for one NV bit image (x
L +
x
H x
256) x 8 dots.
y
L and yH
specify the vertical direction for one NV bit image (y
L +
y
H x
256) x 8 dots.
Page 74
Chapter 6 Command List
MP-1060 USER′S MANUAL
Page:6-30
GS ! n
[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 Specifie
s 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 horizon­tal 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
Page 75
Chapter 6 Command List
MP-1060 USER′S MANUAL
Page:6-31
GS $ nL nH
[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.
Page 76
Chapter 6 Command List
MP-1060 USER′S MANUAL
Page:6-32
GS * X Y [d1…d(X x Y x 8)]
[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 corre­spond to the dots that are not printed are 0.
Page 77
Chapter 6 Command List
MP-1060 USER′S MANUAL
Page:6-33
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 specifies a test pattern..
m Type of Test Print
2 , 50
Printer Status (Self Print)
3 , 51
Rolling Pattern Print
GS ( K pL pH n m
[Name]
Set print density
.
[Format]
ASCII
GS ( A pL pH n m
Hex. 1D 28 4B pL pH n m Decimal 29 40 75 pL pH n m
[Range]
{pL+ (pH×256) } = 2 (pL = 2,pH = 0)
n = 49 250 m 255, 0 m 6
Initial Value m = 0
Page 78
Chapter 6 Command List
MP-1060 USER′S MANUAL
Page:6-34
[Description]
Sets print density.
.
m
Print Density
250 0.7
251 0.7
252 0.8
253 0.8
254 0.9
255 0.9
0 1.0
1 1.1
2 1.1
3 1.2
4 1.2
5 1.3
6 1.3
GS / m
[Name]
Print downloaded bit image.
[Format]
ASCII GS / m
Hex. 1D 2F m Decimal 29 47 m
[Range]
0 m 3, 48 m 51
[Description]
This command prints the downloaded bit image defined by GS * accor
d-
ing to the mode denoted by m.
m Mode
Vertical dot
density(DPI)
Horizontal do
density(DPI)
0 ,
48
Normal
203 203
1 ,
49
Double
-
width
203 101
2 ,
50
Double
-
height
101 203
3 ,
51
Quadruple
101 101
GS B n
[Name]
Turn white/black reverse printing mode on/off
Page 79
Chapter 6 Command List
MP-1060 USER′S MANUAL
Page:6-35
[Format]
ASCII GS B n
Hex. 1D 42 n Decimal 29 66 n
[Range]
0 n 255
Initial Value n = 0
[Description]
Specifies or cancels black and white inverted printing.
Cancels black and white inverted printing when n = <*******0>B. Specifies black and white inverted printing when n = <*******1>B. n is effective only when it is the lowest bit. Internal characters and download characters are targeted for black and
white inverted printing. This command is effective for ANK and Chinese characters.
GS H n
[Name]
Select printing position of HRI characters
.
[Format]
ASCII
GS H n
Hex. 1D 48 n Decimal 29 72 n
[Range]
0 n 3, 48 n 51
Initial Value n = 0
[Descri
p
tion]
Selects the printing position of HRI characters when printing bar codes.
m Printing Position
0, 48
No print
1, 49
Above bar code
2, 50
Below bar code
3, 51
Above and below bar code(both)
Page 80
Chapter 6 Command List
MP-1060 USER′S MANUAL
Page:6-36
GS I n
[Name]
Transmit printer ID
.
[Format]
ASCII GS I n
Hex. 1D 49 n Decimal 29 73 n
[Range]
1 n 3, 49 n 51, 65 n 69
[Description]
Transmits the printer ID specified by
n
as follows:
n Printer ID Type
Specifications
1, 49
Model ID
MB-
1030 or MP
-
1060
2, 50
Type ID
1030
-
XX or 1060
-XX
3, 51
ROM Version ID
Depends on the ROM
version
65 Firmware Ve
r
sion
Depends on the fir
m
ware
version
66 Manufacturer Name
MB-
1030 System or
MP-1060 System
67 Model Name
MB-
1030 or MP
-
1060
68 Serial Number
Depends on the serial
number
69 Chinese Character
Types
Taiwan Language
Characters: TW_BIG5 Japanese Language Characters: JP_SJIS Chinese Language Characters: CN_GB2312 Korean Language Characters: KO_EUC-KR
Page 81
Chapter 6 Command List
MP-1060 USER′S MANUAL
Page:6-37
GS L nL nH
[Name]
Set left margin.
[Format]
ASCII GS L nL nH
Hex. 1D 4C nL nH Decimal 29 76 nL nH
[Range]
0 nL 255, 0 nH 255
Initial Value (nL + nH x 256)=0 (nL=0, nH=0)
[Description]
nL and nH set the specified left margin. The left margin is [(nL + nH x 256) x basic calculated pitch].
GS P x y
[Name]
Set basic calculated pitch.
[Format]
ASCII GS P x y
Hex. 1D 50 x y Decimal 29 80 x y
[Range]
0 x 255
0 y 255
Initial Value x = 203, y = 203: EPSON targeted model print head 203 DPI
[Description]
Sets the horizontal basic calculated pitch to approximately 25.4/xmm
[(1/x) inch], and the vertical basic calculated pitch to approximately
25.4/ymm [(1/y) inch].
x = 0: Returns the horizontal basic calculated pitch to its default value. y = 0: Returns the vertical basic calculated pitch to its default value.
GS V m
[Name]
Cut paper.
[Format]
ASCII GS V m ( n )
Page 82
Chapter 6 Command List
MP-1060 USER′S MANUAL
Page:6-38
Hex. 1D 56 m ( n )
Decimal 29 86 m ( n )
[Range]
m = 0,1,48,49,65,66
0 ≤ n ≤ 255
[Description]
Executes specified paper cut.
m Function
0 , 48
Full cut
1 , 49
Partial cut (one point uncut)
65 Feeds paper to (cutting position + [n x basic
calculated pitch]) and performs a full cut
66 F
eeds paper to (cutting position + [n x basic
calculated pitch]) and performs a partial cut (one point uncut)
GS W nL nH
[Name]
Set printing area width.
[Format]
ASCII GS W nL nH
Hex. 1D 57 nL nH Decimal 29 87 nL nH
[Range]
0 nL 255, 0 nH 255
[Description]
Sets the print region width specified by nL and nH.
Print region width is [(nL + nH x 256) x basic calculated pitch].
[(nL + nH x 256) x basic calculated pitch] >=24.
Page 83
Chapter 6 Command List
MP-1060 USER′S MANUAL
Page:6-39
GS \ nL nH
[Name]
Set rel
ative vertical print position in page mode.
[Format]
ASCII GS
\
nL nH
Hex. 1D 5C nL nH Decimal 29 92 nL nH
[Range]
0 nL 255 0 nH 255
[Description]
Specifies the character vertical direction position for the data expansion starting position using the relative position based on the current point in page mode. This sets the position moved from the current position to [(nL + nH x 256) x basic calculated pitch] for the next data expanding starting position.
When not in page mode, this command is ignored.
GS a n
[Name]
Enable/disable Automatic Status Back (ASB)
.
[Format]
ASCII
GS a
n
Hex. 1D 61 n Decimal 29 97 n
[Range]
0 n 255
Initial Value n = 0
Page 84
Chapter 6 Command List
MP-1060 USER′S MANUAL
Page:6-40
[Description]
Selects the statuses that are targeted for transmission with the automatic status function (ASB: Automatic Status Back).
Bits Statuses Targeted for
ASB
“0” “1”
7 Undefined --- --­6 Undefined --- --­5 Undefined --- --­4 Undefined --- --­3 Continuous Paper Detec-
tor
Invalid Valid
2 Error Invalid Valid 1 ONLINE/OFFLINE
Status
Invalid Valid
0
Drawer kick connector pin #3
Invalid Valid
The printer information transmitted is comprised of 4 bytes as follows:
First byte(printer information)
Bit Off/On
Hex
Decimal
Function
7 Off 00 0 Not used. Fixed to Off
6 Off 00 0 Paper is not being fed by the
paper feed button
On 40 64 Paper is being fed by the
paper feed button
5 Off 00 0 Cover is close
On 20 32
Cover is open
4 On 10 16 Not used. Fixed to On
3 Off 00 0 On-line
On 08 8 Off-line
2
Off 00
0 Drawer kick
-
out conne
c
tor
pin 3 is LOW
On 04
4 Drawer kick
-
out conne
c
tor
pin 3 is HIGH
1 Off 00 0 Not used. Fixed to Off
0 Off 00 0 Not used. Fixed
to Off
Second byte(printer information)
Bit Off/On
Hex
Decimal
Function
7 Off 00 0 Not used. Fixed to Off
Page 85
Chapter 6 Command List
MP-1060 USER′S MANUAL
Page:6-41
6 Off 00 0 Not used. Fixed to Off
5 Off 00 0 Not used. Fixed to Off
4 Off 00 0 Not used. Fixed to Off
3 On 08 8 Not used. Fixed to Off
2
On 04
4 Not used. Fixed to Off
1 On 02 2 Not used. Fixed to Off
0 On 01 1 Not used. Fixed to Off
Third byte (paper sensor information)
Bit Off/On
Hex
Decimal
Function
7 Off 00 0 Not used. Fixed to Off
6 Off 00 0 Not used. Fixed to Off
5 Off 00 0 Not used.
Fixed to Off
4 On 00 0 Not used. Fixed to Off
2,3 Off 00 0 Paper end sensor: paper pr
sent
On 0C 12 Paper end sensor: no paper
present
0,1 Off 00 0 Paper near end sensor: paper
adequate
On 03 3 Paper near end se
n
sor: paper
near end
Fourth byte (paper sensor information)
Bit Off/On
Hex
Decimal
Function
7 Off 00 0 Not used. Fixed to Off
6 Off 00 0
Black mark sensor status
5 Off 00 0 Not used. Fixed to Off
4 Off 00 0 Not used. Fixed to Off
3 On 08 8 Not used. Fixed to On
2
On 04
4 Not used. Fixe
d to On
1 On 02 2 Not used. Fixed to On
0 On 01 1 Not used. Fixed to On
Page 86
Chapter 6 Command List
MP-1060 USER′S MANUAL
Page:6-42
GS f n
[Name]
Select font for HRI characters
.
[Format]
ASCII GS f n
Hex. 1D 66 n Decimal 29 102 n
[Range]
n = 0,1,48,49
Initial Value n = 0
[Des
cription]
Selects the HRI character font when printing bar codes.
n Font
0, 48
Selects Font A (12 x 24).
1, 49
Selects Font B (9 x 17).
GS h n
[Name]
Set bar code height.
[Format]
ASCII GS h
n
Hex. 1D 68 n Decimal 29 104 n
[Range]
1 n 255
Initial Value n = 162
[Description]
Sets bar code height to n dots.
1. GS k m d1 … dk NUL.
2. GS k m n d1 … dk
[Name]
Print bar code.
[Format]
1. ASCII GS k m d1...dk NUL
Hex. 1D 6B m d1...dk NUL
Decimal 29 107 m d1...dk NUL
2. ASCII GS k m n d1...dk
Hex. 1D 6B m n d1...dk Decimal 29 107 m n d1...dk
[Range]
1. 0 m 6 The definition region of k and d differ according to the bar
code type.
2. 65 m 73 The definition region of n
and d differ according to the bar
code type.
[Description]
Selects bar code type and prints bar codes.
1:
m Bar Code Type
Defined r
e
gion of k
Defined r
e
gion of d
Page 87
Chapter 6 Command List
MP-1060 USER′S MANUAL
Page:6-43
0 UPC
-A
11 k 12
48 d 57
1 UPC
-E
11 k 12
48 d 57
2 JAN13 (EAN13)
12 k
13 48 d 57
3 JAN8 (EAN8)
7 k 8
48 d 57
4 CODE39
1 k 255
48 d 57, 65 d
90,
32, 36, 37, 43, 45, 46,
47
5 ITF 2 k 254 (Ho
w-
ever, this is an even number.)
48 d 57
6 CODABAR
1 k 255
48 d 57, 65 d
68, 36, 43, 45, 46, 47, 58
2:
m Bar Code Type
Defined r
e
gion of n
Defined r
e
gion of d
65 UPC
-A
11 n 12
48 d 57
66 UPC
-E
11 n 12
48 d 57
67 JAN13 (EAN13)
12 n 13
48 d 57
68 JAN8 (EAN8)
7 n 8
48 d 57
69 CODE39
1 n 255
48 d 57, 65
d
90,
32, 36, 37, 43, 45, 46,
47
70 ITF 2 n 254 (Ho
w-
ever, this is an even number.)
48 d 57
71 CODABAR
1 n 255
48 d 57, 65 d
68, 36, 43, 45, 46, 47, 58
72 CODE93
1 n 255
0 d 127
73 CODE128
2 n 255
0 d 127
Page 88
Chapter 6 Command List
MP-1060 USER′S MANUAL
Page:6-44
GS r n
[Name]
Transmit status
.
[Format]
ASCII GS r n
Hex. 1D 72 n Decimal 29 114 n
[Range]
n =
1, 2, 49, 50
[Description]
Sends the specified status.
Detector Status (n=1,49)
Bit Status
0
1
7 Fixed at 0
6 Undefine
d
5 Undefined
4 Fixed at 0
3 Paper roll end d
e
tector
Has P
a
per Paper out
2 Paper roll end d
e
tector
Has P
a
per Paper out
1 Paper roll near end detector
Has P
a
per Paper out
0 Paper roll near end detector
Has P
a
per Paper out
Drawer Kick Connector Status (n=2,50)
Bit Status
0
1
7 Fixed at 0
6 Undefined
5 Undefined
4 Fixed at 0
3 Undefined
2 Undefined
1 Undefined
0 Drawer kick co
n
nector pin
#3
L
H
GS v 0 m xL xH yL yH d1 … dk
[Name]
Print raster bit image.
[Format]
ASCII GS v 0
m xL xH yL yH d1...dk
Hex. 1D 76 30 m xL xH yL yH d1...dk Decimal 29 118 48 m xL xH yL yH d1...dk
[Range]
m = 0, m = 48
0 xL 54(for 2 inch) 0 xL 72(for 3 inch)
Page 89
Chapter 6 Command List
MP-1060 USER′S MANUAL
Page:6-45
0 xH 0
0 yL 255 0 yH 3 0 d 255 k = (xL+xH×256) × (yL+yH×256) However, k 0
[Description]
Prints raster method bit images using mode m.
m Mode
Density of Vert. Dir.
Dots
Density of Hor. Dir.
Dots
0, 48
Normal Mode
203 DPI
203 DPI
x
L and xH
specify the horizontal direction data count for one bit im-
age (x
L + xH x
256) in bytes.
y
L and yH
specify the vertical direction data count for one bit image
(y
L + yH x
256) in bytes.
Page 90
Chapter 6 Command List
MP-1060 USER′S MANUAL
Page:6-46
GS w n
[Name]
Set bar code width
.
[Format]
ASCII GS w n
Hex. 1D 77 n Decimal 29 119 n
[Range]
1 n 6
Initial Value n = 2
[Description]
Sets the bar code horizontal size.
n Multi
-
level Bar
Code Module Width [mm]
Binary Level Bar Code
Fine Element
Width[mm]
Thick Element
Width[mm]
1 0.141
0.141
0.423
2 0.282
0.282
0.706
3 0.423
0.423
1.129
4 0.564
0.564
1.411
5 0.706
0.706
1.834
6 0.847
0.847
2.258
TWO-DIMENSIONAL BAR CODE COMMAND DETAILS
DC2 ; n
[Name]
QR Code Module Size Set
[Format]
ASCII DC ; n
Hex. 12 3B n Decimal 18 59 n
[Range]
2 n 16
Initial Value n = 2
[Description]
Specifies a module size of QR Code and Data Matrix. n: The number of dots for one side of the module size.
Page 91
Chapter 6 Command List
MP-1060 USER′S MANUAL
Page:6-47
GS p 1
[Name]
QR Code Print
[Format]
ASCII GS p 1
model e v mode nl nh [data]
Hex. 1D 70 01 model e v mode nl nh [data] Decimal 29 112 01 model e v mode nl nh [data]
[Range]
model=01, 02 e=4Ch, 4Dh, 51h, 48h 0, 1 v 40 mode=4Eh, 41h, 42h, 4Bh, 4Dh
1 nh×256+nl 7089
[Description]
Prints QRCode data based on the specified contents.
model: Specifies a model
e: Selects an error correction level.
’L’ (4CH), ’M’ (4DH), ’Q’ (51H), ’H’ (48H)
v: =0: Automatic selection
(A version is automatically selected depending on the number of
input data.)
1 v 40 Fixed version (up to 14 for model-1)
mode: Specifies a mode of data.
Mode
Hexadecimal
Mode
N 4E Numerical mode
A 41 Alphanumeric mode
B 42 8-bit byte mode
K 4B Kanji mode
M 4D Mixed mode
nl, nh: Specifies the number of data.
Data: Kanji data of the QRCode data should be set by Shift JIS code.
Page 92
Chapter 6 Command List
MP-1060 USER′S MANUAL
Page:6-48
KANJI CONTROL COMMAND DETAILS
FS ! n
[Name]
Set print mode(s) for Kanji characters
.
[Format]
ASCII FS
! n
Hex. 1C 21 n Decimal 28 33 n
[Range]
0 n 255
Initial Value n = 0
[Description]
Batch specifies the Kanji character print mode.
Bit Function
0 1
7 Underline
Off On
6 Undefined
5 Undefined
4 Undefined
3 Doub
le tall expanded
Off On
2 Expanded wide
Off On
1 Undefined
0 Undefined
FS &
[Name]
Select Kanji character mode
.
[Format]
ASCII FS &
Hex. 1C 26 Decimal 28 38
[Range]
N/A
[Description]
Specifies Kanji character mode.
Page 93
Chapter 6 Command List
MP-1060 USER′S MANUAL
Page:6-49
FS - n
[Name]
Turn underline mode on/off for Kanji characters
[Format]
ASCII FS
-
n
Hex. 1C 2D n Decimal 28 45 n
[Range]
0 n 2, 48 n 50
[Description]
Specifies or cancels Kanji character underlines.
n Function
0,48
Cancels
Kanji
character underline
1,49
Sets to one-dot width Kanji character underline and specifies Kanji character underlines.
2,50
Sets to two-dot width Kanji character underline and cancels Kanji character underlines.
FS .
[Name]
Cancel Kanj
i character mode.
[Format]
ASCII
FS .
Hex. 1C 2E Decimal 28 46
[Range]
N/A
[Description]
Cancels Kanji character mode.
FS S n1 n2
[Name]
Set
Kanji
character spacing
[Format]
ASCII
FS S n1 n2
Hex. 1C 53 n1 n2 Decimal 28 83 n1 n2
[Range]
0 n1 255, 0 n2 255
Initial Value n1 = 0, n2=0
[Description]
Sets the Kanji character space amount and right space amount.
Left space amount: n1 x (basic calculated pitch)
Right space amount: n2 x (basic calculated pitch)
Page 94
Chapter 6 Command List
MP-1060 USER′S MANUAL
Page:6-50
FS W n
[Name]
Turn quadruple
-
size mode on/off for Kanji characters.
[Format]
ASCII FS W n
Hex. 1C 57 n Decimal 28 87 n
[Range]
0 ≤ n ≤
255
Initial Value n = 0
[Description]
Specifies or cancels quadruple size Kanji character.
Cancels quadruple size when n = <*******0>B.
Specifies quadruple size when n = <*******1>B.
n is effective only when it is the lowest bit.
Page 95
Page: 7-1
LANGUAGES
This chapter shows tables of character codes.
Note: All the tables only show the character configurations. They do
not show the actual print pattern.
Sections include:
Ank Code Page INTERNATIONAL CHARACTERS Japanese Language Codes (Shift-JIS Codes) Taiwanese Language Codes Simplified Chinese Language Codes Korean Language Codes
CHAPTER
7
Page 96
Chapter 7 Languages
MP-1060 USER′S MANUAL
Page: 7-2
7-1 Ank Codes
Page 97
Chapter 7 Languages
MP-1060 USER′S MANUAL
Page:7-3
Page 98
Chapter 7 Languages
MP-1060 USER′S MANUAL
Page: 7-4
Page 99
Chapter 7 Languages
MP-1060 USER′S MANUAL
Page:7-5
7-2 International Characters
Page 100
Chapter 7 Languages
MP-1060 USER′S MANUAL
Page: 7-6
7-3 Japanese Language Codes (Shift-JIS Codes)
Loading...