ZQ110
Mobile Printer Command Manual
P1069085-001
Rev. A
ZQ110
Mobile Printer Command Manual
Table of Contents
1. Notice ............................................................................................................................. 6
2. Control Commands List ............................................................................................... 6
3. Control Commands Details .......................................................................................... 8
3-1 Command Notation .................................................................................................... 8
3-2 Explanation of Terms ................................................................................................. 8
3-3 Control Commands Details ........................................................................................ 9
Rev. 1.00
ZQ110
Mobile Printer Command Manual
■ Proprietary Statements
This manual contains proprietary information for Zebra Technologies Corporation. It is
intended solely for the information and use of parties operating and maintaining the equipment described herein. Such proprietary information may not be used, reproduced, or disclosed to any other parties for any other purpose without the expressed written permission
of Zebra Technologies Corporation.
Product Improvements
Since continuous product improvement is a policy of Zebra Technologies Corporation, all
specifications and signs are subject to change without notice.
FCC Compliance Statement
NOTE: This equipment has been tested and found to comply with the limits of a Class B
digital device, pursuant to Part 15 of the FCC Rules. These limits are designed to provide
reasonable protection against harmful interference in a residential installation. This equipment generates, uses and can radiate radio frequency energy and, if not installed and
used in accordance with the instructions, may cause harmful interference with radio
communications. However, there is no guarantee that interference will not occur in a
particular installation. If this equipment does cause harmful interference to radio or
television reception, which can be determined by turning the equipment off and on, the
user is encouraged to try to correct the interference by one or more of the following
measures:
• Reorient or relocate the receiving antenna.
• Increase the separation between the equipment and the receiver.
• Connect the equipment to an outlet or circuit different from that to which the receiver is
connected.
• Consult the dealer or an experienced radio/TV technician for help.
WARNING: Exposure to Radio Frequency radiation. To conform to FCC RF exposure requirements this device shall be used in accordance with the operating conditions and instructions listed in this manual.
NOTE: This unit was tested with shielded cables on the peripheral devices. Shielded
cables must be used with the unit to ensure compliance.
Changes or modifications to this unit not expressly approved by Zebra Technologies
Corporation could void the user’s authority to operate this equipment.
Rev. 1.00
ZQ110
Mobile Printer Command Manual
Canadian Compliance Statement
This Class B digital apparatus complies with Canadian ICES-003.
Cet appareil numérique de la classe B est conforme á la norme NMB-003 du Canada.
“IC:” before the equipment certification number signifies that the Industry Canada technical
specifications were met. It does not guarantee that the certified product will operate to the
user’s satisfaction.
Liability Disclaimer
Inasmuch as every effort has been made to supply accurate information in this manual,
Zebra Technologies Corporation is not liable for any erroneous information or omissions.
Zebra Technologies Corporation reserves the right to correct any such errors and
disclaims liability resulting therefrom.
No Liability for Consequential Damage
In no event shall Zebra Technologies Corporation or anyone else involved in the creation,
production, or delivery of the accompanying product (including hardware and software) be
liable for any damages whatsoever (including, without limitation, damages for loss of
business profits, business interruption, loss of business information, or other pecuniary
loss) arising out of the use of or the results of use of or inability to use such product, even
if Zebra Technologies Corporation has been advised of the possibility of such damages.
Because some states do not allow the exclusion of liability for consequential or incidental
damages, the above limitation may not apply to you.
Rev. 1.00
ZQ110
Mobile Printer Command Manual
Copyrights
The copyrights in this manual and the label print engine described therein are owned by
Zebra Technologies Corporation. Unauthorized reproduction of this manual or the software
in the label print engine may result in imprisonment of up to one year and fines of up to
$10,000 (17 U.S.C.506). Copyright violators may be subject to civil liability.
This product may contain ZPL®, ZPL II®, and ZebraLink™ programs; Element Energy
Equalizer® Circuit; E3®; and AGFA fonts. Software © ZIH Corp. All rights reserved
worldwide.
ZebraLink and all product names and numbers are trademarks, and Zebra, the Zebra logo,
ZPL, ZPL II, Element Energy Equalizer Circuit, and E3 Circuit are registered trademarks of
ZIH Corp. All rights reserved worldwide.
Monotype®, Intellifont® and UFST® are trademarks of Monotype Imaging, Inc. registered
in the United States Patent and Trademark Office and may be registered in certain
jurisdictions.
Andy™, CG Palacio™, CG Century Schoolbook™, CG Triumvirate™, CG Times™,
Monotype Kai™, Monotype Mincho™ and Monotype Sung™ are trademarks of Monotype
Imaging, Inc. and may be registered in some jurisdictions.
HY Gothic Hangul™ is a trademark of Hanyang Systems, Inc.
Angsana™ is a trademark of Unity Progress Company (UPC) Limited.
Andale®, Arial®, Book Antiqua®, Corsiva®, Gill Sans®, Sorts® and Times New Roman®
are trademarks of The Monotype Corporation registered in the United States Patent and
Trademark Office and may be registered in certain jurisdictions.
Century Gothic™, Bookman Old Style™ and Century Schoolbook™ are trademarks of The
Monotype Corporation and may be registered in certain jurisdictions.
HGPGothicB™ is a trademark of the Ricoh company, Ltd. and may be registered in some
jurisdictions.
Univers™ is a trademark of Heidelberger Druckmaschinen AG, which may be registered in
certain jurisdictions, exclusively licensed through Linotype Library GmbH, a wholly owned
subsidiary of Heidelberger Druckmaschinen AG.
Futura® is a trademark of Bauer Types SA registered in the United States Patent and
Trademark Office and may be registered in some jurisdictions.
TrueType® is a trademark of Apple Computer, Inc. registered in the United States Patent
and Trademark Office and may be registered in certain jurisdictions.
All other product names are the property of their respective owners.
All other brand names, product names, or trademarks belong to their respective holders.
©2014 ZIH Corp.
Rev. 1.00
ZQ110
Mobile Printer Command Manual
Print and carriage return
Set real-time command mode
Cancel the print data in page mode
Set the character right space
Set absolute print position
Turn underline mode on/off
Select default line spacing
Set horizontal tab positions
Turn emphasized mode on/off
Turn double-strike mode on/off
Select character font/ MSR card read
Specify an international character set
Select print direction in page mode
Set print area in page mode
Set relative print position
Select character code table
1. Notice
This manual contains information on the protocol and functions of all control commands
that can be used with the ZQ110 printer.
2. Control Commands List
Rev. 1.00
ZQ110
Mobile Printer Command Manual
Turn upside-down print mode on/off
Select Kanji character mode
Cancel Kanji character mode
Set absolute vertical print position in page mode
Set black mark control functions
Specify and print the symbol
Start/end macro definition
Turn white/black reverse print mode on/off
Select print position of HRI characters
Set print position to the beginning of print line
Set relative vertical print position in page mode
Enable/disable Automatic Status Back (ASB)
Select font for HRI characters
Execute automatic calibration in Black mark mode
Sentinel character set up commands
Rev. 1.00
Mobile Printer Command Manual
[Name]
[Format]
[Range]
[Description]
The name of the command.
The code sequence: ASCII indicates the ASCII character equivalents.
Hex indicates the hexadecimal equivalents.
Decimal indicates the decimal equivalents.
[ ] k indicates that the content of the [ ] should be repeated k times.
Provides the allowable ranges for the arguments.
Describes the function of the command.
3. Control Commands Details
ZQ110
Rev. 1.00
Mobile Printer Command Manual
3-3 Control Commands Details
[Name]
[Format]
[Range]
[Description]
1 ≤ n ≤ 4
▪ Transmits the status specified by n as follows:
Transmit paper roll sensor status
▪ This printer transmits the following status.
n=1: Printer status
Paper is not being fed by using the paper
FEED button
Paper is being fed by the paper FEED
button
Printing is being stopped
ZQ110
Rev. 1.00
ZQ110
Mobile Printer Command Manual
n=4: Continuous paper sensor status
00 0 Paper end sensor; paper present
Paper end sensor; paper not present
00 0 Paper end sensor; paper present
Paper end sensor; paper not present
• This is a status request command to determine if the printer is off-line or
if an error condition has occurred. Take the following into consideration:
• If this command interrupts the code string of another command, this
command is processed as a parameter of the other command; therefore,
the print result will not be correct.
• If a command such as graphics data or defined data has a code string
that is the same as a code string in a parameter, the printer processes
and then continues with the bit-image or other command.
• This command following DLE can be executed in real-time command
mode.
• This command is ignored when transmitting block data (Header ~ NUL).
Rev. 1.00
ZQ110
Mobile Printer Command Manual
[Name]
[Format]
[Description]
[Example]
▪ Moves the print position to the next horizontal tab position.
▪ Input:
0x54 0x45 0x53 0x54 0x0a
0x54 0x09 0x45 0x09 0x53 0x09 0x54 0x0a
▪ Output:
[Name]
[Format]
[Description]
[Example]
▪ In standard mode, prints the data in the print buffer and feeds one line
based on the current line spacing.
▪ In page mode, only the print position moves, and the printer does not
perform actual printing
▪ Input:
0x31
0x0a
0x32
0x0a 0x0a
0x33
0x0a 0x0a 0x0a
0x34 0x0a
▪ Output:
Rev. 1.00
ZQ110
Mobile Printer Command Manual
[Name]
[Format]
[Description]
[Example]
If in page mode, after printing, the printer is returned to standard mode.
▪ All data collected to the current point is printed, and then the printer is
converted from page mode to standard mode.
▪ After printing, the printer does not clear the buffer data of page mode.
▪ Input:
0x1b 0x4c
0x1b 0x57 0x00 0x00 0x00 0x00 0x80 0x01 0xf0 0x00
0x50 0x61 0x67 0x65 0x20 0x6d 0x6f 0x64 0x65 0x0a
0x0c
▪ Output:
[Name]
[Format]
[Description]
Print and carriage return.
▪ This command is ignored CR.
Rev. 1.00
ZQ110
Mobile Printer Command Manual
[Name]
[Format]
[Description]
Set real-time command mode.
▪ Set real-time command mode.
▪ A single command following this command is regarded as a real time
command that the printer executes upon receiving it.
▪ The real time command mode using DLE is activated for following
commands.
[Name]
[Format]
[Description]
[Example]
Cancel print data in page mode.
▪ In page mode, deletes all the print data in the current print area.
▪ Input:
0x54 0x45 0x53 0x54 0x31 0x0a
0x1b 0x4c
0x1b 0x57 0x00 0x00 0x00 0x00 0x80 0x01 0xf0 0x00
0x54 0x45 0x53 0x54 0x32 0x0a
0x18
0x0c
0x54 0x45 0x53 0x54 0x33 0x0a
▪ Output:
Rev. 1.00
ZQ110
Mobile Printer Command Manual
[Name]
[Format]
[Range]
[Default]
[Description]
[Example]
Set right-side character spacing.
0 ≤ n ≤ 255
n=0
▪ Sets the character spacing for the right side of the character to
[n ×horizontal or vertical motion units].
▪ The maximum right-side character spacing is:
- 31.875mm.
▪ Input:
0x1b 0x20 0x20
0x31 0x32 0x33 0x0a
0x1b 0x20 0x40
0x31 0x32 0x33 0x0a
0x1b 0x20 0x60
0x31 0x32 0x33 0x0a
▪ Output:
Rev. 1.00
Mobile Printer Command Manual
[Name]
[Format]
[Range]
[Default]
[Description]
[Example]
0 ≤ n ≤ 255
n=0
▪ Selects print mode(s) using n as follows:
00 0 Character font A (12 × 24) selected.
01 1 Character font B (9 x 17) selected.
00 0 Emphasized mode not selected.
Emphasized mode selected.
00 0 Double-height mode not selected.
Double-height mode selected.
00 0 Double-width mode not selected.
Double-width mode selected.
Underline mode not selected.
▪ Input:
0x1b 0x21 0x00
0x46 0x6f 0x6e 0x74 0x41 0x0a
0x1b 0x21 0x01
0x46 0x6f 0x6e 0x74 0x42 0x0a
0x1b 0x21 0x08
0x45 0x6d 0x70 0x68 0x61 0x73 0x69 0x7a 0x65 0x64 0x20 0x6d 0x6f
0x64 0x65 0x0a
0x1b 0x21 0x30
0x44 0x6f 0x75 0x62 0x6c 0x65 0x20 0x73 0x69 0x7a 0x65 0x0a
0x1b 0x21 0x80
0x55 0x6e 0x64 0x65 0x72 0x6c 0x69 0x6e 0x65 0x20 0x6d 0x6f 0x64
0x65 0x0a
▪ Output:
ZQ110
Rev. 1.00
ZQ110
Mobile Printer Command Manual
[Name]
[Format]
[Range]
[Description]
[Example]
Set absolute print position.
0 ≤ (nL + nH x 256) ≤ 65535 (0 ≤ nH ≤ 255, 0 ≤ nL ≤ 255)
▪ Sets the next print starting position, and the absolute print position, in
reference to the left margin. The distance from the beginning of the line to
the left margin is [(nL + nH x 256) x (vertical or horizontal motion units)].
▪ Input:
0x41
0x1b 0x24 0x20 0x00
0x42
0x1b 0x24 0x50 0x00
0x43
0x1b 0x24 0xa0 0x00
0x44
0x0a
▪ Output:
Rev. 1.00
Mobile Printer Command Manual
[Name]
[Format]
[Range]
[Description]
[Example]
m=0, 1, 32, 33
1 ≤ (nL + nH x 256) ≤ 1023 (0 ≤ nL ≤ 255, 0 ≤ nH ≤ 3)
0 ≤ d ≤ 255
▪ Specifies the bit image in m mode for the number of dots specified by nL
and nH.
* dpi : dots per 25.4mm {1”}
Number of
dots in vertical
direction
▪ Input:
0x1b 0x2a 0x00 0x0f 0x00 0x01 0x02 0x04 0x08 0x10 0x20 0x40 0x80
0x40 0x20 0x10 0x08 0x04 0x02 0x01
0x0a
0x1b 0x2a 0x01 0x0f 0x00 0x01 0x02 0x04 0x08 0x10 0x20 0x40 0x80
0x40 0x20 0x10 0x08 0x04 0x02 0x01
0x0a
▪ Output:
ZQ110
Rev. 1.00
ZQ110
Mobile Printer Command Manual
[Name]
[Format]
[Range]
[Default]
[Description]
[Example]
Turn underline mode on/off.
0 ≤ n ≤ 2, 48 ≤ n ≤ 50
n=0
▪ Turn underline mode on or off, based on the following values of n:
Turns off underline mode.
Turns on underline mode, set at 1-dot width.
Turns on underline mode, set at 2-dot width.
▪ Input:
0x1b 0x2d 0x00
0x54 0x45 0x53 0x54 0x30 0x30
0x0a 0x0a
0x1b 0x2d 0x01
0x54 0x45 0x53 0x54 0x30 0x31
0x0a 0x0a
0x1b 0x2d 0x02
0x54 0x45 0x53 0x54 0x30 0x32
0x0a
▪ Output:
Rev. 1.00
Mobile Printer Command Manual
[Name]
[Format]
[Description]
Select default line spacing.
▪ The default line spacing is approximately 3.75 mm, which is equivalent to
30 dots.
[Name]
[Format]
[Range]
[Default]
[Description]
[Example]
0 ≤ n ≤ 255
n = 30
▪ The vertical or horizontal motion unit is approximately 0.125 mm {1/203
inches}. This value equals one dot pitch.
▪ Sets the current line spacing to [n x vertical motion units] inches.
▪ The maximum settable line spacing is 31.875mm.
▪ Input:
0x54 0x45 0x53 0x54 0x30 0x30
0x1b 0x33 0x50
0x0a
0x54 0x45 0x53 0x54 0x30 0x31
0x1b 0x33 0xa0
0x0a
0x54 0x45 0x53 0x54 0x30 0x32
0x1b 0x33 0xff
0x0a
0x54 0x45 0x53 0x54 0x30 0x33
0x0a
▪ Output:
ZQ110
Rev. 1.00
ZQ110
Mobile Printer Command Manual
[Name]
[Format]
[Range]
[Default]
[Description]
1 ≤ n ≤ 3
n = 1
▪ The selection of peripherals according to the n value is as follows.
[Name]
[Format]
[Range]
[Description]
32 ≤ n ≤ 126
▪ Clears the data in the print buffer and resets the printer mode to the mode
that was in effect when the power was turned on.
ESC D
[Name]
[Format]
[Range]
[Default]
[Description]
Set horizontal tab positions.
1 ≤ n ≤ 255 , 0 ≤ k ≤ 32
n=8, 16, 24, 32, 40,....., 232, 240, 248
(for font A in a standard character size width)
▪ Sets horizontal tab positions.
- n specifies the number of digits from the setting position to the left
margin or the beginning of the line.
- k specifies the number of bytes set for the horizontal tab position.
▪ The horizontal tab position is stored as a value of [character width x n]
measured form the beginning of the line.
Rev. 1.00
ZQ110
Mobile Printer Command Manual
▪ Input:
0x48 0x09 0x48 0x09 0x48 0x09 0x48
0x0a
0x1b 0x44 0x0a 0x14 0x1e 0x00
0x48 0x09 0x48 0x09 0x48 0x09 0x48
0x0a
▪ Output:
[Name]
[Format]
[Range]
[Default]
[Description]
[Example]
Turn emphasized mode on / off.
0 ≤ n ≤ 255
n=0
▪ Turns emphasized mode on or off.
- When the LSB
of n is 0, emphasized mode is turned off.
- When the LSB of n is 1, emphasized mode is turned on.
▪ Input:
0x1b 0x45 0x01
0x41 0x42 0x43 0x44 0x45
0x0a
0x1b 0x45 0x00
0x41 0x42 0x43 0x44 0x45
0x0a
▪ Output:
Rev. 1.00
ZQ110
Mobile Printer Command Manual
[Name]
[Format]
[Range]
[Default]
[Description]
[Example]
Turn double-strike mode on/off.
0 ≤ n ≤ 255
n=0
▪ Turns double-strike mode on or off.
- When the LSB of n is 0, double-strike mode is turned off.
- When the LSB of n is 1, double-strike mode is turned on.
▪ Input:
0x1b 0x47 0x01
0x41 0x42 0x43 0x44 0x45
0x0a
0x1b 0x47 0x00
0x41 0x42 0x43 0x44 0x45
0x0a
▪ Output:
Rev. 1.00
ZQ110
Mobile Printer Command Manual
[Name]
[Format]
[Range]
[Description]
[Example]
0 ≤ n ≤ 255
▪ Prints the data in the print buffer and feeds the paper [n X vertical
motion unit].
▪ Input:
0x41 0x42 0x43 0x44 0x45
0x1b 0x4a 0x50
0x41 0x42 0x43 0x44 0x45
0x1b 0x4a 0xa0
0x41 0x42 0x43 0x44 0x45
0a
▪ Output:
[Name]
[Format]
[Description]
▪ Switches from standard mode to page mode.
Rev. 1.00
Mobile Printer Command Manual
[Name]
[Format]
[Range]
[Default]
[Description]
[Notes]
Select character font./ MSR card read
n = 0, 1, 48, 49 , 67, 68, 69, 70, 71, 72, 73
n=0
▪ Selects only-byte character fonts
▪ Selects Card reader mode
Character font A (12 × 24) selected
Character font B (9 × 17) selected
Character font B (9 × 24) selected
Set 1 track card reader mode
Set 2 track card reader mode
Set 1,2 track card reader mode
Transmits the MSR setting value(s)
Set 3 track card reader mode
Set 2,3 track card reader mode
Set 1,2,3 track card reader mode
▪ Magnetic card read out put format
- When MSR set to Track 1 Read mode
START characters
(Max 10 byte)
Max DATA 76 characters
(1Track data)
END characters
(Max 10 byte)
- When MSR set to Track 2 Read mode
START characters
(Max 10 byte)
Max DATA 37 characters
(2Track data)
END characters
(Max 10 byte)
- When MSR set to Track 3 Read mode
START characters
(Max 10 byte)
Max DATA 104 characters
(3Track data)
END characters
(Max 10 byte)
- When MSR set to Track 1/2 Read mode
START characters
(Max 10 byte)
Max DATA 76 characters
(1Track data)
END characters
(Max 10 byte)
START characters
(Max 10 byte)
Max DATA 37 characters
(2Track data)
END characters
(Max 10 byte)
- When MSR set to Track 2/3 Read mode
START characters
(Max 10 byte)
Max DATA 37 characters
(2Track data)
END characters
(Max 10 byte)
START characters
(Max 10 byte)
Max DATA 104 characters
(3Track data)
END characters
(Max 10 byte)
Rev. 1.00
ZQ110
Mobile Printer Command Manual
- When MSR set to Track 1/2/3 Read mode
START characters
(Max 10 byte)
Max DATA 76 characters
(1Track data)
END characters
(Max 10 byte)
START characters
(Max 10 byte)
Max DATA 37 characters
(2Track data)
END characters
(Max 10 byte)
START characters
(Max 10 byte)
Max DATA 104 characters
(3Track data)
END characters
(Max 10 byte)
▪ Transmits the setting value format
Track 1/2/3 read mode command (3 Track case)
Track 1 read mode AUTO trigger (3 Track case)
Track 2 read mode AUTO trigger (3 Track case)
Track 3 read mode AUTO trigger (3 Track case)
Track 1/2 read mode AUTO trigger (3 Track case)
Track 2/3 read mode AUTO trigger (3 Track case)
Track 1/2/3 read mode AUTO trigger (3 Track case)
▪ Input:
0x1b 0x4d 0x00
0x41 0x42 0x43 0x44 0x45
0x0a
0x1b 0x4d 0x01
0x41 0x42 0x43 0x44 0x45
0xa0
0x1b 0x4d 0x02
0x41 0x42 0x43 0x44 0x45
0a
▪ Output:
ZQ110
Rev. 1.00
Mobile Printer Command Manual
[Name]
[Format]
[Range]
[Default]
[Description]
[Example]
Select an international character set.
0 ≤ n ≤ 13
n=0
▪ Selects international character set in from the following table:
▪ Input:
0x1b 0x52 0x00
0x23 0x24 0x40 0x5b 0x5c 0x5d 0x5e 0x60 0x7b 0x7c 0x7d 0x7e
0x0a
0x1b 0x52 0x01
0x23 0x24 0x40 0x5b 0x5c 0x5d 0x5e 0x60 0x7b 0x7c 0x7d 0x7e
0x0a
0x1b 0x52 0x02
0x23 0x24 0x40 0x5b 0x5c 0x5d 0x5e 0x60 0x7b 0x7c 0x7d 0x7e
0x0a
0x1b 0x52 0x03
0x23 0x24 0x40 0x5b 0x5c 0x5d 0x5e 0x60 0x7b 0x7c 0x7d 0x7e
0x0a
0x1b 0x52 0x04
0x23 0x24 0x40 0x5b 0x5c 0x5d 0x5e 0x60 0x7b 0x7c 0x7d 0x7e
0x0a
0x1b 0x52 0x05
0x23 0x24 0x40 0x5b 0x5c 0x5d 0x5e 0x60 0x7b 0x7c 0x7d 0x7e
0x0a
0x1b 0x52 0x06
0x23 0x24 0x40 0x5b 0x5c 0x5d 0x5e 0x60 0x7b 0x7c 0x7d 0x7e
0x0a
0x1b 0x52 0x07
0x23 0x24 0x40 0x5b 0x5c 0x5d 0x5e 0x60 0x7b 0x7c 0x7d 0x7e
0x0a
0x1b 0x52 0x08
0x23 0x24 0x40 0x5b 0x5c 0x5d 0x5e 0x60 0x7b 0x7c 0x7d 0x7e
0x0a
0x1b 0x52 0x09
0x23 0x24 0x40 0x5b 0x5c 0x5d 0x5e 0x60 0x7b 0x7c 0x7d 0x7e
0x0a
Rev. 1.00
ZQ110
ZQ110
Mobile Printer Command Manual
0x1b 0x52 0x0a
0x23 0x24 0x40 0x5b 0x5c 0x5d 0x5e 0x60 0x7b 0x7c 0x7d 0x7e
0x0a
0x1b 0x52 0x0b
0x23 0x24 0x40 0x5b 0x5c 0x5d 0x5e 0x60 0x7b 0x7c 0x7d 0x7e
0x0a
0x1b 0x52 0x0c
0x23 0x24 0x40 0x5b 0x5c 0x5d 0x5e 0x60 0x7b 0x7c 0x7d 0x7e
0x0a
0x1b 0x52 0x0d
0x23 0x24 0x40 0x5b 0x5c 0x5d 0x5e 0x60 0x7b 0x7c 0x7d 0x7e
0x0a
▪ Output:
[Name]
[Format]
[Description]
▪ Switches from page mode to standard mode.
Rev. 1.00
Mobile Printer Command Manual
[Name]
[Format]
[Range]
[Default]
[Description]
[Example]
Select print direction in page mode.
0 ≤ n ≤ 3, 48 ≤ n ≤ 51
n=o
▪ Selects the print direction and starting position in page mode.
▪ Input:
0x1b 0x4c
0x1b 0x57 0x00 0x00 0x00 0x00 0x80 0x01 0x80 0x01
0x1b 0x54 0x00
0x41 0x42 0x43
0x1b 0x54 0x01
0x41 0x42 0x43
0x1b 0x54 0x02
0x41 0x42 0x43
0x1b 0x54 0x03
0x41 0x42 0x43
0x0c
▪ Output:
ZQ110
Rev. 1.00
Mobile Printer Command Manual
[Name]
[Format]
[Range]
[Default]
[Description]
[Example]
Set relative print position.
0 ≤ (xL + xH x 256) ≤ 65535 (0 ≤ xL ≤ 255, 0 ≤ xH ≤ 255)
0 ≤ (yL + yH x 256) ≤ 65535 (0 ≤ yL ≤ 255, 0 ≤ yH ≤ 255)
1 ≤ (dxL + dxH x 256) ≤ 65535 (0 ≤ dxL ≤ 255, 0 ≤ dxH ≤ 255)
1 ≤ (dyL + dyH x 256) ≤ 65535 (0 ≤ dyL ≤ 255, 0 ≤ dyH ≤ 255)
Horizontal logical origin and vertical logical origin = 0
xL=0, xH =0, yL=0, yH=0
dxL = 128, dxH = 1, dyL = 72, dyH = 3
▪ When paper width of 58mm is selected:
(xL + xH x 256) = 0 (xL=0, xH=0)
(dyL + dyH x 256) = 840 (dyL=72, dyH=3)
▪ Set the position and the size of the printing area.
- Horizontal starting position = [(xL + xH x 256) x (horizontal motion units)].
- Vertical starting position = [(yL + yH x 256) x (vertical motion units)].
- Horizontal printing area width = [(dxL + dxH x 256) x (horizontal motion units)].
- Vertical printing area width = [(dyL + dyH x 256) x (vertical motion units)].
▪ The printer ignores any setting that exceeds the print area.
▪ Input:
0x1b 0x4c
0x1b 0x57 0x00 0x00 0x00 0x00 0x80 0x01 0x80 0x01
0x53 0x28 0x58 0x2e 0x59 0x29
0x1b 0x24 0x2c 0x01
0x1d 0x24 0x80 0x01
0x45 0x28 0x58 0x2e 0x59 0x29
0x0c
▪ Output:
ZQ110
Rev. 1.00
Mobile Printer Command Manual
[Name]
[Format]
[Range]
[Description]
[Example]
Set relative print position.
0 ≤ (nL + nH x 256) ≤ 65535 (0 ≤ nL 255, 0 ≤ nH ≤ 255)
▪ Set the print starting position based on the current position to [(nL + nH ×
256) × horizontal or vertical motion unit]
- When (nL + nH × 256 is a positive number, the print starting position is
specified to the right based on the current position.
- When (nL + nH × 256) is a negative number, the print starting position
is specified to the left based on the current position.
▪ The printer ignores any setting that exceeds the print area.
▪ Input:
0x41 0x42
0x1b 0x24 0x50 0x00
0x43
0x0a
0x41 0x42
0x1b 0x5c 0x50 0x00
0x43
0x0a
▪ Output:
ZQ110
Rev. 1.00