Programming Reference
International Edition, Rev. 2.2 Beta Release
Download from Www.Somanuals.com. All Manuals Search And Download.
Proprietary Statement
VERSAJET
Programming Reference
The information contained herein is proprietary and is provided sorely for the purpose of allowing customers to operate
and maintain the equipment described herein. PC Worth Int’l Co., Ltd. reserves the right to make changes in
specifications and other information contained in this document without prior notice.
Liability Disclaimer
PC Worth makes no warranty of any kind with regard to this publication, including, but not limited to, the implied warranty
of merchantability and fitness for any particular purpose. PC Worth shall not be liable for technical or editorial errors or
omissions contained herein; nor for incidental consequential damages in connection with the furnishing, performance, or
use of this publication. This publication contains proprietary information that is protected by copyright. All rights are
reserved. No part of this publication may be photocopied, reproduced or translated into any language, in any forms, in an
electronic retrieval system or otherwise, without the prior written permission of PC Worth.
No Liability for Consequential Damage
In no event shall PC Worth 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 PC Worth has been advised of the possibility of such
damages.
Trademarks & Copyright
All registered and unregistered trademarks used herein are the exclusive property of their respective owners.
© Copyright PC Worth Int'l Co., Ltd.
© Copyright Cino Group
Download from Www.Somanuals.com. All Manuals Search And Download.
VERSAJET
Programming Reference
Table of Contents
Chapter 1 Introduction .................................................................................................. 1
JCL Command Sets ...........................................................................................................................2
Commands Comparison between JCL and ESC/POS .......................................................................3
ESC / POS Emulation ...............................................................................................................3
JCL Feature Command Sets .....................................................................................................7
Chapter 2 Command Overview................................................................................... 10
Command Notation .......................................................................................................................... 11
Explanation of Terms........................................................................................................................12
Supported Commands ....................................................................................................................15
Commands Listed by Function.................................................................................................16
Commands Listed in Alphanumeric Order................................................................................22
Chapter 3 Command Descriptions..............................................................................28
HT…………………………………………………………………………………………………………...…29
LF……………………………………………………………………………………………………………....30
FF………………………………………………………………………………………………………………31
CR……………………………………………………………………………………………………………...32
CAN..................................................................................................................................................33
ESC FF ............................................................................................................................................34
ESC SP............................................................................................................................................35
Download from Www.Somanuals.com. All Manuals Search And Download.
ESC !................................................................................................................................................36
ESC $...............................................................................................................................................37
ESC %..............................................................................................................................................38
ESC & ..............................................................................................................................................39
ESC * ...............................................................................................................................................41
ESC -................................................................................................................................................43
ESC 2...............................................................................................................................................44
ESC 3...............................................................................................................................................45
ESC ?...............................................................................................................................................46
ESC @ .............................................................................................................................................47
ESC {................................................................................................................................................48
ESC D ..............................................................................................................................................49
ESC E ..............................................................................................................................................51
ESC G..............................................................................................................................................52
ESC J...............................................................................................................................................53
ESC L...............................................................................................................................................55
ESC M..............................................................................................................................................57
ESC R ..............................................................................................................................................58
ESC S ..............................................................................................................................................59
ESC T...............................................................................................................................................60
ESC V ..............................................................................................................................................62
ESC W .............................................................................................................................................63
ESC \................................................................................................................................................66
ESC a...............................................................................................................................................67
ESC d...............................................................................................................................................68
ESC t................................................................................................................................................69
VERSAJET
Programming Reference
Download from Www.Somanuals.com. All Manuals Search And Download.
FS !...................................................................................................................................................70
FS & .................................................................................................................................................72
FS - ..................................................................................................................................................73
FS 2..................................................................................................................................................74
FS S .................................................................................................................................................75
FS W ................................................................................................................................................77
FS p..................................................................................................................................................78
FS q..................................................................................................................................................79
GS !..................................................................................................................................................82
GS $.................................................................................................................................................85
GS ( K ..............................................................................................................................................86
GS ( k...............................................................................................................................................88
GS *................................................................................................................................................134
GS /................................................................................................................................................136
GS :................................................................................................................................................138
GS ^ ...............................................................................................................................................140
GS B...............................................................................................................................................142
GS C 0 ...........................................................................................................................................143
GS C 1 ...........................................................................................................................................145
GS C 2 ...........................................................................................................................................147
GS H ..............................................................................................................................................148
GS I................................................................................................................................................149
GS L...............................................................................................................................................150
GS P...............................................................................................................................................152
GS W..............................................................................................................................................154
GS \…………………………………………………………………………………………………………..155
VERSAJET
Programming Reference
Download from Www.Somanuals.com. All Manuals Search And Download.
GS c ...............................................................................................................................................156
GS f................................................................................................................................................158
GS h...............................................................................................................................................159
GS k ...............................................................................................................................................160
GS v 0 ............................................................................................................................................169
GS w ..............................................................................................................................................171
RS A...............................................................................................................................................172
RS B...............................................................................................................................................173
RS E...............................................................................................................................................174
RS F...............................................................................................................................................175
RS G ..............................................................................................................................................176
RS J ...............................................................................................................................................177
RS L ...............................................................................................................................................178
RS a ...............................................................................................................................................179
RS e ...............................................................................................................................................181
RS i ................................................................................................................................................182
RS m ..............................................................................................................................................189
RS n ...............................................................................................................................................190
RS p ...............................................................................................................................................190
RS q ...............................................................................................................................................193
RS r................................................................................................................................................195
RS t ................................................................................................................................................197
RS u ...............................................................................................................................................199
US 1 ...............................................................................................................................................201
US 2 ...............................................................................................................................................202
US 3 ...............................................................................................................................................203
VERSAJET
Programming Reference
Download from Www.Somanuals.com. All Manuals Search And Download.
US 4 ...............................................................................................................................................204
US 7 ...............................................................................................................................................205
US A...............................................................................................................................................206
US C...............................................................................................................................................208
US G ..............................................................................................................................................209
US H...............................................................................................................................................210
US I ................................................................................................................................................ 211
US J ...............................................................................................................................................212
US K...............................................................................................................................................213
US L ...............................................................................................................................................214
US M ..............................................................................................................................................215
US a ...............................................................................................................................................216
US c ...............................................................................................................................................218
US g ...............................................................................................................................................220
US h ...............................................................................................................................................222
US k ...............................................................................................................................................224
US m ..............................................................................................................................................225
US n ...............................................................................................................................................226
US r................................................................................................................................................227
VERSAJET
Programming Reference
Download from Www.Somanuals.com. All Manuals Search And Download.
Introduction
VERSAJET
Programming Reference
Thank you for choosing Cino VersaJet Mobile Printer. The VersaJet mobile printer is designed with rugged
yet lightweight architecture, delivering the ultimate convenience of mobility to meet your on-demand labels and
receipts printing requirements.
Besides RS232 communication interfaces, the VersaJet is compatible with most Bluetooth-enabled devices by
incorporating Bluetooth 2.0 wireless technology. You can select the most suitable model to fulfill your demand.
This Programming Guide provides complete descriptions on command functions and instructs programmer to
configure your VersaJet efficiently. If you need more information, please contact your supplier or visit our web
site for details.
This guide is organized into the following chapters:
ꢀ Introduction
ꢀ Commands Overview
ꢀ Commands Descriptions
Download from Www.Somanuals.com. All Manuals Search1And Download.
JCL Command Sets
VERSAJET
Programming Reference
ESC/POS (Epson Standard Code for Point of Sales) is one of the most world-popular command sets, which
was designed to provide the expandability and universal applicability demanded by the market. The JCL (Job
Control Language) is the proprietary printer language of Cino mobile printer supporting ESC/POS emulation.
This not only shortens user’s learning cycle, but also minimizes the system integration efforts.
Furthermore, the VersaJet possesses more practical and useful command sets than ESC/POS., such as the
manipulation on serialization, graphics and 2D bar codes printing. You may refer to “Command Comparison
between JCL and ESC/POS “ for more details.
Download from Www.Somanuals.com. All Manuals Search2And Download.
Commands Comparison between JCL and ESC/POS
VERSAJET
Programming Reference
ESC / POS Emulation
Command
Descriptions
Horizontal tab
HT
Print and line feed
LF
FF
Print and return to standard mode (in page mode)
Print and carriage return
CR
CAN
Cancel print data in page mode
Print data in page mode
ESC FF
ESC SP
ESC !
Set right-side character spacing
Select print mode(s)
Set absolute print position
Select/cancel user-defined character set
Define user-defined characters
Select bit-image mode
ESC $
ESC %
ESC &
ESC *
Turn underline mode on/off
Select default line spacing
Set line spacing
ESC -
ESC 2
ESC 3
Download from Www.Somanuals.com. All Manuals Search3And Download.
VERSAJET
Programming Reference
Command
Descriptions
Cancel user-defined characters
Initialize printer
ESC ?
ESC @
ESC {
ESC D
ESC E
ESC G
ESC J
ESC L
ESC M
ESC R
ESC S
ESC T
ESC V
ESC W
ESC \
Turn upside-down printing mode on/off
Set horizontal tab positions
Turn emphasized mode on/off
Turn double-strike mode on/off
Print and feed paper
Select page mode
Select character font
Select an international character set
Select standard mode
Select print direction in page mode
Turn 90∘colockwise rotation mode on/off
Set printing area in page mode
Set relative print position
Select justification
ESC a
ESC d
ESC t
Print and feed n lines
Select character code table
Download from Www.Somanuals.com. All Manuals Search4And Download.
VERSAJET
Programming Reference
Command
Descriptions
Set print mode(s) for Kanji characters
FS !
Select Kanji character mode
FS &
FS -
Turn underline mode on/off for Kanji character
Define user-defined Kanji characters
FS 2
FS S
FS W
FS p
FS q
Set left – and right –side Kanji character spacing
Turn quadruple-size mode on/off for Kanji characters
Read the image file from flash memory
Define image, write to flash memory
GS !
Select character size
GS $
GS ( K
GS *
GS /
Set absolute vertical print position in page mode
Adjust printing density
Define downloaded bit image
Print downloaded bit image
GS :
GS I
Start/end macro definition
Transmit printer ID
Set left margin
GS L
GS P
Set horizontal and vertical motion units
Download from Www.Somanuals.com. All Manuals Search5And Download.
VERSAJET
Programming Reference
Command
Descriptions
Set relative vertical print position in page mode
Execute macro
GS \
GS ^
GS H
GS f
GS h
GS k
Select printing position of Human Readable Interpretation (HRI) characters
Select font for HRI characters
Set bar code height
Print bar code
Print raster bit image
GS v 0
GS W
GS w
GS B
Set printing area width
Set bar code width
Turn white/black reverse printing mode on/off
Download from Www.Somanuals.com. All Manuals Search6And Download.
VERSAJET
Programming Reference
JCL Feature Command Sets
Command
Descriptions
Select counter print mode
Select counter mode
GS C 0
GS C 1
GS C 2
GS c
Sets the serial number counter value
Print counter setup
Specify and print the symbol
Label length measurement
Restore factory default
Clear buffer
GS ( k
RS A
RS B
RS E
RS F
Remote power off
Paper feed to TOF position
Rewind command (back feed)
Print self-test (Pre-defined)
Bit-map text format setting
1D bar code generic setting
Draw graphics
RS G
RS J
RS L
RS a
RS e
RS i
Save *.bmp image into flash
RS m
Download from Www.Somanuals.com. All Manuals Search7And Download.
VERSAJET
Programming Reference
Command
Descriptions
Print *.bmp image
RS n
RS p
RS q
RS r
RS t
Set number of copies of printing data
Serialization setting
Print serialization
Define flash macro
Execute macro
RS u
US 1
US 2
US 3
US 4
US 7
US A
US C
US G
US H
US I
Top of form control
Top of form offset setting
Auto tear-off control
Tear-off offset setting
Paper sensor setting
RS232 setting
Bluetooth setting
Buzzer control
Auto power off duration setting
Set printing intensity (darkness)
Automatic status feedback
Default operation mode setup
US J
US K
Download from Www.Somanuals.com. All Manuals Search8And Download.
VERSAJET
Programming Reference
Command
Descriptions
Feed key control
US L
US M
US a
US c
US g
US h
US k
US m
US n
US r
Panel buttons control
Get RS232 configurations
Get Bluetooth configurations
Get printer configurations
Get system information
Get head resistance
Get printing log
Get battery status
Get printer status
Download from Www.Somanuals.com. All Manuals Search9And Download.
Command Overview
VERSAJET
Programming Reference
This chapter covers following topics to present the supported commands that are used with VersaJet:
ꢀ
ꢀ
Command Notation
Explanations of Terms
ꢀ Supported Commands
10
Download from Www.Somanuals.com. All Manuals Search And Download.
Command Notation
VERSAJET
Programming Reference
[Name]
The name of the command.
[Format]
[Range]
The code sequence.
Gives the allowable ranges for the arguments.
Gives the default values, if any, for the command parameters.
Describes the command’s function.
[Default]
[Description]
[Notes]
Provides important information on setting and using the printer command, if necessary.
Hex indicates the hexadecimal equivalents.
Decimal indicates the decimal equivalents.
[ ]k indicates the contents of the [ ] should be repeated k times.
11
Download from Www.Somanuals.com. All Manuals Search And Download.
Explanation of Terms
VERSAJET
Programming Reference
(1) Receive buffer
The receive buffer is a buffer that stores, as is, the data received from the host (the reception data). The
reception data is stored in the receive buffer temporarily, and is then processed sequentially.
(2) Print buffer
The print buffer is a buffer that stores the image data to be printed.
(3) Print buffer full
This is the state where the print buffer is full. If new print data is input while the print buffer is full, the data
in the print buffer is printed out and a line feed is executed. This is the same operation as the LF operation.
(4) Start of line
The start of line state satisfies the following condition:
ꢀThere is no print data (including spaces and portions of data skipped due to bit image data) currently in
the print buffer.
ꢀThere is no print data (including portions of data skipped due to HT)
ꢀThe print position is not specified by the ESC $ or ESC \ command.
12
Download from Www.Somanuals.com. All Manuals Search And Download.
VERSAJET
Programming Reference
(5) Printable area
The maximum range within which printing is possible under the printer specifications. The printable area
for this printer is as follows:
ꢀ The length of the horizontal direction in standard mode:
approximately 48 mm {1.89 “}
ꢀ The length of the vertical direction in page mode:
approximately 160 mm {6.3 “}
(6) Printing area
Printing range is set by the command. It must be printing area ≤ printable area.
(7) Ignore
The state in which all codes, including parameters, are read in and discarded, and nothing happens.
(7) Inch
An unit of length. One inch is 25.4 mm.
(8) MSB
Most Significant Bit
13
Download from Www.Somanuals.com. All Manuals Search And Download.
VERSAJET
Programming Reference
(9) LSB
Least Significant Bit
(11) Base line
Standard position when character data is stored in the print buffer.
Normal character in standard mode and page mode:
Base line
A y
*
* When font A (12×24 dots) is selected, this height is for 24 dots.
* When font B (9×24 dots) is selected, this height is for 24 dots.
Rotated character in standard mode (only when font A is selected):
10 dots
Base line
14
Download from Www.Somanuals.com. All Manuals Search And Download.
Supported Commands
VERSAJET
Programming Reference
In these tables, click any name to see the command description. Please refer following instructions before you
utilize these commands to configure your VersaJet:
Standard mode
ꢀ
:
:
:
:
Enabled.
(ꢀ)
ꢁ
Enabled only when the command is used at the beginning of command codes.
Enabled only when data is not present in the printer buffer.
All command codes including parameters are ignored.
Ignored
Page mode
ꢀ
:
Enabled.
ꢀ
Disabled
Ignored
:
:
:
Only for value setting.
Parameters are processed as printable data.
All command codes including parameters are ignored.
Classification
Executing
Setting
:
:
The changes do not affect the following data.
The changes do affect the following data until power off.
Note : The changes caused by “Flash Command” will be still valid after power on/off
.
15
Download from Www.Somanuals.com. All Manuals Search And Download.
Commands Listed by Function
VERSAJET
Programming Reference
Function
Type
Command
Name
Command
Classification
Standard
Mode
Page
Mode
Descriptions
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
Print
LF
Print and line feed
Executing
Executing
Executing
Executing
Executing
Executing
Setting
Print
FF
Print and return to standard mode (in page mode)
Print and carriage return
Ignored
ꢀ
Print
CR
Print
ESC FF
ESC J
ESC d
ESC 2
ESC 3
CAN
Print data in page mode
Ignored
ꢀ
ꢀ
Print
Print and feed paper (distance controlled by “GS P”)
Print and feed n lines
Print
ꢀ
Line Spacing
Line Spacing
Character
Character
Character
Character
Character
Character
Character
Character
Character
Character
Select default line spacing
ꢀ
Set line spacing
Setting
Cancel print data in page mode
Set right-side character spacing
Select print mode(s)
Executing
Setting
Ignored
ꢀ
ESC SP
ESC !
ESC %
ESC &
ESC –
ESC ?
ESC {
ESC E
ESC G
ꢀ
Setting
ꢀ
Select/cancel user-defined character set
Define user-defined characters
Turn underline mode on/off
Setting
ꢀ
Setting
ꢀ
Setting
ꢀ
Cancel user-defined characters
Turn upside-down printing mode on/off
Turn emphasized mode on/off
Turn double-strike mode on/off
Setting
ꢀ
ꢀ
ꢀ
Setting
(
)
Setting
Setting
16
Download from Www.Somanuals.com. All Manuals Search And Download.
VERSAJET
Programming Reference
Function
Type
Command
Name
Command
Classification
Standard
Mode
Page
Mode
Descriptions
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
Character
ESC M
Select character font
Setting
Setting
Character
ESC R
ESC V
ESC t
GS !
Select an international character set
Turn 90° clockwise rotation mode on/off
Select character code table
Select character size
Character
Setting
Character
Setting
Character
Setting
Character
GS B
RS a
Turn white/black reverse printing mode on/off
Bit-map Text Format Setting
Set absolute print position
Setting
Character
Setting
Print Position
Print Position
Print Position
Print Position
Print Position
Print Position
Print Position
Print Position
Print Position
Print Position
Print Position
ESC $
ESC \
ESC D
ESC T
ESC W
ESC a
GS $
Executing
Executing
Setting
Set relative print position
Set horizontal tab positions
Select print direction in page mode
Set printing area in page mode
Select justification
Setting
Setting
ꢀ
( )
Setting
Set absolute vertical print position in page mode
Set relative vertical print position in page mode
Set left margin
Executing
Executing
Setting
Ignored
Ignored
GS \
ꢀ
ꢀ
ꢀ
GS L
(
)
)
GS W
HT
Set printing area width
Setting
(
Horizontal tab
Executing
17
Download from Www.Somanuals.com. All Manuals Search And Download.
VERSAJET
Programming Reference
Function
Type
Command
Name
Command
Classification
Standard
Mode
Page
Mode
Descriptions
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
Bit Image
ESC *
Select bit-image mode
Executing
Setting
Bit Image
Bit Image
Bit Image
Bit Image
Bit Image
BMP Image
BMP Image
Graphics
GS *
GS /
Define downloaded bit image
Print downloaded bit image
Print raster bit image
ꢀ
Executing
Executing
Executing
Executing
Setting
ꢀ
GS v 0
FS p
FS q
RS m
RS n
RS i
ꢀ
Read the image file from flash memory
Define image, write to flash memory
Save *.bmp image into flash
Print *.bmp image
ꢀ
ꢀ
ꢀ
Executing
Executing
Draw Line/Box
Ignored
Executing
Setting
ꢀ
ꢀ
Macro
GS :
Start/end RAM macro definition
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
Macro
Macro
Macro
Kanji
GS ^
RS t
RS u
FS !
Execute RAM macro
Executing
Setting+Executing
Executing
Setting
Define Flash macro
Execute Flash macro
Set print mode(s) for Kanji characters
Turn underline mode on/off for Kanji characters
Select Kanji character mode
Define user-defined Kanji characters
Kanji
FS -
FS &
FS 2
Setting
Kanji
Setting
Kanji
Setting
18
Download from Www.Somanuals.com. All Manuals Search And Download.
VERSAJET
Programming Reference
Function
Type
Command
Name
Command
Classification
Standard
Mode
Page
Mode
Descriptions
ꢀ
ꢀ
ꢀ
ꢀ
Kanji
Kanji
FS S
Set left- and right-side Kanji character spacing
Setting
Setting
FS W
Turn quadruple-size mode on/off for Kanji character
Executing
Setting
ꢀ
ꢀ
Miscellaneous
ESC @
Initialize printer
ꢀ
Miscellaneous
Miscellaneous
Miscellaneous
Miscellaneous
Miscellaneous
Miscellaneous
Miscellaneous
Bar Code
ESC L
ESC S
GS ( K [49]
GS I
Select page mode
Executing
Executing
(
)
Ignored
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
Select standard mode
Ignored
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
Printing density setup
Executing
Transmit printer ID
Executing
GS P
Set horizontal and vertical motion units
Print counter
Setting
GS c
Executing
RS p
Set number of copies of printing data
Specify and print the symbol
Setting+Executing
Executing
GS ( k
Select printing position of Human Readable
Interpretation (HRI) characters
ꢀ
ꢀ
Bar Code
GS H
Setting
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
Bar Code
Bar Code
Bar Code
Bar Code
Bar Code
GS f
Select font for HRI characters
Set bar code height
Setting
Setting
GS h
GS k
GS w
RS e
Print bar code
Executing
Setting
Set bar code width
1D Bar code Generic Setting
Setting
19
Download from Www.Somanuals.com. All Manuals Search And Download.
VERSAJET
Programming Reference
Function
Type
Command
Name
Command
Classification
Standard
Mode
Page
Mode
Descriptions
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
Set configuration US A
Set configuration US C
Set configuration US G
Set configuration US H
Set configuration US I
Set configuration US J
Set configuration US K
Set configuration US L
Set configuration US M
Get configuration US a
Get configuration US c
Get configuration US g
Get configuration US h
Get configuration US k
Get configuration US m
Get configuration US n
Get configuration US r
RS232 Setting
Bluetooth setting
Buzzer control
Setting
Setting
Setting
Auto power off duration setting
Set printing intensity (darkness)
Automatic status feedback
Default operation mode setup
Feed key control
Setting
Setting
Setting
Setting
Setting
Panel buttons control
Setting
Get RS232 configurations
Get Bluetooth configurations
Get printer configurations
Get system information
Get head resistance
Executing
Executing
Executing
Executing
Executing
Executing
Executing
Executing
Get printing log
Get battery status
Get printer status
20
Download from Www.Somanuals.com. All Manuals Search And Download.
VERSAJET
Programming Reference
Function
Type
Command
Name
Command
Classification
Standard
Mode
Page
Mode
Descriptions
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
Action Command RS A
Action Command RS B
Action Command RS E
Action Command RS F
Action Command RS G
Action Command RS J
Action Command RS L
Label length measurement
Executing
Executing
Executing
Executing
Executing
Executing
Executing
Setting
Restore factory default
Clear buffer
Remote power off
Paper feed to TOF position
Rewind distance (back feed)
Print self-test (pre-defined)
Top of form control
Paper Sensor
Paper Sensor
Paper Sensor
Paper Sensor
Paper Sensor
Serialization
Serialization
Serialization
Serialization
Serialization
US 1
US 2
Top of form offset setting
Auto tear-off control
Setting
US 3
Setting
US 4
Auto Tear-off offset setting
Paper sensor setting
Select counter print mode
Select counter mode
Sets the counter value
Serialization setting
Setting
US 7
Setting
GS C 0
GS C 1
GS C 2
RS q
Setting
Setting
Setting
Setting
RS r
Print Serialization
Executing
21
Download from Www.Somanuals.com. All Manuals Search And Download.
Commands Listed in Alphanumeric Order
VERSAJET
Programming Reference
Command
Name
Function
Type
Command
Classification
Standard
Mode
Page
Mode
Descriptions
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
HT
Print Position
Print
Horizontal tab
Executing
Executing
Executing
Executing
Executing
Executing
Setting
ꢀ
LF
Print and line feed
FF
Print
Print and return to standard mode (in page mode)
Print and carriage return
Ignored
ꢀ
CR
Print
CAN
Character
Print
Cancel print data in page mode
Print data in page mode
Ignored
ESC FF
ESC SP
ESC !
ESC $
ESC %
ESC &
ESC *
ESC –
ESC 2
ESC 3
ESC ?
Ignored
ꢀ
Character
Character
Print Position
Character
Character
Bit Image
Character
Line Spacing
Line Spacing
Character
Set right-side character spacing
Select print mode(s)
ꢀ
Setting
ꢀ
Set absolute print position
Executing
Setting
ꢀ
Select/cancel user-defined character set
Define user-defined characters
Select bit-image mode
ꢀ
Setting
ꢀ
Executing
Setting
ꢀ
Turn underline mode on/off
Select default line spacing
Set line spacing
ꢀ
Setting
ꢀ
Setting
ꢀ
Cancel user-defined characters
Setting
Executing+
Setting
ꢀ
ꢀ
ESC @
Miscellaneous
Initialize printer
22
Download from Www.Somanuals.com. All Manuals Search And Download.
VERSAJET
Programming Reference
Command
Name
Function
Type
Command
Classification
Standard
Mode
Page
Mode
Descriptions
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ESC {
Character
Turn upside-down printing mode on/off
Set horizontal tab positions
Setting
Setting
(
)
ꢀ
ꢀ
ESC D
ESC E
ESC G
ESC J
ESC L
ESC M
ESC R
ESC S
ESC T
ESC V
ESC W
ESC \
ESC a
ESC d
ESC t
FS !
Print Position
Character
Character
Print
ꢀ
Turn emphasized mode on/off
Turn double-strike mode on/off
Print and feed paper (distance controlled by “GS P”)
Select page mode
Setting
ꢀ
Setting
ꢀ
Executing
Executing
Setting
Miscellaneous
Character
Character
Miscellaneous
Print Position
Character
Print Position
Print Position
Print Position
Print
(
)
Ignored
ꢀ
Select character font
ꢀ
Select an international character set
Select standard mode
Setting
ꢀ
Executing
Setting
Ignored
ꢀ
Select print direction in page mode
Turn 90° clockwise rotation mode on/off
Set printing area in page mode
Set relative print position
ꢀ
ꢀ
ꢀ
ꢀ
Setting
ꢀ
ꢀ
Setting
ꢀ
Executing
Setting
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
Select justification
(
)
ꢀ
ꢀ
Print and feed n lines
Executing
Setting
ꢀ
Character
Kanji
Select character code table
Set print mode(s) for Kanji characters
Select Kanji characters mode
ꢀ
Setting
ꢀ
FS &
Kanji
Setting
23
Download from Www.Somanuals.com. All Manuals Search And Download.
VERSAJET
Programming Reference
Command
Name
Function
Type
Command
Classification
Standard
Mode
Page
Mode
Descriptions
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
FS -
Kanji
Turn underline mode on/off for Kanji characters
Define user-defined Kanji characters
Setting
Setting
FS 2
Kanji
ꢀ
FS S
Kanji
Set left- and right-side Kanji character spacing
Setting
Turn quadruple-size mode on/off for Kanji characters
ꢀ
FS W
FS p
Kanji
Setting
ꢀ
Flash
Read the image file from flash memory
Define image, write to flash memory
Select character size
Executing
Executing
Setting
ꢀ
FS q
Flash
ꢀ
GS !
Character
Print Position
Miscellaneous
Bar Code
Bit Image
Bit Image
GS $
GS ( K [49]
GS ( k
GS *
Set absolute vertical print position in page mode
Printing density setup
Executing
Executing
Executing
Setting
Ignored
ꢀ
Specify and print the symbol
ꢀ
ꢀ
Define downloaded bit image
Print downloaded bit image
GS /
Executing
Executing
Setting
ꢀ
ꢀ
GS :
Macro
Start/end RAM macro definition
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
GS B
Character
Turn white/black reverse printing mode on/off
Select counter print mode
Setting
Setting
Setting
Setting
GS C 0
GS C 1
GS C 2
Miscellaneous
Miscellaneous
Miscellaneous
Select counter mode
Sets the serial number counter value
24
Download from Www.Somanuals.com. All Manuals Search And Download.
VERSAJET
Programming Reference
Command
Name
Function
Type
Command
Descriptions
Classification
Standard
Mode
Page
Mode
Select printing position of Human Readable
Interpretation (HRI) characters
ꢀ
ꢀ
ꢀ
GS H
Bar Code
Setting
ꢀ
GS I
Miscellaneous
Print Position
Miscellaneous
Print Position
Print Position
Macro
Transmit printer ID
Executing
Setting
ꢀ
ꢀ
ꢀ
GS L
GS P
GS W
GS \
Set left margin
(
)
)
ꢀ
ꢀ
Set horizontal and vertical motion units
Set printing area width
Set relative vertical print position in page mode
Execute RAM macro
Print counter
Setting
Setting
(
ꢀ
ꢀ
Executing
Executing
Executing
Setting
Ignored
ꢀ
ꢀ
GS ^
GS c
GS f
ꢀ
ꢀ
Miscellaneous
Bar Code
Bar Code
Bar Code
Bit Image
Bar Code
Action
ꢀ
ꢀ
Select font for HRI characters
Set bar code height
ꢀ
ꢀ
GS h
GS k
GS v 0
GS w
RS A
RS B
RS E
RS F
RS G
Setting
ꢀ
ꢀ
Print bar code
Executing
Executing
Setting
ꢀ
Print raster bit image
Set bar code width
Disabled
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
Label length measurement
Restore factory default
Clear buffer
Executing
Executing
Executing
Executing
Executing
ꢀ
Action
ꢀ
Action
ꢀ
Action
Remote power off
ꢀ
Action
Paper feed to TOF position
25
Download from Www.Somanuals.com. All Manuals Search And Download.
VERSAJET
Programming Reference
Command
Name
Function
Type
Command
Classification
Standard
Mode
Page
Mode
Descriptions
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
RS J
Action
Rewind command (back feed)
Executing
Executing
Setting
RS L
RS a
RS e
RS i
Action
Print self-test (pre-defined)
Bit-map text format setting
ꢀ
Text Format
ꢀ
Linear bar code 1D bar code generic setting
Setting
Graphics
Draw line/box
Executing
Setting
Ignored
ꢀ
RS m
RS n
RS p
RS q
RS r
RS t
Image
Save *.bmp image into flash
Print *.bmp image
ꢀ
Image
Executing
Setting+Executing
Setting
ꢀ
Miscellaneous
Serialization
Serialization
Macro
Set number of copies of printing data
Serialization setting
Print serialization
ꢀ
ꢀ
Executing
Setting
ꢀ
Define flash macro
ꢀ
RS u
US 1
US 2
US 3
US 4
US 7
Macro
Execute macro
Executing
Setting
ꢀ
Paper Sensor
Paper Sensor
Paper Sensor
Paper Sensor
Paper Sensor
Top of form control
ꢀ
Top of form offset setting
Auto tear-off control
Tear-off offset setting
Paper sensor setting
Setting
ꢀ
Setting
ꢀ
Setting
ꢀ
Setting
26
Download from Www.Somanuals.com. All Manuals Search And Download.
VERSAJET
Programming Reference
Command
Name
Function
Type
Command
Classification
Standard
Mode
Page
Mode
Descriptions
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
US A
Set Configuration RS232 setting
Set Configuration Bluetooth setting
Set Configuration Buzzer control
Setting
Setting
US C
US G
US H
US I
Setting
Set Configuration Auto power off duration setting
Set Configuration Set printing intensity (darkness)
Set Configuration Automatic status feedback
Set Configuration Default operation mode setup
Set Configuration Feed key control
Setting
Setting
US J
US K
US L
US M
US a
US c
US g
US h
US k
US m
US n
US r
Setting
Settting
Setting
Set Configuration Panel buttons control
Get Configuration Get RS232 configurations
Get Configuration Get bluetooth configurations
Get Configuration Get printer configuration
Get Configuration Get system information
Get Configuration Get head resistance
Get Configuration Get printing log
Setting
Executing
Executing
Executing
Executing
Executing
Executing
Executing
Executing
Get Configuration Get battery status
Get Configuration Get printer status
27
Download from Www.Somanuals.com. All Manuals Search And Download.
Command Descriptions
VERSAJET
Programming Reference
This section contains the command codes for the VersaJet which allows you to configure your printer for
particular application to match your specific requirements. Each command begins on a separate page with its
own heading to help you find the key information about each command.
28
Download from Www.Somanuals.com. All Manuals Search And Download.
HT
VERSAJET
Programming Reference
[Name]
Horizontal tab
[Format]
ASCII
Hex
Decimal
HT
09
9
[Range]
None
None
[Default]
[Description]
[Notes]
Moves the printing position to the next horizontal tab.
ꢀ This command is ignored unless the next horizontal tab position has been set.
ꢀ Horizontal tab positions are set by ESC D.
ꢀ If the next horizontal tab position exceeds the printing area, the printer sets the printing
position to [Printing area width + 1].
ꢀ If this command is processed when the printing position is at [Printing area width + 1],
the printer executes print buffer-full printing of the current line and horizontal tab
processing from the beginning of the next line. In this case, in page mode, the printer
does not execute printing, but the printing position is moved.
ꢀ When underline mode is turned on, the underline will not be printed under the tab space
skipped by this command.
29
Download from Www.Somanuals.com. All Manuals Search And Download.
LF
VERSAJET
Programming Reference
[Name]
Print and line feed
[Format]
ASCII
Hex
Decimal
LF
0A
10
[Range]
None
None
[Default]
[Description]
[Notes]
Prints the data in the print buffer and feed one line
ꢀ The amount of paper feed per line is based on the value set using the line spacing
command (ESC 2 or ESC 3).
ꢀ After printing, the print position moves to the beginning of the line. When a left margin is
set in standard mode, the position of the left margin is the beginning of the line.
ꢀ When this command is processed in page mode, only the print position moves, and the
printer does not perform actual printing.
30
Download from Www.Somanuals.com. All Manuals Search And Download.
FF (in page mode)
VERSAJET
Programming Reference
[Name]
Print and return to standard mode
[Format]
ASCII
Hex
Decimal
FF
0C
12
[Range]
None
None
[Default]
[Description]
[Notes]
In page mode, prints the data in the printer buffer collectively and returns to standard mode.
ꢀ This command is enabled only in page mode. Page mode can be selected by ESC L.
ꢀ The data is deleted in the printing area after being printed.
ꢀ This command returns the value set by ESC W to the default value.
ꢀ The value set by ESC T is maintained.
ꢀ After printing, the printing position moves to the beginning of the line. When a left margin
is set, the position of the left margin is the beginning of the line.
31
Download from Www.Somanuals.com. All Manuals Search And Download.
CR
VERSAJET
Programming Reference
[Name]
Printing and carriage return
[Format]
ASCII
Hex
Decimal
CR
0D
13
[Range]
None
None
[Default]
[Description]
[Notes]
Executes printing and one line feed as LF.
ꢀ After printing, the printing position moves to the beginning of the line.
ꢀ When a left margin is set, the position of the left margin is the beginning of the line.
ꢀ When this command is processed in page mode, only the printing position moves, and
the printer does not perform actual printing.
32
Download from Www.Somanuals.com. All Manuals Search And Download.
CAN
VERSAJET
Programming Reference
[Name]
Cancel printing data in page mode
[Format]
ASCII
Hex
CAN
18
Decimal
24
[Range]
None
None
[Default]
[Description]
[Notes]
In page mode, deletes all the print data for the current printing area.
ꢀ This command is only enabled in page mode.
ꢀ If data set in the previously specified printing area is set in the currently specified printing
area, it is deleted.
33
Download from Www.Somanuals.com. All Manuals Search And Download.
ESC FF
VERSAJET
Programming Reference
[Name]
Print data in page mode
[Format]
ASCII
Hex
Decimal
ESC FF
1B 0C
27 12
[Range]
None
None
[Default]
[Description]
[Notes]
In page mode, prints all buffered data in the printable area collectively.
ꢀ This command is enabled only in page mode. Page mode can be selected by ESC L.
ꢀ After printing, the printer does not clear the buffered data, the printing position, or values
set by other command.
ꢀ The printer returns to standard mode with FF, ESC S and ESC @. When it returns to
standard mode by ESC @, all settings are cancelled.
34
Download from Www.Somanuals.com. All Manuals Search And Download.
ESC SP
VERSAJET
Programming Reference
[Name]
Set right-side character spacing
[Format]
ASCII
Hex
Decimal
ESC SP n
1B 20 n
27 32 n
[Range]
0≦n≦255
n = 0
[Default]
[Description]
[Notes]
Sets the right-side character spacing to nx (horizontal or vertical motion unit).
ꢀ The character spacing set by this command is effective for alphanumeric and
user-defined character.
ꢀ When characters are enlarged, the character spacing is n times normal value. The
character spacing for double-width mode is twice the normal value.
ꢀ When standard mode is selected, the horizontal motion unit is used.
ꢀ When page mode is selected, the vertical or horizontal motion unit is used for the print
direction set by ESC T.
ꢁ When the starting position is set to the upper left or lower right of the printing area
using ESC T, the horizontal motion unit is used.
ꢁ When the starting position is set to the upper right or lower left of the printing area
using ESC T, the vertical motion unit is used.
ꢁ Settings of this command are effective until ESC @ is executed, the printer is reset,
or the printer is turned off.
ꢁ It is used to change the spacing between characters.
35
Download from Www.Somanuals.com. All Manuals Search And Download.
ESC !
VERSAJET
Programming Reference
[Name]
Select print mode(s)
[Format]
ASCII
Hex
Decimal
ESC ! n
1B 21 n
27 33 n
[Range]
0≦n≦255
[Default]
n = 0
[Description]
Selects print mode(s) using n as follows:
Bit
Off/On
Off
On
-
Hex
00
Decimal
Function
Character font A (12 × 24).
Character font B (9 × 24).
Undefined.
0
1
0
01
1
2
-
-
-
Undefined.
Off
On
Off
On
Off
On
-
00
08
00
10
00
20
0
Emphasized mode not selected.
Emphasized mode selected.
Double-height mode not selected.
Double-height mode selected.
Double-width mode not selected.
Double-width mode selected.
Undefined.
3
4
5
8
0
16
0
32
-
6
7
Off
On
00
80
0
Underline mode not selected.
Underline mode selected.
128
36
Download from Www.Somanuals.com. All Manuals Search And Download.
ESC $
VERSAJET
Programming Reference
[Name]
Set absolute print position
[Format]
ASCII
Hex
Decimal
ESC $ nL nH
1B 24 nL nH
27 36 nL nH
[Range]
0≦nL≦255, 0≦nH≦255
[Default]
None
[Description]
Sets the print starting position to (nL + nH x256) x (horizontal or vertical motion unit) from the
beginning of the line.
[Notes]
ꢀ The printer ignores any setting that exceeds the printing area
ꢀ When standard mode is selected, the horizontal motion unit is used.
ꢀ When page mode is selected, the horizontal or vertical motion unit is used for the print
direction set by ESC T.
ꢁ When the starting position is set to the upper left or lower right of the printing area
using ESC T, the horizontal motion unit is used.
ꢁ When the starting position is set to the upper right or lower left of the printing area
using ESC T, the vertical motion unit is used.
ꢀ Even if the vertical or horizontal motion unit is changed after changing the printing
position, the setting of the printing position will not be changed.
ꢀ Even if underline mode is turned on, the underline will not be printed under the space
skipped by this command.
37
Download from Www.Somanuals.com. All Manuals Search And Download.
ESC %
VERSAJET
Programming Reference
[Name]
Select/cancel user-defined character set
[Format]
ASCII
Hex
Decimal
ESC % n
1B 25 n
27 37 n
[Range]
0≦n≦255
n = 0
[Default]
[Description]
Selects or cancels user-defined character set.
ꢀ When the LSB of n is 0, the user-defined character set is canceled.
ꢀ When the LSB of n is 1, the user-defined character set is selected.
[Notes]
ꢀ When the user-defined character set is canceled, the resident character set is
automatically selected.
ꢀ Settings of this command are effective until ESC @ is executed, the printer is reset, or
the printer is turned off.
38
Download from Www.Somanuals.com. All Manuals Search And Download.
ESC &
VERSAJET
Programming Reference
[Name]
Define user-defined characters
[Format]
ASCII
Hex
Decimal
ESC & y c1 c2 [x1 d1 d(yx x1)] [xk d1 d(yx xk)]
1B 26 y c1 c2 [x1 d1 d(yx x1)] [xk d1 d(yx xk)]
27 38 y c1 c2 [x1 d1 d(yx x1)] [xk d1 d(yx xk)]
[Range]
y = 3
32≦c1≦c2≦126
0≦x≦12(Font A - 12 x 24)
0≦x≦9(Font B - 9 x 24)
0≦d≦255
k = c2 – c1 + 1
[Default]
None
[Description]
Defines user-defined characters from character code check c1 to c2.
ꢀ y specifies the number of bytes in the vertical direction.
ꢀ x specifies the number of dots in the horizontal direction.
ꢀ d is the dot data for the user-defined characters.
[Notes]
ꢀ Character codes from the alphanumeric characters 20H (decimal 32) to 7EH(decimal
126) can be defined.
ꢀ Data(d) specifies a bit printed to 1 and not printed to 0. The dot pattern is in the horizontal
direction from the left side. Any remaining dots on the right side are blank.
ꢀ The data to define a user defined character is (yx x) bytes.
39
Download from Www.Somanuals.com. All Manuals Search And Download.
ꢀ When the value of y, c1, c2, or x is out of the range, this command is canceled, and the
VERSAJET
Programming Reference
following data is processed as normal data.
ꢀ This command can define user-defined characters for each font independently. To select
a font, use ESC ! or ESC M.
ꢀ A user-defined character, downloaded graphics, and downloaded bit image cannot be
defined simultaneously.
ꢁ When this command is executed, the downloaded bit image is cleared.
ꢁ When GS * is executed, the user-defined character data is cleared.
ꢀ Once the user-defined characters have been defined, they are available until ESC ?, GS
*, or ESC @ is executed; the user-defined characters are redefined; the power is turned
off; or the printer is reset.
ꢀ The user-defined characters are not defined at the default, and the resident characters
are printed.
ꢀ The relationship between the definition data and printing result is as follows.
Example: Downloaded character definition consists of 9 x 24 dots.
MSB
d1
d2
d3
d4
d5
d6
d7
d8
d9
d10
d11
d12
d13
d14
d15
d16
d17
d18
d19
d20
d21
d22
d23
d24
d25
d26
d27
LSB
MSB
LSB
MSB
LSB
ꢀ Only the MSB can be printed in the third byte for vertical direction of font B. A
user-defined character and downloaded bit image cannot be defined simultaneously.
40
Download from Www.Somanuals.com. All Manuals Search And Download.
ESC *
VERSAJET
Programming Reference
[Name]
Select bit-image mode
[Format]
ASCII
Hex
Decimal
ESC * m nL nH d1dk
1B 2A m nL nH d1 dk
27 42 m nL nH d1 dk
[Range]
m = 0, 1, 32, 33
0≦nL≦255
0≦nH≦3
0≦d≦255
k = nL + nH x 256 [in case of m = 0, 1]
k = nL + nH x 256 x 3 [in case of m = 32, 33]
[Description]
Selects a bit-image mode using m for the number of dots specified by (nL + nH x256) as
follows:
m
Mode
Number of bits dot density in Amount of data(k)
for vertical
horizontal
data
8
0
1
32
33
8-dot single-density
8-dot double-density
24-dot single-density
24-dot double-density
single-density nL + nH x 256
double-density nL + nH x 256
single-density nL + nH x 256 x 3
double-density nL + nH x 256 x 3
8
24
24
* k indicates the bit image data
41
Download from Www.Somanuals.com. All Manuals Search And Download.
VERSAJET
Programming Reference
[Notes]
ꢀ Data (d) specifies a bit printed to 1 and not printed to 0.
If the bit image data exceeds the number of dots to be printed on a line, the excess data
is ignored.
ꢀ The bit-image is not affected by print mode(emphasized, double-strike, underline,
character size, white/black reverse printing, or 90° clockwise-rotated), except for
upside-down printing mode.
ꢀ After printing a bit image, the printer processes normal data.
ꢀ This command is used to print a picture or logo.
ꢀ The relationship between the bit image data and the print result is as follows:
8 dot mode (m = 0, 1)
MSB
d1
d2
…
dk
LSB
24 dot mode (m = 32, 33)
MSB
d1
d2
d3
d4
d5
d6
…
…
…
dk-2
dk-1
dk
LSB
MSB
LSB
MSB
LSB
42
Download from Www.Somanuals.com. All Manuals Search And Download.
ESC -
VERSAJET
Programming Reference
[Name]
Turn underline mode on/off
[Format]
ASCII
Hex
Decimal
ESC - n
1B 2D n
27 45 n
[Range]
0 ≤ n ≤ 2, 48 ≤ n ≤ 50
[Default]
n = 0
[Description]
Turns underline mode on or off, based on the following values of n :
n
Function
Turns off underline mode
Turns on underline mode (1-dot thick)
Turns on underline mode (2-dots thick)
0, 48
1, 49
2, 50
[Notes]
ꢀ The printer can underline all characters, but cannot underline the space set by HT.
ꢀ The printer cannot underline 90° clockwise rotated characters and white/black inverted
characters.
ꢀ When underline mode is turned off by setting the value of n to 0 or 48, the following data
is not underlined, and the underline thickness set before the mode is turned off does not
change. The default underline thickness is 1 dot.
ꢀ Changing the character size does not affect the current underline thickness.
ꢀ Underline mode can also be turned on or off by using ESC !. Note, however, that the last
received command is effective.
ꢀ This command does not affect Kanji printing.
43
Download from Www.Somanuals.com. All Manuals Search And Download.
ESC 2
VERSAJET
Programming Reference
[Name]
Select default line spacing
[Format]
ASCII
Hex
Decimal
ESC 2
1B 32
27 50
[Range]
None
None
[Default]
[Description]
[Notes]
Sets the line spacing to the “default line spacing”.
ꢀ The line spacing can be independently in standard and page mode.
ꢀ In standard mode this command sets the line spacing of standard mode.
ꢀ In page mode this command sets the line spacing of page mode.
ꢀ Selected line spacing is effective until ESC 3 or ESC @ is executed, the printer is reset,
or the power is turned off.
44
Download from Www.Somanuals.com. All Manuals Search And Download.
ESC 3
VERSAJET
Programming Reference
[Name]
Set line spacing
[Format]
ASCII
Hex
Decimal
ESC 3 n
1B 33 n
27 51 n
[Range]
[Default]
30≦n≦255
Amount of line spacing which corresponds to “default line spacing” (See ESC 2 for the line
spacing).
[Description]
[Notes]
Set the line spacing to nx (vertical or horizontal motion unit).
ꢀ The maximum line spacing is 160mm. If the specified amount exceeds 160mm, the line
spacing is automatically set to 160mm. When standard mode is selected, the vertical
motion unit is used. When page mode is selected, the vertical or horizontal motion unit is
used for the print direction set by ESC T.
ꢀ When the starting position is set to the upper left or lower right of the printing area using
ESC T, the vertical motion unit is used.
ꢀ When the starting position is set to the upper right or lower left of the printing area using
ESC T, the horizontal motion unit is used.
ꢀ The line spacing can be set independently in standard and page mode.
ꢀ In standard mode this command sets the line spacing of standard mode.
ꢀ In page mode this command sets the line spacing of page mode.
45
Download from Www.Somanuals.com. All Manuals Search And Download.
ESC ?
VERSAJET
Programming Reference
[Name]
Cancel user-defined characters
[Format]
ASCII
Hex
Decimal
ESC ? n
1B 3F n
27 63 n
[Range]
32≦n≦126
[Default]
[Description]
[Notes]
None
Cancels the user-defined characters defined for the character code n.
ꢀ After user-defined characters are canceled, the resident character set is printed.
ꢀ This command can cancel user-defined characters for each font independently. To select
a font, use ESC ! or ESC M.
46
Download from Www.Somanuals.com. All Manuals Search And Download.
ESC @
VERSAJET
Programming Reference
[Name]
Initialize printer
[Format]
ASCII
Hex
Decimal
ESC @
1B 40
27 64
[Range]
None
None
[Default]
[Description]
The data in the print buffer is cleared, and the printer mode(s) is reset to the mode that was
in effect when the power was turned on.
ꢀ Any macro definitions are not cleared.
ꢀ Contents of user non-volatile memory are not cleared.
ꢀ Non-volatile bit image is not cleared.
ꢀ Printing log is not cleared.
[Notes]
ꢀ The data in the receive buffer is not cleared.
ꢀ When this command is processed in page mode, the printer deletes the data in the
printing areas, initializes all settings, and selects standard mode.
ꢀ This command can cancel all the settings, such as print mode and line feed at the same
time.
ꢀ The printing position moves to the beginning of the line when this command is executed.
When a left margin is set in standard mode, the position of the left margin is the
beginning of the line or there is no data in the print buffer.
47
Download from Www.Somanuals.com. All Manuals Search And Download.
ESC {
VERSAJET
Programming Reference
[Name]
Turn upside-down printing mode on/ff
[Format]
ASCII
Hex
Decimal
ESC { n
1B 7B n
27 123 n
[Range]
0≦n≦255
n = 0
[Default]
[Description]
In standard mode, turns upside-down printing mode on/off
ꢀ When the LSB of n is 0, upside-down mode is turned off.
ꢀ When the LSB of n is 1, upside-down mode is turned on.
[Notes]
ꢀ When standard mode is selected, this command is enabled only when processed at the
beginning of the line.
ꢀ The upside-down printing mode is effective for all data in standard mode except raster
bit image from GS v 0.
ꢀ The settings of this command are effective until ESC @ is executed, the printer is reset,
or the power is turned off.
ꢀ When upside-down printing mode is turned on, the printer prints 180°-rotated characters
from right to left. The line printing order is not reversed; therefore, be careful of the order
of the data transmitted.
48
Download from Www.Somanuals.com. All Manuals Search And Download.
ESC D
VERSAJET
Programming Reference
[Name]
Set horizontal tab positions
[Format]
ASCII
Hex
Decimal
ESC D n …nk NUL
1B 44 n1…nk 0
27 68 n1…nk 0
[Range]
1≦n≦255
0≦k≦32
[Default]
n = 8,16,24,32 (Every eight characters for the default font set by ESC ! or ESC M)
[Description]
Sets a horizontal tab to n columns from the beginning of the line. k indicates the number of
horizontal tab positions to be set.
[Notes]
ꢀ The horizontal tab position is stored as a value of [character width x n] measured from
the beginning of the line. The character width includes the right-side character spacing,
and double-width characters are selected with twice the width of the normal characters.
ꢀ The character width should be set before using this command. Settings of character
fonts, space width and enlargement affect the setting of character width.
ꢀ A maximum of 32 horizontal tab positions can be set. Data exceeding 32 horizontal tab
positions is processed as normal data.
ꢀ This command cancels any previous horizontal tab settings.
ꢀ Transmit [n]k in ascending order and place a NULL code at the end. ESC D Null
cancels all horizontal tab positions.
49
Download from Www.Somanuals.com. All Manuals Search And Download.
VERSAJET
Programming Reference
ꢀ When [n] is less than or equal to the preceding value [n]k-1, horizontal tab setting is
finished, and the following data is processed as normal data.
ꢀ k is not transmission data to the printer.
ꢀ Even if the character width is changed after setting the horizontal tab position, the setting
of the horizontal tab positions will not be changed.
ꢀ Horizontal tab positions setting are effective until ESC @ is executed, the printer is reset,
or the power is turned off.
ꢀ Print positions can be changed by HT.
ꢀ When the left margin setting is changed, the horizontal tab position is also changed.
50
Download from Www.Somanuals.com. All Manuals Search And Download.
ESC E
VERSAJET
Programming Reference
[Name]
Turn emphasized mode on/ff
[Format]
ASCII
Hex
Decimal
ESC E n
1B 45 n
27 69 n
[Range]
0≦n≦255
n = 0
[Default]
[Description]
Turns emphasized mode on/ff
ꢀ When the LSB of n is 0, emphasized mode is turned off.
ꢀ When the LSB of n is 1, emphasized mode is turned on.
[Notes]
ꢀ This mode is effective for alphanumeric, Kana, multilingual and user-defined character.
ꢀ The settings of this command are effective until ESC ! or ESC @ is executed, the printer
is reset, or the power is turned off.
51
Download from Www.Somanuals.com. All Manuals Search And Download.
ESC G
VERSAJET
Programming Reference
[Name]
Turn double-strike mode on/ff
[Format]
ASCII
Hex
Decimal
ESC G n
1B 47 n
27 71 n
[Range]
0≦n≦255
n = 0
[Default]
[Description]
[Notes]
Turns double-strike mode on/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.
52
Download from Www.Somanuals.com. All Manuals Search And Download.
ESC J
VERSAJET
Programming Reference
[Name]
Print and feed paper
[Format]
ASCII
Hex
Decimal
ESC J n
1B 4A n
27 74 n
[Range]
0≦n≦255
[Default]
[Description]
[Notes]
None
Prints the data in the print buffer and feeds the paper nx (vertical or horizontal motion unit).
ꢀ The maximum paper feed amount is 160mm. If the specified amount exceeds 160mm,
the paper feed amount is automatically set to 160mm.
ꢀ When standard mode is selected, the vertical motion unit is used.
ꢀ When page mode is selected, the vertical or horizontal motion unit is used for the print
direction set by ESC T.
ꢀ When the starting position is set to the upper left or lower right of the printing area using
ESC T, the vertical motion unit is used.
ꢀ When the starting position is set to the upper right or lower left of the printing area using
ESC T, the horizontal motion unit is used.
ꢀ After printing, the printing position moves to the beginning of the line.
ꢀ When a left margin is set in standard mode, the position of the left margin is the
beginning of the line.
53
Download from Www.Somanuals.com. All Manuals Search And Download.
VERSAJET
Programming Reference
ꢀ When this command is processed in page mode, only the printing position moves, and
the printer does not perform actual printing.
ꢀ This command is used to temporarily feed a specific length without changing the line
spacing set by other commands.
54
Download from Www.Somanuals.com. All Manuals Search And Download.
ESC L
VERSAJET
Programming Reference
[Name]
Select page mode
[Format]
ASCII
Hex
Decimal
ESC L
1B 4C
27 76
[Range]
None
None
[Default]
[Description]
[Notes]
Switches from standard mode to page mode.
ꢀ This command is only enabled when processed at the beginning of the line in standard
mode. In other cases, this command is ignored.
ꢀ The printing position is the starting position specified by ESC T within the printing area
defined by ESC W.
ꢀ The following commands switch the settings for page mode because these commands
can be set independently in standard and page mode: ESC SP, ESC 2, and ESC 3.
ꢀ The following commands are disabled in page mode: ESC L, and FS q.
ꢀ The following commands are not effective in page mode. If these commands are
processed in page mode, an internal flag is activated, and this flag is enabled when the
printer returns to standard mode: ESC V, ESC a, ESC {, GS L and GS W.
ꢀ The printer returns to standard mode with ESC S, FF, ESC @. When it returns to
standard mode by ESC @, all settings are canceled.
55
Download from Www.Somanuals.com. All Manuals Search And Download.
VERSAJET
Programming Reference
ꢀ Standard mode is selected as the default.
ꢀIn page mode, the printer prints the data in the print buffer for the printing area specified
by ESC W collectively by FF or ESC FF. When executing the print and paper feed
commands, such as LF, CR, ESC J and ESC d, only the printing position moves, and the
printer does not perform actual printing.
56
Download from Www.Somanuals.com. All Manuals Search And Download.
ESC M
VERSAJET
Programming Reference
[Name]
Select character font
[Format]
ASCII
Hex
Decimal
ESC M n
1B 4D n
27 77 n
[Range]
0, 1, 48, 49
[Default]
n = 0
[Description]
Selects a character font, using n as follows:
n
0, 48
1, 49
Function
Font A
Font B
[Notes]
ꢀ This mode is effective for alphanumeric, Kana, multilingual and user-defined character.
ꢀ Configurations of Font A and Font B depend on printer model.
ꢀSettings of this command are effective until ESC @ is executed, the printer is reset, or
the power is turned off.
57
Download from Www.Somanuals.com. All Manuals Search And Download.
ESC R
VERSAJET
Programming Reference
[Name]
Select an international character set
[Format]
ASCII
Hex
Decimal
ESC R n
1B 52 n
27 82 n
[Range]
0≦n≦10
n = 0
[Default]
[Description]
Select an international character set n as follows:
ASCII code
n
Country
Hex 23 24 40 5B 5C 5D 5E 60 7B 7C 7D 7E
Dec 35 36 64 91 92 93 94 96 123 124 125 126
0
1
2
3
4
5
6
7
8
9
U.S.A.
France
Germany
U.K.
#
#
#
£
#
#
#
Pt
#
#
#
$
$
$
$
$
¤
$
$
$
¤
$
@
à
[
°
\
]
§
Ü
]
^
^
`
`
{
é
ä
{
|
}
è
ü
}
~
¨
Ç
Ö
\
ù
ö
|
§
Ä
[
^
`
ß
~
~
ü
ì
@
@
É
^
`
Denmark I
Sweden
Italy
Æ
Ä
°
Ø
Ö
\
Å
Å
é
¿
]
^
`
æ
ä
à
¨
ø
ö
ò
ñ
|
å
å
è
}
Ü
^
é
ù
`
@
@
@
É
Spain
i
Ñ
\
^
~
~
ü
ü
Japan
[
^
`
{
}
Norway
Æ
Æ
Ø
Ø
Å
Å
Ü
Ü
é
é
ä
ä
ö
ö
å
å
10 Denmark II
É
[Notes]
The selected international character set is effective until ESC @ is executed, the printer is
reset, or the power is turned off.
58
Download from Www.Somanuals.com. All Manuals Search And Download.
ESC S
VERSAJET
Programming Reference
[Name]
Select standard mode
[Format]
ASCII
Hex
Decimal
ESC S
1B 53
27 83
[Range]
None
None
[Default]
[Description]
[Notes]
Switches from page mode to standard mode.
ꢀ This command is only enabled in page mode. Page mode can be selected by ESC L.
ꢀ When this command is executed, data in all the printing area is cleared, the printing area
set by ESC W returns to the default value, but the value set by ESC T is maintained.
ꢀ The following commands switch the settings for standard mode because these
commands can be set independently in standard and page mode: ESC SP, ESC 2, and
ESC 3.
ꢀ In standard mode, CAN, ESC FF, GS \ are ignored.
ꢀ The settings of ESC T, and ESC W do not affect printing in standard mode.
ꢀ The printer selects page with ESC L.
ꢀ Standard mode is selected as the default.
59
Download from Www.Somanuals.com. All Manuals Search And Download.
ESC T
VERSAJET
Programming Reference
[Name]
Select print direction in page mode
[Format]
ASCII
Hex
Decimal
ESC T n
1B 54 n
27 84 n
[Range]
0 ≤ n ≤ 3, 48 ≤ n ≤ 51
[Default]
n = 0
[Description]
In page mode, selects the print direction and starting position, using n as follows:
Printing
Direction
n
Starting Position
0, 48
1, 49
2, 50
3, 51
Left to right
Bottom to top
Right to left
Upper left (A in the figure)
Lower left (B in the figure)
Lower right (C in the the figure)
Upper right (D in the figure)
Top to bottom
A →
D
↓
printing area
↑
B
← C
[Notes]
ꢀ The print direction set by this command is effective only in page mode.
60
Download from Www.Somanuals.com. All Manuals Search And Download.
VERSAJET
Programming Reference
ꢀ This command setting has no effect in standard mode. If this command is processed in
standard mode, an internal flag is activated, and this flag is enabled when the printer
selects page mode.
ꢀ The parameters for the horizontal or vertical motion unit differ, depending on the starting
position of the printing area as follows:
ꢁ If the starting position is the upper left or lower right of the printing area:
These commands use horizontal motion units: ESC SP, ESC $, ESC \.
These commands use vertical motion units: ESC 3, ESC J, GS $, GS \.
ꢁ If the starting position is the upper right or lower left of the printing area:
These commands use horizontal motion units: ESC 3, ESC J, GS $, GS \. These
commands use vertical motion units: ESC SP, ESC $, ESC \.
ꢀ The settings of this command are effective until ESC @ is executed, the printer is reset,
or the power is turned off.
61
Download from Www.Somanuals.com. All Manuals Search And Download.
ESC V
VERSAJET
Programming Reference
[Name]
Turn 90° clockwise rotation mode on/off
[Format]
ASCII
Hex
Decimal
ESC V n
1B 56 n
27 86 n
[Range]
n = 0, 1, 48, 49
[Default]
n = 0
[Description]
In standard mode, turns 90° clockwise rotation mode on or off, using n as follows:
n
0, 48
1, 49
Function
Turns off 90° clockwise rotation mode
Turns on 90° clockwise rotation mode
[Notes]
ꢀ The 90° clockwise rotation mode is effective for alphanumeric, Kana, multilingual and
user-defined characters.
ꢀ When underline mode is turned on, the printer does not underline 90° clockwise- rotated
characters.
ꢀ When character orientation changes in 90° clockwise rotation mode, the relationship
between vertical and horizontal directions is reversed.
ꢀThe 90° clockwise rotation mode has no effect in page mode. If this command is
processed in page mode, an internal flag is activated, and this flag is enabled when the
printer returns to standard mode.
ꢀ The settings of this command are effective until ESC @ is executed, the printer is reset,
or the power is turned off.
62
Download from Www.Somanuals.com. All Manuals Search And Download.
ESC W
VERSAJET
Programming Reference
[Name]
Set printable area in page mode
[Format]
ASCII
Hex
Decimal
ESC W xL xH yL yH dxL dxH dyL dyH
1B 57 xL xH yL yH dxL dxH dyL dyH
27 87 xL xH yL yH dxL dxH dyL dyH
[Range]
[Default]
0≦ xL, xH, yL, yH≦255 (except for dxL = dxH = 0 or dyL = dyH = 0)
Horizontal logical origin and vertical logical origin = 0
xL = 0, xH = 0, yL = 0, yH = 0
[Description]
In page mode, sets the size and the logical origin of the printing area as follows:
ꢀ Horizontal logical origin = (xL + xH x256) x (horizontal motion unit) from absolute origin.
ꢀ Vertical logical origin = (yL + yH x256) x (vertical motion unit) from absolute origin.
ꢀ Printing area width = (dxL + dxH x256) x (horizontal motion unit)
ꢀ Printing area height = (dyL + dyH x256) x (vertical motion unit)
ꢀ Maximum width: 384 dots
ꢀ Maximum height: 1280 dots
[Notes]
ꢀ Both printing area width and height cannot be set to 0.
ꢀ The absolute origin is the upper left of the printable area.
ꢀ If the horizontal or vertical logical origin is set outside the printable area, both horizontal
and vertical logical origin is set
63
Download from Www.Somanuals.com. All Manuals Search And Download.
VERSAJET
Programming Reference
ꢀ If [horizontal logical origin + printing area width] exceeds the printable area, the printing
area width is automatically set to [horizontal printable area – horizontal logical origin].
ꢀ If [vertical logical origin + printing area height] exceeds the printable area, the printing
area height is automatically set to [vertical printable area – vertical logical origin].
ꢀ The printing area and the logical origin set by this command are effective only in page
mode.
ꢀ This command setting has no effect in standard mode. If this command is processed in
standard mode, the logical origin and the printing area are set, and they are enabled
when the printer selects page mode.
ꢀ Horizontal logical origin and printing area width are calculated using the vertical motion
unit.
ꢀ Vertical logical origin and printing area height are calculated using the horizontal motion
unit.
ꢀ The printing area and the logical origin set by this command are effective only in page
mode.
ꢀ Even if the horizontal or vertical motion unit is changed the printable area, the setting of
the printable area will not be changed.
ꢀ The settings of this command are effective until FF is executed, ESC @ is executed, the
printer is reset, or the power is turned off.
64
Download from Www.Somanuals.com. All Manuals Search And Download.
VERSAJET
Programming Reference
paper
………………………….xLxH, yLyH
page mode range
dyLdyH
………………………… dxLdxH
65
Download from Www.Somanuals.com. All Manuals Search And Download.
ESC \
VERSAJET
Programming Reference
[Name]
Set relative print position
[Format]
ASCII
Hex
Decimal
ESC \ nL nH
1B 5C nL nH
27 92 nL nH
[Range]
0≦nL≦255, 0≦nH≦255
[Description]
Moves the print starting position to (nL + nH x256) x (horizontal or vertical motion unit) from
the current position.
[Notes]
ꢀ The printer ignores any setting that exceeds the printing area.
ꢀ When page mode is selected, the horizontal or vertical motion unit is used for the print
direction set by ESC T.
ꢀ When the starting position is set to the upper left or lower right of the printing area using
ESC T, the horizontal motion unit is used.
ꢀ When the starting position is set to the upper right or lower left of the printing area using
ESC T, the vertical motion unit is used.
ꢀ Even if the vertical or horizontal motion unit is changed after changing the printing
position, the setting of the printing position will not be changed.
ꢀ Even if underline mode is turned on, the underline will not be printed under the space
skipped by this command.
66
Download from Www.Somanuals.com. All Manuals Search And Download.
ESC a
VERSAJET
Programming Reference
[Name]
Select justification
[Format]
ASCII
Hex
Decimal
ESC a n
1B 61 n
27 97 n
[Range]
0 ≤ n ≤ 2, 48 ≤ n ≤ 50
[Default]
n = 0
[Description]
In standard mode, aligns all the data in one line to a specified position, using n as follows:
n
Function
Left justification
Centered
0, 48
1, 49
2, 50
Right justification
[Notes]
ꢀ When standard mode is selected, this command is enabled only when processed at the
beginning of the line in standard mode.
ꢀ The justification has no effect in page mode. If this command is processed in page mode,
an internal flag is activated, and this flag is enabled when the printer returns to standard
mode.
ꢀ This command executes justifications in printing area set by GS L and GS W.
ꢀ This command justifies printing area (such as character, all graphics, and bar codes) and
space area set by HT, ESC $ and ESC \.
ꢀ The settings of this command are effective until ESC @ is executed, the printer is reset,
or the power is turned off.
67
Download from Www.Somanuals.com. All Manuals Search And Download.
ESC d
VERSAJET
Programming Reference
[Name]
Print and feed n lines
[Format]
ASCII
Hex
Decimal
ESC d n
1B 64 n
27 100 n
[Range]
0≦n≦255
[Default]
[Description]
[Notes]
None
Prints the data in the print buffer and feeds n lines.
ꢀ The amount paper fed per line is based on the value set using the line spacing command
(ESC 2 or ESC 3).
ꢀ The maximum paper feed amount is 160mm. If the specified amount exceeds 160mm,
the paper feed amount is automatically set to 160mm.
ꢀ After printing, the printing position moves to the beginning of the line.
ꢀ When a left margin is set in standard mode, the position of the left margin is the
beginning of the line.
ꢀ When this command is processed in page mode, only the printing position moves, and
the printer does not perform actual printing.
ꢀ This command is used to temporarily feed a specific line without changing the line
spacing.
68
Download from Www.Somanuals.com. All Manuals Search And Download.
ESC t
VERSAJET
Programming Reference
[Name]
Select character code table
[Format]
ASCII
Hex
Decimal
ESC t n
1B 74 n
27 116 n
[Range]
0≤ n ≤5, n =16
[Default]
n = 0
[Description]
Select a page n from the character code table as follows:
n
0
1
2
3
4
5
Character Code Table
PC437(U.S.A., Standard Europe)
Katakana
PC850(Multilingual)
PC860(Portuguese)
PC863(Canadian-French)
PC865(Nordic)
16 WPC1252
[Notes]
ꢀ When the user-defined character set is canceled, the resident character set is
automatically selected.
ꢀ Settings of this command are effective until ESC @ is executed, the printer is reset, or
the printer is turned off.
69
Download from Www.Somanuals.com. All Manuals Search And Download.
FS !
VERSAJET
Programming Reference
[Name]
Select print mode(s) for Kanji characters
[Format]
ASCII
Hex
Decimal
FS ! n
1C 21 n
28 33 n
[Range]
0≦n≦255
[Description]
Set the print mode(double-width mode, double-height mode and Kanji underline mode) for
Kanji characters, using n as follows:
Bit
0
Function
Reserved
Off/On
Off
Hex
00
Decimal
0
1
2
Off
Off
00
00
0
0
Reserved
Double-width
mode is Off
Double-width
mode is On
Double-height
mode is Off
Double-height
mode is On
2
3
3
On
Off
On
04
00
08
4
0
8
4~6
7
Off
Off
00
00
0
0
Undefined
Kanji underline
mode is Off
7
Kanji underline
mode is on
On
80
128
70
Download from Www.Somanuals.com. All Manuals Search And Download.
VERSAJET
Programming Reference
[Notes]
ꢀ When both double-height and double-width modes are selected (including right- and left-side
character spacing), quadruple size characters are printed.
ꢀ The printer can underline all characters (including right – and left –side character spacing), but
cannot underline the space set by HT or 90° clockwise-rotated characters.
ꢀ The thickness of the underline is that selected by FS -, regardless of the character size.
ꢀ Then some characters in a line are double or more height, all the characters on the line are
aligned at the baseline.
ꢀ It’s possible to turn under line mode on or off using FS -, and the setting of the last received
command is effective.
71
Download from Www.Somanuals.com. All Manuals Search And Download.
FS &
VERSAJET
Programming Reference
[Name]
Select Kanji character mode
[Format]
ASCII
Hex
Decimal
FS &
1C 26
28 38
[Description]
[Notes]
Selects Kanji character mode.
ꢀ Kanji codes are processed in order of the first byte and the second byte.
ꢀ The settings of this command are effective until ESC @ is executed, the printer is reset,
or the power is turned off.
ꢀ When Kanji mode is selected, the printer processes a character code that corresponds
to the first byte of Kanji code, and then processes a consecutive byte as the second byte
of Kanji code. Therefore, when Kanji code is specified, an ASCII code character that
corresponds to the first byte of Kanji code cannot be printed.
ꢀ Kanji mode is selected at default.
72
Download from Www.Somanuals.com. All Manuals Search And Download.
FS -
VERSAJET
Programming Reference
[Name]
Turn underline mode on/off for Kanji characters
[Format]
ASCII
Hex
Decimal
FS - n
1C 2D n
28 45 n
[Range]
0 ≤ n ≤ 2, 48 ≤ n ≤ 50
[Default]
n = 0
[Description]
Turns underline mode on or off for Kanji characters, based on the following values of n:
n
Function
0, 48
1, 49
2, 50
Turns off underline mode for Kanji characters
Turns on underline mode for Kanji characters (1-dot thick)
Turns on underline mode for Kanji characters (2-dots thick)
[Notes]
ꢀ The printer can underline all characters, but cannot underline the space set by HT.
ꢀ The printer cannot underline 90° clock wise rotated characters.
ꢀ The specified line thickness does not change even when the character size changes.
ꢀ After the underline mode for Kanji characters is turned off by setting n to 0, underline
printing is no longer performed, but the previously specified underline thickness is not
changed. The default underline thickness is 1 dot.
73
Download from Www.Somanuals.com. All Manuals Search And Download.
FS 2
VERSAJET
Programming Reference
[Name]
Define user-defined Kanji characters
[Format]
ASCII
Hex
Decimal
FS 2 c1 c2 d1...dk
1C 32 c1 c2 d1...dk
28 50 c1 c2 d1...dk
[Range]
c1 = FFH, 40H≤ c2≤ 7EH, 80H≤ c2≤ 9FH (Kanji font 24 x 24)
c1 = FEH, A1H≤ c2≤ FEH (Traditional/Simplified Chinese font 24x24)
0 ≤ d ≤ 255, k = 72
[Description]
[Notes]
Define user-defined Kanji characters for the character codes specified by c1 and c2.
ꢀ c1 indicates the first byte of a character code for a user-defined character.
ꢀ c2 indicates the second byte of a character code for a user-defined character.
d indicates defined data.
ꢀ FS! or GS! can also select and cancel quadruple-size mode by selecting double-height
and double-width modes, and the setting of the last received command is effective.
74
Download from Www.Somanuals.com. All Manuals Search And Download.
FS S
VERSAJET
Programming Reference
[Name]
Set left- and right-side Kanji character spacing
[Format]
ASCII
Hex
Decimal
FS S n1 n2
1C 53 n1 n2
28 83 n1 n2
[Range]
0 ≤ n1 ≤ 255, 0 ≤ n2 ≤ 255
n1= 0, n2= 0
[Default]
[Description]
Sets left- and right-side Kanji characters spacing n1 and n2.
When the printer model used supports GS P, the left-side character spacing is [n1x
horizontal or vertical motion units] and the right-side character spacing is [n2x horizontal or
vertical motion units].
[Notes]
ꢀ When double-width mode is set, the left- and right-side character spacing is twice the
normal value.
ꢀ The horizontal and vertical motion units are set by GS P. The previously specified
character spacing does not change, even if the horizontal or vertical motion unit is
changed using GS P.
ꢀ The value cannot be less than the minimum horizontal movement amount, and must be
in even units of the minimum horizontal movement amount.
75
Download from Www.Somanuals.com. All Manuals Search And Download.
VERSAJET
Programming Reference
ꢀ In page mode, the horizontal or vertical motion unit differs in page mode, depending on
starting position of the printable area as follows:
ꢁ When the starting position is set to the upper left or lower right of the printable area
using ESC T, the horizontal motion unit (x) is used.
ꢁ When the starting position is set to the upper right or lower left of the printable area
using ESC T, the vertical motion unit (y) is used.
ꢁ The maximum right-side spacing is 255/180 inches for the paper roll and is
approximately 35.983 mm (255/150 inches). Any setting exceeding the maximum is
converted to the maximum automatically.
76
Download from Www.Somanuals.com. All Manuals Search And Download.
FS W
VERSAJET
Programming Reference
[Name]
Turn quadruple-size mode on/off for Kanji characters
[Format]
ASCII
Hex
Decimal
FS W n
1C 57 n
28 87 n
[Range]
0 ≤ n ≤ 255
n = 0
[Default]
[Description]
Turn quadruple-size mode on or off for Kanji characters.
When the LSB of n is 0, quadruple-size mode for Kanji characters is turned off and normal
size is specified. When the LSB of n is 1, quadruple-size mode for Kanji characters is
turned on.
[Notes]
ꢀ Only the lowest bit of n is valid.
ꢀ In quadruple-size mode, the printer prints the same size characters as when
double-width and double-height modes are both turn on.
ꢀ FS! or GS! can also select and cancel quadruple-size mode by selecting double-height
and double-width modes, and the setting of the last received command is effective.
77
Download from Www.Somanuals.com. All Manuals Search And Download.
FS p
VERSAJET
Programming Reference
[Name]
Read the image file from flash memory
[Format]
ASCII
Hex
Decimal
FS p n m
1C 70 n m
28 112 n m
[Range]
1≤ n ≤255
0≤ m ≤3, 48≤ m ≤51
[Description]
Prints a NV bit image n using the mode specified by m.
Scaling for
m
Mode
Scaling for vertical
horizontal
× 1
0, 48 Normal
× 1
× 1
× 2
× 2
1, 49 Double-width
2, 50 Double-height
3, 51 Quadruple
× 2
× 1
× 2
[Notes]
This command is not effective when the NV bit image specified by n has not been defined.
78
Download from Www.Somanuals.com. All Manuals Search And Download.
FS q
VERSAJET
Programming Reference
[Name]
[Format]
Define image, write to flash memory
ASCII
Hex
FS q n [xL xH yL yH d1 dk]1 [xL xH yL yH d1 dk] n
1C 71 n [xL xH yL yH d1 dk]1 [xL xH yL yH d1 dk] n
28 113 n [xL xH yL yH d1 dk]1 [xL xH yL yH d1 dk] n
Decimal
[Range]
1≤ n ≤255
1≤ (xL + xH ꢂ256) ≤48 (0≤ xL ≤48, xH = 0)
1≤ (yL + yH ꢂ256) ≤160 (0≤ yL ≤160, yH = 0)
0≤ d ≤ 255
k = (xL + xH ꢂ256) ꢂ(yL + yH ꢂ256) ꢂ8
Total defined data area is maximum 64 KB
[Description]
Defines NV bit image specified.
ꢀ n specifies the number of defined NV bit images.
ꢀ xL, xH specifies (xL + xH x 256) bytes in the horizontal direction for the NV bit image you
defined.
ꢀ yL, yH specifies (yL + yH x 256) bytes in the vertical direction for the NV bit image you
defined.
ꢀ d specifies the definition data for the NV bit image.
ꢀ k indicates the number of the definition data. k is a parameter for an explanation;
therefore, it does not need to be transmitted.
79
Download from Www.Somanuals.com. All Manuals Search And Download.
VERSAJET
Programming Reference
[Notes]
ꢀ NV bit image means a bit image which is defined in a non-volatile memory. The NV bit
image defined is effective until the next NV bit image is defined.
ꢀ In standard mode, this command is effective only when processed at the beginning of
the line.
ꢀ k bytes data of d1...dk is processed as a defined data of a NV bit image. The defined
data (d) specifies a bit printed to 1 and not printed to 0.
ꢀ All NV bit images previously defined are canceled.
ꢀ After processing this command, the printer executes a software reset. Therefore,
processing this command enables the printer to be in the correct status when the power
is turned on.
ꢀ The limitations during processing of this command are as follows:
ꢁ Paper cannot be fed by using PAPER FEED button.
ꢀ The NV bit image is printed by FS p.
ꢀ Bit image data and print result are as follows:
d1
d2
dY+1
dY+2
...
...
...
.
.
MSB
LSB
MSB
LSB
MSB
LSB
MSB
LSB
dk-2
.
.
.
.
dk-1
dk
dY
dY x 2 ...
Y = yL + yH x256
80
Download from Www.Somanuals.com. All Manuals Search And Download.
VERSAJET
Programming Reference
ꢀ Data is written to the non-volatile memory by this command. Note the following when
using this command.
ꢁ The printer is BUSY when writing the data to the non-volatile memory. In this case, be
sure not to transmit data from the host because the printer does not receive data.
ꢁ Excessive use of this function may destroy the non-volatile memory. As a guideline,
do not use any this command more than 10 times per day for writing data to the
non-volatile memory.
81
Download from Www.Somanuals.com. All Manuals Search And Download.
GS !
VERSAJET
Programming Reference
[Name]
Select character size
[Format]
ASCII
Hex
Decimal
GS ! n
1D 21 n
29 33 n
[Range]
0≦n≦7, 16≦n≦23, 32≦n≦39, 48≦n≦55, 64≦n≦71, 80≦n≦87,
96≦n≦103, 112≦n≦119 (1≦height≦8, 1≦width≦8)
[Default]
n = 0
[Description]
Selects the character height (vertical number of times normal font size) using bits 0 to 2 and
selects the character width (horizontal number of times normal font size) using bits 4 to 6, as
follows:
Character width selection
Bit 6
Off
Off
Off
Off
On
On
On
On
Bit 5
Off
Off
On
On
Off
Off
On
On
Bit 4
Off
On
Off
On
Off
On
Off
On
Hex Decimal
Width
1(normal)
2(double-width)
3
4
5
6
7
8
00
10
20
30
40
50
60
70
0
16
32
48
64
80
96
112
82
Download from Www.Somanuals.com. All Manuals Search And Download.
VERSAJET
Programming Reference
Character height selection
Bit 2
Off
Off
Off
Off
On
On
On
On
Bit 1
Off
Off
On
On
Off
Off
On
On
Bit 0
Off
On
Off
On
Off
On
Off
On
Hex Decimal
Height
1(normal)
2(double-height)
3
4
5
6
7
8
00
01
02
03
04
05
06
07
0
1
2
3
4
5
6
7
[Notes]
ꢀ The character size set by this command is effective for alphanumeric, Kana, multilingual
and user-defined characters.
ꢀ When the characters are enlarged with different heights on one line, all the characters on
the line are aligned at the baseline.
ꢀ When the characters are enlarged widthwise, the characters are enlarged to the right,
base on the left side of the character.
ꢀ ESC ! can also turn double-width and double-height modes on or off.
ꢀ In standard mode, the character is enlarged in the paper feed direction when
double-height mode is selected, and it is enlarged perpendicular to the paper feed
direction when double-width mode is selected. However, when character orientation
changes in 90° clockwise rotation mode, the relationship between double-height and
double-width is reversed.
83
Download from Www.Somanuals.com. All Manuals Search And Download.
VERSAJET
Programming Reference
ꢀ In page mode, double-height and double-width are on the character orientation.
The setting of the character size of alphanumeric and Katakana is effective until ESC ! or
ESC @ is executed, the printer is reset, or the power is turned off.
ꢀ The setting of the character size of Kanji and multilingual characters is effective until
ESC @ is executed, the printer is reset, or the power is turned off.
84
Download from Www.Somanuals.com. All Manuals Search And Download.
GS $
VERSAJET
Programming Reference
[Name]
Set absolute vertical print position in page mode
[Format]
ASCII
Hex
Decimal
GS $ nL nH
1D 24 nL nH
29 36 nL nH
[Range]
0≦nL≦255 , 0≦nH≦255
[Default]
None
[Description]
Sets the print starting position to (nL + nH x256) x (horizontal or vertical motion unit) from the
starting position set by ESC T.
[Notes]
ꢀ This command is only enabled in page mode. If this command is processed in standard
mode, it is ignored.
ꢀ The printer ignores any setting that exceeds the printing area set by ESC W.
The horizontal or vertical motion unit is used for the print direction set by ESC T.
ꢁ When the starting position is set to the upper left or lower right of the printing area
using ESC T, the vertical motion unit is used.
ꢁ When the starting position is set to the upper right or lower left of the printing area
using ESC T, the horizontal motion unit is used.
ꢀ Even if the vertical or horizontal motion unit is changed after changing the printing
position, the setting of the printing position will not be changed.
.
85
Download from Www.Somanuals.com. All Manuals Search And Download.
GS ( K
VERSAJET
Programming Reference
[Name]
Select printing control
[Description]
Selects printing control as follows:
ꢀ Function is specified by the function code fn.
Function
Selects printing density
fn
49
Function 49
ꢀ pL and pH specify parameter number after fn to (pL + pH x 256) bytes.
[Notes]
ꢀ This command decides the function according to the function code (fn). Performance of
the functions differs, depending on the function.
ꢀ The settings of this command are effective until ESC @ is executed, the printer is reset,
or the power is turned off.
86
Download from Www.Somanuals.com. All Manuals Search And Download.
GS ( K <Function 49>
VERSAJET
Programming Reference
[Name]
Selects printing density
[Format]
ASCII
Hex
Decimal
GS ( K pL pH fn m
1D 28 4B 02 00 31 m
29 40 75 2 0 49 m
[Range]
(pL + pH x 256) = 2 (pL = 2, pH = 0)
fn = 49, 0 ≤ m ≤ 15
[Default]
m = 8
[Description]
Selects printing control mode by m.
m
Function
m < 8 Selects pale density
m = 8 Selects standard density
m > 8 Selects strong density
[Notes]
ꢀ When a standard mode is selected, all the data in a line is printed in the same density.
ꢀ When a page mode is selected, all the data printed collectively by FF or ESC FF is
printed in the same density.
87
Download from Www.Somanuals.com. All Manuals Search And Download.
GS ( k
VERSAJET
Programming Reference
[Name]
Specify and print the symbol
[Format]
ASCII
Hex
Decimal
GS ( k
1D 28 6B
29 40 107
[Description]
Processes the data concerning two-dimensional code. (PDF417, QR Code, MaxiCode).
ꢀ Symbol type is specified by cn ; Function is specified by fn.
cn fn
65
Function
Function 065 PDF 417: Specify the number of columns
Function 066 PDF 417: Specify the number of rows
Function 067 PDF 417: Specify the width of module
Function 068 PDF 417: Specify the module height
Function 069 PDF 417: Specify the error correction level
66
67
68
69
48
PDF 417: Store the received data in the symbol save
area
80
Function 080
81
65
67
Function 081 PDF 417: Print the symbol data in the symbol save area
Function 165 QR Code: Specify the model
Function 167 QR Code: Specify the size of module
Function 169 QR Code: Specify the error correction level
69
49
QR Code: Store the received data in the symbol save
area
80
Function 180
81
65
Function 181 QR Code: Print the symbol data in the symbol save area
Function 265 MaxiCode: Specifies the mode of the MaxiCode
MaxiCode: Store the received data in the symbol save
area
80
50
Function 280
MaxiCode: Store the received data in the symbol save
area
81
Function 280
88
Download from Www.Somanuals.com. All Manuals Search And Download.
VERSAJET
Programming Reference
cn fn
65
Function
Datamatrix: Specify the number of columns
Datamatrix: Specify the number of rows
Datamatrix: Specify the width of module
Datamatrix: Specify the Bar Code Type
Datamatrix: Specify the Data Mode
Datamatrix: Store the received data in the symbol save
area
Function 765
Function 766
Function 767
Function 768
Function 769
66
67
68
55
69
80
Function 780
Datamatrix: Print the symbol data in the symbol save
area
81
65
66
Function 781
Function 865
Function 866
RSS-14: Specify the mode of RSS-14
Specify the RSS- 14 Expanded Stacked Symbol to
define its number of segment per row.
RSS-14: Specify the width of module
RSS-14: Specify the height of separator
RSS-14: Store the received data in the symbol save
area
67
68
Function 867
Function 868
56
57
80
Function 880
81
67
68
RSS-14: Print the symbol data in the symbol save area
Code49: Specify the width of module
Code49: Specify the module height
Code49: Store the received data in the symbol save
area
Function 881
Function 967
Function 968
80
81
Function 980
Function 981
Code49: Print the symbol data in the symbol save area
* pL and pH specify the parameter number after cn to ( pL + pH x 256) bytes.
89
Download from Www.Somanuals.com. All Manuals Search And Download.
VERSAJET
Programming Reference
[Notes]
ꢀ The function is specified with the function code (fn). Details of the performance differ
according to the function.
For processing of PDF417 symbol data (when cn = 48)
ꢀ The symbol data specified by Function 080 d1...dk is stored in the printer and is printed
by the specification of Function 081. The symbol data in the save area is reserved until
the following processing is performed:
ꢁ Function 080 or 180 or 980 is executed.
ꢁ ESC @ is executed.
ꢁ The printer is reset or the power is turned off.
ꢀ When processing Function 081 or 082, the setting values of Functions 065 to 070 are
used. If the printable area is not large enough, the symbol may not be printed.
ꢀ Executing Function 081 after executing Function 080 repeatedly prints the same symbol
data.
ꢀ By using Functions 065 to 070 combined with Function 081, the same symbol data
d1...dk is printed differently.
90
Download from Www.Somanuals.com. All Manuals Search And Download.
VERSAJET
Programming Reference
For process of QR Code symbol (when cn = 49)
ꢀ The symbol data specified by Function 080 d1...dk is stored in the printer and is printed
by the specification of Function 081. The symbol data in the save area is reserved until
the following processing is performed:
ꢁ Function 080 or 180 or 980 is executed.
ꢁ ESC @ is executed.
ꢁ The printer is reset or the power is turned off.
ꢀ Executing function 181 after executing Function 180 respectively prints the same symbol
data.
ꢀ By using Functions 165, 167, 169 combined with Function 181, the same symbol data
d1...dk is printed differently.
ꢀ This model supports two-dimensional code (PDF417 ). When printing PDF417 with this
printer, note the following:
ꢁ The recognition rate of the symbol is affected by the height of the symbol, module
height, module width ratio, and the performance of the reader.
ꢁ It is recommended that the module height be set three to five times the width of the
module.
ꢁ The module height is specified by Function 068. The width of a module is specified by
Function 067. The number of the rows is specified by Function 066.
91
Download from Www.Somanuals.com. All Manuals Search And Download.
GS ( k PDF417<Function 065>
VERSAJET
Programming Reference
[Format]
ASCII
Hex
Decimal
GS ( k pL pH cn fn n
1D 28 6B 03 00 30 41 n
29 40 107 3 00 48 65 n
[Range]
(pL + pH x 256) = 3 (pL =3, pH =0)
cn = 48, fn = 65
0 ≤ n ≤ 30
[Default]
n = 0
[Description]
Specifies the number of columns of the data area of PDF417.
ꢀ n = 0 specifies auto processing
ꢀ When n is not 0, specifies the number of columns of the data area as n code word.
[Notes]
ꢀ Settings of this function affect the processing of Functions 081 and 082.
ꢀ When auto processing (n = 0) is specified, the maximum number of columns in the data
area is 30 columns.
ꢀ The following data is not included in the number of columns:
ꢁ Start pattern and stop pattern.
ꢁ Indicator code word of left and right.
ꢀ When auto processing (n = 0) is specified, the number of columns is calculated by the
printing area when processing Functions 081.
ꢀ Settings of this function are effective until ESC @ is executed, the printer is reset, or the
power is turned off.
92
Download from Www.Somanuals.com. All Manuals Search And Download.
GS ( k PDF417<Function 066>
VERSAJET
Programming Reference
[Format]
ASCII
Hex
Decimal
GS ( k pL pH cn fn n
1D 28 6B 03 00 30 42 n
29 40 107 03 00 48 66 n
[Range]
( pL + pH x 256) = 3 ( pL =3, pH =0)
cn = 48, fn = 66
n = 0, 3 ≤ n ≤90
[Default]
n = 0
[Description]
Specifies the number of rows of the data area of PDF417.
ꢀ n = 0 specifies auto processing
ꢀ When n is not 0, specifies the number of rows of the symbol as n rows.
[Notes]
ꢀ Settings of this function affect the processing of Functions 081.
ꢀ When auto processing (n = 0) is specified, the maximum number of rows is 90.
ꢀ When auto processing (n = 0) is specified, the number of rows is calculated by the
printing area when processing Functions 081.
ꢀ Settings of this function are effective until ESC @ is executed, the printer is reset, or the
power is turned off.
93
Download from Www.Somanuals.com. All Manuals Search And Download.
GS ( k PDF417<Function 067>
VERSAJET
Programming Reference
[Format]
ASCII
Hex
Decimal
GS ( k pL pH cn fn n
1D 28 6B 03 00 30 43 n
29 40 107 03 00 48 67 n
[Range]
(pL + pH x 256) = 3 (pL =3, pH =0)
cn = 48, fn = 67
1≤ n ≤ 5
[Default]
n = 2
[Description]
[Notes]
Specifies the width of a module of PDF417 symbol.
ꢀ Settings of this function affect the processing of Functions 081.
ꢀ The setting unit differs, depending on the printer models.
ꢀ Settings of this function are effective until ESC @ is executed, the printer is reset, or the
power is turned off.
ꢀ The setting unit is 1 dot. The width is set in units of 0.125 mm {1/203 inch}.
94
Download from Www.Somanuals.com. All Manuals Search And Download.
GS ( k PDF417<Function 068>
VERSAJET
Programming Reference
[Format]
ASCII
Hex
Decimal
GS ( k pL pH cn fn n
1D 28 6B 03 00 30 44 n
29 40 107 03 00 48 68 n
[Range]
[Default]
(pL + pH x256) = 3 (pL=3, pH =0)
cn = 48, fn = 68, 5 ≤ n ≤100
n = 5
[Description]
[Notes]
Specifies the height of a module of PDF417 symbol.
ꢀ Settings of this function affect the processing of Functions 081.
ꢀ Settings of this function are effective until ESC @ is executed, the printer is reset, or the
power is turned off.
ꢀ The module height influences the recognition rate of the symbol.
ꢀ The setting unit is 0.1 mm.
95
Download from Www.Somanuals.com. All Manuals Search And Download.
GS ( k PDF417<Function 069>
VERSAJET
Programming Reference
[Format]
ASCII
Hex
Decimal
GS ( k pL pH cn fn m n
1D 28 6B 04 00 30 45 m n
29 40 107 04 00 48 69 m n
[Range]
(pL + pH x 256) = 4 (pL = 4, pH =0)
cn = 48, fn = 69
m = 48
48 ≤ n ≤56 [m = 48]
[Default]
m = 48 , n = 48
[Description]
Specifies the error correction level of PDF417. The error correction level is specified by
“level” when m = 48.
[Notes]
ꢀ Settings of this function affect the processing of Functions 081.
ꢀ Error correction level is specified by either “level”.
ꢀ Error correction level specified by “level” (m = 48) is as follows. The number of the error
correction code word is fixed regardless of the number of code words in the data area.
n
Function
Number of error correction code word
48
49
50
51
52
53
54
55
56
Error correction level 0
Error correction level 1
Error correction level 2
Error correction level 3
Error correction level 4
Error correction level 5
Error correction level 6
Error correction level 7
Error correction level 8
2
4
8
16
32
64
128
256
512
96
Download from Www.Somanuals.com. All Manuals Search And Download.
VERSAJET
Programming Reference
ꢀ The error correction code word calculated by modulus 929.
ꢀ Settings of this function are effective until ESC @ is executed, the printer is reset, or the
power is turned off.
97
Download from Www.Somanuals.com. All Manuals Search And Download.
GS ( k PDF417<Function 080>
VERSAJET
Programming Reference
[Format]
ASCII
Hex
Decimal
GS ( k pL pH cn fn m d1 dk
1D 28 6B pL pH 30 50 30 d1 dk
29 40 107 pL pH 48 80 48 d1 dk
[Range]
4 ≤ (pL + pH x 256) ≤ 65535 (0 ≤pL≤255, 0 ≤pH ≤255)
cn = 48, fn = 80, m = 48, 0 ≤ d ≤255, k = (pL + pH x256) – 3
[Description]
[Notes]
Stores the PDF417 symbol data (d1...dk) in the symbol save area.
ꢀ Data stored in the symbol save area by this function are processed by Function 081 and
082. The data in the symbol save area are reserved after processing Function 081.
ꢀ k bytes of d1...dk are processed as symbol data.
ꢀ Specify only the data code word of the symbol with this function. Be sure not to include
the following data in the data d1...dk because they are added automatically by the
printer.
ꢁ Start pattern and stop pattern.
ꢁ Indicator code word of left and right.
ꢁ The descriptor of symbol length (the first code word in the data area).
ꢁ The error correction code word calculated by modulus 929.
ꢀ Settings of this function are effective until the following processing is performed:
ꢁ Function 080 is executed. ( Function 080 or 180 or 280 or 780 or 880 or 980 is
executed)
ꢁ ESC @ is executed.
ꢁ The printer is reset or the power is turned off.
98
Download from Www.Somanuals.com. All Manuals Search And Download.
GS ( k PDF417<Function 081>
VERSAJET
Programming Reference
[Format]
ASCII
Hex
Decimal
GS ( k pL pH cn fn m
1D 28 6B 03 00 30 51 m
29 40 107 03 00 48 81 m
[Range]
(pL + pH x 256) = 3 (pL = 3, pH = 0)
cn = 48, fn = 81
m = 48
[Description]
[Notes]
Encodes and prints the PDF417 symbol data in the symbol save area.
ꢀ If there is any error described below in the data of the symbol save area, it cannot be
printed.
ꢁ There is no data (Function 080 is not processed).
ꢁ If [(number of columns × number of rows) < number of code word] when auto
processing is specified for number of columns and number of rows.
ꢁ Number of code word exceeds 928 in the data area.
ꢁ This command does not affect printing in standard mode.
ꢀ The following data are added automatically by the encode processing.
ꢁ Start pattern and stop pattern.
ꢁ There is no data (Function 080 is not processed).
ꢁ The descriptor of symbol length (the first code word in the data area)
ꢁ The error correction code word calculated by modulus 929.
ꢁ Pad codeword.
99
Download from Www.Somanuals.com. All Manuals Search And Download.
VERSAJET
Programming Reference
ꢀ The data area includes the following code words.
ꢁ Data specified by Function 080.
ꢁ The descriptor of symbol length (the first code word in the data area).
ꢁ The error correction code word calculated by modulus 929.
ꢁ Pad codeword.
ꢀ This command is effective only in Page mode.
Download from Www.Somanuals.com. All Manuals Searc1h0A0nd Download.
GS ( k QR Code<Function 165>
VERSAJET
Programming Reference
[Format]
ASCII
Hex
Decimal
GS ( k pL pH cn fn n1 n2
1D 28 6B 04 00 31 41 n1 n2
29 40 107 04 00 49 65 n1 n2
[Range]
(pL + pH x256) = 4 (pL = 4, pH = 0)
cn = 49, fn = 65
n1 = 49, 50, 51
n2 = 0
[Default]
n1 = 50, n2 = 0
[Description]
Specifies the model of QR Code.
n1
Function
49 Specifies model 1.
50 Specifies model 2.
51
Micro QR
[Notes]
ꢀ Settings of this function affect the processing of Functions 181 and 182.
ꢀ Settings of this function are effective until ESC @ is executed, the printer is reset, or the
power is turned off.
Download from Www.Somanuals.com. All Manuals Searc1h0A1nd Download.
GS ( k QR Code <Function 167>
VERSAJET
Programming Reference
[Format]
ASCII
Hex
Decimal
GS ( k pL pH cn fn n
1D 28 6B 03 00 31 43 n
29 40 107 03 00 49 67 n
[Range]
(pL + pH X 256) = 3 (pL = 3, pH = 0)
cn = 49, fn = 67
2 ≤ n ≤ 5
[Default]
n = 2
[Description]
[Notes]
Specifies the size of a module of QR Code symbol.
ꢀ Settings of this function affect the processing of Functions 181 and 182.
ꢀ The setting unit differs, depending on the printer models.
ꢀ Settings of this function are effective until ESC @ is executed, the printer is reset, or the
power is turned off.
ꢀ n = width of a module = height of a module (Because the QR code modules are square).
ꢀ The setting unit is 1 dot. The size is set in units of 0.125 mm {1/203 inch}.
Download from Www.Somanuals.com. All Manuals Searc1h0A2nd Download.
GS ( k QR Code <Function 169>
VERSAJET
Programming Reference
[Format]
ASCII
Hex
Decimal
GS ( k pL pH cn fn n
1D 28 6B 03 00 31 45 n
29 40 107 03 00 49 69 n
[Range]
(pL + pH x 256) = 3 (pL = 3, pH =0)
cn = 49, fn = 69
48 ≤ n ≤ 51
[Default]
n = 48
[Description]
Specifies the error correction level of QR Code.
n
Function
Recovery Capacity % (approx.)
48 Specify Error correction level L
49 Specify Error correction level M
50 Specify Error correction level Q
51 Specify Error correction level H
7
15
25
30
[Notes]
ꢀ Settings of this function affect the processing of Functions 181.
ꢀ QR Code employs Reed-Solomon error correction to generate a series of error
correction code words.
ꢀ Settings of this function are effective until ESC @ is executed, the printer is reset, or the
power is turned off.
Download from Www.Somanuals.com. All Manuals Searc1h0A3nd Download.
GS ( k QR Code <Function 180>
VERSAJET
Programming Reference
[Format]
ASCII
Hex
Decimal
GS ( k pL pH cn fn m d1 dk
1D 28 6B pL pH 31 50 30 d1 dk
29 40 107 pL pH 49 80 48 d1 dk
[Range]
4 ≤ (pL + pH x 256) ≤ 7092 (0 ≤pL≤255, 0≤pH ≤27)
cn = 49, fn = 80
m = 48, 0 ≤ d ≤255
k = ( pL + pH x 256) – 3
[Description]
[Notes]
Stores the QR Code symbol data (d1...dk) in the symbol save area.
ꢀ Data stored in the symbol save area by this function is processed by Functions 181. The
data in the symbol save area are reserved after processing Function 181.
ꢀ k bytes of d1...dk are processed as symbol data.
ꢀ It is possible to encode to a QR Code as follows. Be sure not to include anything except
the following data in the data d1...dk.
Category of data
Numerical Mode data
Alphanumeric Mode data
Kanji Mode data
Characters it is possible to specify
“0“ ~ “9“
“0” ~ “9“, “A” ~ “Z“, SP, $, %, *, +, –, . , /, :
Shift JIS value (Shift value from JISX0208)
00H ~ 7FH or 8EH ~ DFH
8-Bit Byte Mode data
Download from Www.Somanuals.com. All Manuals Searc1h0A4nd Download.
VERSAJET
Programming Reference
ꢀ Settings of this function are effective until the following processing is performed:
ꢁ Function 080 or 180 is executed.
ꢁ ESC @ is executed.
ꢁ The printer is reset or the power is turned off.
Download from Www.Somanuals.com. All Manuals Searc1h0A5nd Download.
GS ( k QR Code <Function 181>
VERSAJET
Programming Reference
[Format]
ASCII
Hex
Decimal
GS ( k p pH cn fn m
1D 28 6B 03 00 31 51 m
29 40 107 03 00 49 81 m
[Range]
(pL + pH x 256) = 3 (pL = 3, pH = 0)
cn = 49, fn = 81
m = 48
[Default]
None
[Description]
[Notes]
Encodes and prints the QR Code symbol data in the symbol save area.
ꢀ If there is any error described below in the data of the symbol save area, it cannot be
printed.
ꢁ There is no data (Function 180 is not processed).
ꢁ If the data of the symbol save area is more than the data allowed by specified model
and data compaction mode. (This case is an abnormal number of data.)
ꢁ The four data compaction modes are listed below (in order of compaction rate).
Automatically selects best compaction mode by the data of the symbol save area.
– Numerical mode
– Alphanumeric mode
– Kanji mode
– 8-Bit Byte Mode
ꢁ This command does not affect printing in standard mode.
Download from Www.Somanuals.com. All Manuals Searc1h0A6nd Download.
VERSAJET
Programming Reference
ꢀ The following data are added automatically by the encode processing.
ꢁPosition Detection Patterns
ꢁSeparators for Position Detection Patterns
ꢁTiming Patterns
ꢁFormat Information
ꢁVersion Information
ꢁError Correction code words (employs the Reed-Solomon Error Detection and
Correction algorithm)
ꢁPad codeword
ꢁNumber of bits in Character Count Indicator
ꢁMode Indicator
ꢁTerminator
ꢁAlignment Patterns (when model 2 is selected)
ꢁExtension Patterns (when model 1 is selected)
ꢀ ESC T is not effective for QR Code, Datamatrix, or MaxiCode.
ꢀ This command is effective only in Page mode.
Download from Www.Somanuals.com. All Manuals Searc1h0A7nd Download.
GS ( k MaxiCode<Function 265>
VERSAJET
Programming Reference
[Format]
ASCII
Hex
Decimal
GS ( k k pL pH cn fn n
1D 28 6B 03 00 32 41 n
29 40 107 03 00 50 65 n
[Range]
(pL + pH x 256) = 3 (pL = 3, pH = 0)
cn = 50
fn = 65
50 ≤ n ≤ 54 ( 52~54 not support)
[Default]
n = 50
[Description]
Specifies the mode of the MaxiCode
n
Function
50
51
Specify to mode 2.
Specify to mode 3.
[Notes]
ꢀ Settings of this function affect the processing of Functions 281.
ꢀ Settings of this function are effective until ESC @ is executed, the printer is reset, or the
power is turned off.
Download from Www.Somanuals.com. All Manuals Searc1h0A8nd Download.
GS ( k MaxiCode <Function 280>
VERSAJET
Programming Reference
[Format]
ASCII
Hex
Decimal
GS ( k pL pH cn fn m d1…dk
1D 28 6B pL pH 32 50 30 d1…dk
29 40 107 pL pH 50 80 48 d1…dk
[Range]
4 ≤ (pL + pH x 256) ≤200 (0 ≤ pL ≤ n, 0≤pH≤0)
cn = 50
fn = 80
m = 48
0 ≤d ≤255
k = (pL + pH x 256) – 3
[Description]
[Notes]
Stores the MaxiCode symbol data (d1...dk) in the symbol save area.
ꢀ Data stored in the symbol save area by this function is processed by Function 281. The
data in the symbol save area are reserved after processing Function 281.
ꢀ k bytes of d1...dk are processed as the symbol data.
ꢀ Settings of this function are effective until the following processing is performed:
ꢁ Function 080 or 180 or 280 or 780 or 880 or 980 is executed
ꢁ ESC @ is executed
ꢁ The printer is reset or the power is turned off
Download from Www.Somanuals.com. All Manuals Searc1h0A9nd Download.
VERSAJET
Programming Reference
[Data Format]
Item
ANSI message header
Size and Type
[ ]> <RS>
Transportation Data Format Header 01 <GS> 96
Ship-To Postal Code
5 or 9 digits in the USA (mode2),
up to 6 alphanumeric characters in
other countries (mode3).
Ship-To Country Code
Class of Service
3 digits (840 for USA)
3 digits
Tracking Number
10-character alphanumeric
“UPSN”
6-character alphanumeric
3 digits
UPS Standard Carrier Alpha Code
UPS Shipper Number
Julian Day of Pickup
Shipment ID Number
Package In Shipment (package N of
X total packages)
1-30 character alphanumeric
1-4 digits “/” 1-4 digits
Weight in pounds
1-5 digits
Address Validation
Ship-To Address
Ship-To City
Ship-To State
End of format
“Y” or “N”
1-35 alphanumeric
1-35 alphanumeric
2-character alpha
<RS>
End of transmission
<EOT>
[Notes]
(1) RS and GS represents (1EH) and (1DH) respectively.
(2) Background is yellowꢂStart / End elements (necessary)
(3) Background is blueꢂdata elements are mandatory
(4) Each item finished adding “GS”
110
Download from Www.Somanuals.com. All Manuals Search And Download.
GS ( k MaxiCode <Function 281>
VERSAJET
Programming Reference
[Format]
ASCII
Hex
Decimal
GS (k pL pH cn fn m
1D 28 6B 03 00 32 51 m
29 40 107 03 00 50 81 m
[Range]
(pL + pH x 256) = 3 (pL =3, pH=0)
cn = 50
fn = 81
m = 48
[Default]
None
[Description]
[Notes]
Encodes and prints the MaxiCode symbol data in the symbol save area.
ꢀ If there is any error described below in the data of the symbol save area, it cannot be
printed.
ꢁ There is no data (Function 180 is not processed).
ꢁ Follow to the <Function 280> [Data format], If any improper data is included, it will
result as a command error.
ꢀ ESC T is not effective for QR Code, Datamatrix, or MaxiCode.
ꢀ Barcode Size: Width approximately 28mm(1.01inch); Height approximately
25mm(1inch).
ꢀ This command is effective only in Page mode.
111
Download from Www.Somanuals.com. All Manuals Search And Download.
GS ( k Datamatrix <Function 765>
VERSAJET
Programming Reference
[Format]
ASCII
Hex
Decimal
GS (k pL pH cn fn n
1D 28 6B 03 00 37 41 n
29 40 107 03 00 55 65 n
[Range]
(pL + pH x 256) = 3 (pL =3, pH=0)
cn = 55
fn = 65
[Default]
None
[Description]
Specifies the number of columns of the data area of Datamatrix.
Matrix type
Row
Column
1
2
3
4
5
6
8
12
32
26
36
36
48
8
12
12
16
16
[Notes]
When you choose Matrix type 1, you have to set up the column and row with the
corresponding values.
112
Download from Www.Somanuals.com. All Manuals Search And Download.
GS ( k Datamatrix <Function 766>
VERSAJET
Programming Reference
[Format]
ASCII
Hex
Decimal
GS ( k pL pH cn fn n
1D 28 6B 03 00 37 42 n
29 40 10703 00 55 66 n
[Range]
(pL + pH x 256) = 3 (pL =3, pH=0)
cn = 55
fn = 66
[Description]
Specifies the number of rows of the data area of Datamatrix.
Matrix type
Row
Column
1
2
3
4
5
6
8
12
32
26
36
36
48
8
12
12
16
16
[Notes]
When you choose Matrix type 1, you have to set up the column and row with the
corresponding values.
113
Download from Www.Somanuals.com. All Manuals Search And Download.
GS ( k Datamatrix <Function 767>
VERSAJET
Programming Reference
[Format]
ASCII
Hex
Decimal
GS ( k pL pH cn fn n
1D 28 6B 03 00 37 43 n
29 40 107 03 00 55 67 n
[Range]
(pL + pH x 256) = 3 (pL =3, pH=0)
cn = 55
fn = 67
1≤ n ≤ 5
[Default]
n = 1
[Description]
[Notes]
Specifies the width of a module of Datamatrix symbol.
ꢀ Settings of this function affect the processing of Functions 781.
ꢀ The setting unit differs, depending on the printer models.
ꢀ Settings of this function are effective until ESC @ is executed, the printer is reset, or the
power is turned off.
114
Download from Www.Somanuals.com. All Manuals Search And Download.
GS ( k Datamatrix <Function 768>
VERSAJET
Programming Reference
[Format]
ASCII
Hex
Decimal
GS ( k pL pH cn fn n
1D 28 6B 03 00 37 44 n
29 40 107 03 00 55 68 n
[Range]
(pL + pH x 256) = 3 (pL =3, pH=0)
cn = 55
fn = 68
n = 0 or 1
n
0
1
Bar Code Type
Datamatrix (standard square shape)
Datamatrix ECC200 Rectangle Shape
[Default]
n = 0
[Description]
[Notes]
Specify the Bar Code Type.
ꢀ n = 0 ,Functions 765 and 766 may be omitted.
ꢀ Settings of this function affect the processing of Functions 781.
ꢀ Settings of this function are effective until ESC @ is executed, the printer is reset, or the
power is turned off.
[Model-dependent variations]
The setting unit is 1 dot. The width is set in units of 0.125 mm {1/203 inch}.
115
Download from Www.Somanuals.com. All Manuals Search And Download.
GS ( k Datamatrix <Function 769>
VERSAJET
Programming Reference
[Format]
ASCII
Hex
Decimal
GS ( k pL pH cn fn n
1D 28 6B 03 00 37 45 n
29 40 107 04 00 55 69 n
[Range]
(pL + pH x 256) = 3 (pL =4, pH=0)
cn = 55
fn = 69
1 ≤n ≤ 6
[Default]
n = 6
[Description]
Specifies the Data mode of Datamatrix.
n
1
Data mode
Base 11
Description
numeric mode
(0~9、space)
2
3
4
Base 27
Base 37
Base 41
capital alphabet mode
(A~Z、space)
alphanumeric mode
(A~Z、0~9、space)
alphanumeric and symbol mode
(A~Z、0~9、space、。、,、- or -、/)
5
6
ASCII
8
full ASCII mode
8 bit mode (default)
116
Download from Www.Somanuals.com. All Manuals Search And Download.
VERSAJET
Programming Reference
Barcode type: Rectangle Shape
Row
Column
Capacity
number
10
alphanumeric
bytes
3
8
8
12
12
16
16
12
32
26
36
36
48
6
20
32
44
64
13
22
31
46
72
8
14
20
30
47
98
117
Download from Www.Somanuals.com. All Manuals Search And Download.
GS ( k Datamatrix <Function 780>
VERSAJET
Programming Reference
[Format]
ASCII
Hex
Decimal
GS ( k pL pH cn fn m d1…dk
1D 28 6B pL pH 37 50 30 d1…dk
29 40 107 pL pH 55 80 48 d1…dk
[Range]
4≤ (pL + pH x 256) ≤65535 (0≤pL≤255, 0≤pH≤255)
cn = 55
fn = 80
m = 48
0 ≤d ≤255
k = (pL + pH x 256) – 3
[Description]
[Notes]
Stores the Datamatrix symbol data (d1...dk) in the symbol save area.
ꢀ Data stored in the symbol save area by this function are processed by Function 781. The
data in the symbol save area are reserved after processing Function 781.
ꢀ k bytes of d1...dk are processed as symbol data.
ꢀ Specify only the data code word of the symbol with this function. Be sure not to include
the following data in the data d1...dk because they are added automatically by the
printer.
ꢁ Start pattern and stop pattern
ꢁ Indicator code word of left and right
ꢁ The descriptor of symbol length (the first code word in the data area)
ꢁ The error correction code word calculated by modulus 929
ꢀ Settings of this function are effective until the following processing is performed:
ꢁ Function 080 or 180 or 280 or 780 or 880 or 980 is executed
ꢁ ESC @ is executed
ꢁ The printer is reset or the power is turned off
118
Download from Www.Somanuals.com. All Manuals Search And Download.
GS ( k Datamatrix <Function 781>
VERSAJET
Programming Reference
[Format]
ASCII
Hex
Decimal
GS ( k pL pH cn fn m
1D 28 6B 03 00 37 51 m
29 40 107 03 00 55 81 m
[Range]
(pL + pH x 256) = 3 (pL = 3, pH = 0)
cn = 55
fn = 81
m = 48
[Description]
[Notes]
Encodes and prints the Datamatrix symbol data in the symbol save area.
ꢀ If there is any error described below in the data of the symbol save area, it cannot be
printed.
ꢁ There is no data (Function 780 is not processed).
ꢁ If [(number of columns × number of rows) < number of code word] when auto
processing is specified for number of columns and number of rows.
ꢁ Number of code word exceeds 928 in the data area.
ꢁ This command does not affect printing in standard mode.
ꢀ The following data are added automatically by the encode processing.
ꢁ Start pattern and stop pattern
ꢁ Indicator code word of left and right
ꢁ The descriptor of symbol length (the first code word in the data area)
ꢁ The error correction code word calculated by modulus 929
ꢁ Pad codeword
119
Download from Www.Somanuals.com. All Manuals Search And Download.
VERSAJET
Programming Reference
ꢀ The data area includes the following code words.
ꢁ Data specified by Function 780.
ꢁ The descriptor of symbol length (the first code word in the data area).
ꢁ The error correction code word calculated by modulus 929.
ꢁ Pad codeword
ꢀ ESC T is not effective for QR Code, Datamatrix, or MaxiCode.
ꢀ This command is effective only in Page mode.
Download from Www.Somanuals.com. All Manuals Searc1h2A0nd Download.
GS ( k RSS-14 <Function 865>
VERSAJET
Programming Reference
[Format]
ASCII
Hex
Decimal
GS ( k pL pH cn fn n
1D 28 6B 04 00 38 41 n
29 40 107 03 00 56 65 n
[Range]
(pL + pH x 256) = 3 (pL = 3, pH = 0)
cn = 56
fn = 65
49 ≤n ≤54 (Hex : 31~36)
[Default]
n = 49
[Description]
Specify the mode of RSS-14.
n
Description
49 RSS-14
50 RSS-14 Truncated
51 RSS-14 Stacked
52 RSS-14 Stacked Omni directional
53 RSS Limited
54 RSS Expanded and RSS Expanded Stacked
[Notes]
ꢀ Settings of this function affect the processing of Functions 881.
ꢀ Settings of this function are effective until ESC @ is executed, the printer is reset, or the
power is turned off.
Download from Www.Somanuals.com. All Manuals Searc1h2A1nd Download.
GS ( k RSS-14 <Function 866>
VERSAJET
Programming Reference
[Format]
ASCII
Hex
Decimal
GS ( k pL pH cn fn n
1D 28 6B 04 00 38 42 n
29 40 107 03 00 56 66 n
[Range]
(pL + pH x 256) = 3 (pL = 3, pH = 0)
cn = 56
fn = 65
2 ≤ n ≤22
[Default]
n = 22
[Description]
[Notes]
Specify the RSS Expanded Stacked Symbol to define its number of segment per row.
ꢀ Even number from 2 to 22 should be used. If any odd number is entered, it will be round
down to be an even number. If any numbers less than 2 (two) is entered, it will be
processed as 2. If any numbers larger than 22 is entered, it will be processed as 22.
ꢀ When RSS + 2D CC is used, this n needs to be set at least 4 (four) or larger.
Download from Www.Somanuals.com. All Manuals Searc1h2A2nd Download.
GS ( k RSS-14 <Function 867>
VERSAJET
Programming Reference
[Format]
ASCII
Hex
Decimal
GS ( k pL pH cn fn n
1D 28 6B 04 00 38 43 n
29 40 107 03 00 56 67 n
[Range]
(pL + pH x 256) = 3 (pL = 3, pH = 0)
cn = 56
fn = 67
1 ≤ n ≤255
[Default]
n = 2
[Description]
[Notes]
Specifies the width of narrow element size of a module of RSS-14 symbol.
ꢀ Settings of this function affect the processing of Functions 881.
ꢀ The setting unit differs, depending on the printer models.
ꢀ Settings of this function are effective until ESC @ is executed, the printer is reset, or the
power is turned off.
Download from Www.Somanuals.com. All Manuals Searc1h2A3nd Download.
GS ( k RSS-14 <Function 868>
VERSAJET
Programming Reference
[Format]
ASCII
Hex
Decimal
GS ( k pL pH cn fn n
1D 28 6B 04 00 38 44 n
29 40 107 03 00 56 68 n
[Range]
(pL + pH x 256) = 3 (pL = 3, pH = 0)
cn = 56
fn = 68
1 ≤ n ≤255
[Default]
n = 2
[Description]
[Notes]
Specifies the Height of separator of RSS-14 symbol.
ꢀ Settings of this function affect the processing of Functions 881.
ꢀ Settings of this function are effective until ESC @ is executed, the printer is reset, or the
power is turned off.
ꢀ Settings of this function affect the RSS-14 + Composite (2D) barcode.
Download from Www.Somanuals.com. All Manuals Searc1h2A4nd Download.
GS ( k RSS-14 <Function 880>
VERSAJET
Programming Reference
[Format]
ASCII
Hex
Decimal
GS ( k pL pH cn fn m d1…dk
1D 28 6B pL pH 38 50 30 d1…dk
29 40 107 pL pH 56 80 48 d1…dk
[Range]
(4 ≤ (pL + pH x 256) ≤2437 (0 ≤pL≤255, 0 ≤pH ≤9)
cn = 56
fn = 80
m = 48
0 ≤ d ≤255
k = (pL + pH x 256) – 3
[Description]
[Notes]
Stores the RSS-14 symbol data (d1...dk) in the symbol save area.
ꢀ Data stored in the symbol save area by this function is processed by Functions 881. The
data in the symbol save area are reserved after processing Function 881.
ꢀ k bytes of d1...dk are processed as symbol data.
ꢀ Entering Data for RSS
Symbols of RSS-14 and RSS Limit can contain 13 digits of numeric data (0 though 9),
RSS Expanded can contain up to 20 characters of data in alphanumeric as well as
special character, FNC1. In such case, the printer adds Application Identifier, "01",
automatically hence not requiring manual data entry.
ꢀ Entering Data for RSS + 2D CC
Within a data use | (vertical bar) to separate data for RSS symbol portion, which is in
front of the vertical bar, and 2D CC portion after the vertical bar to print data in RSS + 2D
CC symbol.
Download from Www.Somanuals.com. All Manuals Searc1h2A5nd Download.
ꢀ 2D Composite Component
CC-A capacity ꢂ56 characters.
CC-B capacity ꢂ338 characters.
VERSAJET
Programming Reference
ꢀ For RSS-14 and RSS LIMIT, the printer automatically adds a check character at 14th
digit when print.
ꢀ Following table shows data type and data capacity for each RSS symbol.
RSS Symbol Type
Data Type
Data Capacity
.RSS-14
.RSS-14 Truncated
.RSS-14 Stacked
.RSS-14 Stacked
Omni directional
.RSS LIMIT
Numbers from 0 to 9
13 fixed character
.74 character when only
numbers are used.
.41 character when
.Alphanumeric
.Readable Characters (20)
.Special Function Character
RSS Expanded
alphanumeric and readable
characters are used.
(FNC1)
ꢀ Settings of this function are effective until the following processing is performed:
ꢁ Function 080 or 180 or 280 or 780 or 880 or 980 is executed
ꢁ ESC @ is executed
ꢁ The printer is reset or the power is turned off
Download from Www.Somanuals.com. All Manuals Searc1h2A6nd Download.
GS ( k RSS-14 <Function 881>
VERSAJET
Programming Reference
[Format]
ASCII
Hex
Decimal
GS ( k pL pH cn fn m
1D 28 6B 03 00 38 51 m
29 40 107 03 00 56 81 m
[Range]
(pL + pH x 256) = 3 (pL = 3, pH = 0 )
cn = 56
fn = 81
m = 48
[Default]
None
[Description]
[Notes]
Encodes and prints the RSS-14 symbol data in the symbol save area.
ꢀ If there is any error described below in the data of the symbol save area, it cannot be
printed.
ꢁ There is no data (Function 880 is not processed).
ꢁ If the data of the symbol save area is more than the data allowed by specified model
and data compaction mode.
ꢀ This command is effective only in Page mode.
Download from Www.Somanuals.com. All Manuals Searc1h2A7nd Download.
GS ( k Code49 <Function 967>
VERSAJET
Programming Reference
[Format]
ASCII
Hex
Decimal
GS ( k pL pH cn fn n
1D 28 6B 03 00 39 43 n
29 40 107 3 00 57 67 n
[Range]
(pL + pH x256) = 3 (pL = 3, pH = 0)
cn = 57, fn = 67
1≤ n ≤ 255
[Default]
n = 2
[Description]
[Notes]
Specifies the width of narrow element.
ꢀ Settings of this function affect the processing of Functions 981.
ꢀ The setting unit differs, depending on the printer models.
ꢀ Settings of this function are effective until ESC @ is executed, the printer is reset, or the
power is turned off.
ꢀ The setting unit is 1 dot. The width is set in units of 0.125 mm {1/203 inch}.
Download from Www.Somanuals.com. All Manuals Searc1h2A8nd Download.
GS ( k Code49 <Function 968>
VERSAJET
Programming Reference
[Format]
ASCII
Hex
Decimal
GS ( k pL pH cn fn n
1D 28 6B 03 00 39 44 n
29 40 107 3 00 57 68 n
[Range]
(pL + pH x 256) = 3 (pL = 3, pH =0)
cn = 57, fn = 68
1≤ n ≤ 255
[Default]
n = 16
[Description]
[Notes]
Specify the height of one row.
ꢀ Settings of this function affect the processing of Functions 981.
ꢀ Settings of this function are effective until ESC @ is executed, the printer is reset, or the
power is turned off.
ꢀ The module height influences the recognition rate of the symbol.
ꢀ For Code49, the minimum recommended symbol height is 8X, where X is the width of
narrow element (reference <Function 967>).
ꢀ The setting unit is 0.1 mm.
Download from Www.Somanuals.com. All Manuals Searc1h2A9nd Download.
GS ( k Code49 <Function 980>
VERSAJET
Programming Reference
[Format]
ASCII
Hex
Decimal
GS ( k pL pH cn fn m d1 dk
1D 28 6B pL pH 39 50 30 d1 dk
29 40 107 pL pH 57 80 48 d1 dk
[Range]
4 ≤ (pL + pH x 256) ≤ 81 (1 ≤ pL ≤81, pH =0)
cn = 57, fn = 80
m = 48, 0 ≤ d ≤255
k = ( pL + pH x 256) – 3
Description〕
Stores the Code49 symbol data (d1...dk) in the symbol save area.
[Notes]
ꢀ Data stored in the symbol save area by this function is processed by Functions 981. The
data in the symbol save area are reserved after processing Function 981.
ꢀ k bytes of d1...dk are processed as symbol data.
ꢀ Code49 allows a bar code to be printed including all 128 characters of the ASCII
character set, and function codes FUNC1, FUNC2, and FUNC3.
ꢀ The following table shows the character sequences used to enter the special function
codes FUNC1, FUNC2, and FUNC3.
Data code
@
Input character sequence
@@
@A
@B
@C
FUNC1
FUNC2
FUNC3
Download from Www.Somanuals.com. All Manuals Searc1h3A0nd Download.
VERSAJET
Programming Reference
ꢀ Data capacity
ꢁ Characters: The characters can’t exceed 49 bytes. Following characters will spend
one byte, the others will spend two bytes.
Value
0
Character
Vaule
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
Character
0
1
2
3
4
5
6
7
8
P
Q
R
S
T
U
V
W
X
Y
Z
-
1
2
3
4
5
6
7
8
9
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
A
B
C
D
E
F
G
H
I
L
K
L
M
N
O
.
SPACE
$
/
+
%
S1(Shift1)
S2(Shift2)
FNC1(Function1)
FNC2(Function2)
FNC3(Function3)
NS(Numeric Shift)
Download from Www.Somanuals.com. All Manuals Searc1h3A1nd Download.
VERSAJET
Programming Reference
For example:
(1) “123ABC” ; ꢂ6 bytes
(2) “123abc” ; ꢂ3 + 3*2 = 9 bytes
ꢁ Numeric ꢂThe numeric can’t exceed 81 bytes.
ꢀ Settings of this function are effective until the following processing is performed.
ꢁ Function 080 or 180 or 280 or 780 or 880 or 980 is executed
ꢁ ESC @ is executed
ꢁ The printer is reset or the power is turned off
Download from Www.Somanuals.com. All Manuals Searc1h3A2nd Download.
GS ( k Code49 <Function 981>
VERSAJET
Programming Reference
[Format]
ASCII
Hex
Decimal
GS ( k pL pH cn fn m
1D 28 6B 03 00 39 51 m
29 40 107 3 00 57 81 m
[Range]
(pL + pH x 256) = 3 (pL = 3, pH = 0)
cn = 57, fn = 81
m = 48
[Default]
None
[Description]
[Notes]
Encodes and prints the Code49 symbol data in the symbol save area.
ꢀ If there is any error described below in the data of the symbol save area, it cannot be
printed.
ꢁ There is no data (Function 980 is not processed).
ꢁ If the data of the symbol save area is more than the data allowed by specified model
and data compaction mode. (This case is an abnormal number of data.)
Download from Www.Somanuals.com. All Manuals Searc1h3A3nd Download.
GS *
VERSAJET
Programming Reference
[Name]
Define downloaded bit image
[Format]
ASCII
Hex
Decimal
GS * x y d1… d(x x y x 8)
1D 2A x y d1… d(x x y x 8)
29 42 x y d1… d(x x y x 8)
[Range]
1≦x≦255
1≦y≦48
0≦d≦255
k = x x y x 8
[Default]
None
[Description]
Defines a downloaded bit image.
ꢀ x specifies the size of a bit image in horizontal to x bytes.
ꢀ y specifies the size of a bit image in vertical to y bytes.
ꢀ d defines the bit image data.
ꢀ k indicates the number of data to be defined. k is an explanation parameter; therefore it
does not need to be transmitted.
[Notes]
ꢀ The data for byte k of d1… dk is processed as a single item of RAM data. The defined
data(d) specifies “1” for corresponding to dots that will be printed and “0” for bits
corresponding to dots that will not be printed.
ꢀ The downloaded bit image is not defined in the default settings.
Download from Www.Somanuals.com. All Manuals Searc1h3A4nd Download.
VERSAJET
Programming Reference
ꢀ Once a downloaded bit image has been defined, it is maintained until another definition
is made, ESC & or ESC @ is executed, the printer is reset, or the power is turned off.
ꢀ A downloaded bit image and a user-defined character cannot be defined simultaneously.
When this command is executed, the user-defined character is cleared.
ꢀ The downloaded bit image is printed by GS /.
ꢀ The relationship between the bit image data and the printed result is as follow:
d1
d2
dy+1
dy+2
…
…
:
dk-2
:
:
…
dk-1
x
dy
dy 2
…
dk
Download from Www.Somanuals.com. All Manuals Searc1h3A5nd Download.
GS /
VERSAJET
Programming Reference
[Name]
Print downloaded bit image
[Format]
ASCII
Hex
Decimal
GS / n
1D 2F n
29 47 n
[Range]
0 ≤ n ≤ 3, 48 ≤ n ≤ 51
n = 0
[Default]
[Description]
Prints a downloaded bit image using the mode specified by n. n selects a mode from the
table below:
n
Mode
0, 48 Normal
1, 49 Double-width
2, 50 Double-height
3, 51 Quadruple
* dpi: dots per inch(25.4mm)
[Notes]
ꢀ This command is ignored if a downloaded bit image has not been defined.
ꢀ In standard mode, this command is effective only when there is no data in the print
buffer.
ꢀ This command has no effect in the print modes (emphasized, double-strike, underline,
character size, or white/black reverse printing), except for upside-down printing mode.
ꢀ If the downloaded bit image to be printed exceeds the printable area, the excess data is
not printed.
Download from Www.Somanuals.com. All Manuals Searc1h3A6nd Download.
VERSAJET
Programming Reference
ꢀ If the printing area width set by GS L and GS W is less than one line in vertical, the
following processing is performed only on the line in question:
ꢁ The printing area width is extended to the right up to one line in vertical. In this case,
printing does not exceed the printable area.
ꢁ If the printing area width cannot be extended by one line in vertical, the left margin is
reduced to accommodate one line in vertical.
Download from Www.Somanuals.com. All Manuals Searc1h3A7nd Download.
GS :
VERSAJET
Programming Reference
[Name]
Start/end macro definition
[Format]
ASCII
Hex
Decimal
GS :
1D 3A
29 58
[Range]
None
None
[Default]
[Description]
[Notes]
Starts or ends macro definition
ꢀ Macro definition starts when this command is processed during normal operation and
ends when it is processed during macro definition.
ꢀ While the macro is defined, the printing is also executed.
ꢀ The maximum data size to be defined as a macro is 2 KB. If the macro definition
exceeds the maximum data size, this command will not be processed, and the LED1
indicator blinks red, the LED2 and LED3 indicators blink green, LED4 indicators blinks
red (means ‘Command Error’).
ꢀ The macro is executed by GS ^.
ꢀ If the printer processes this command, it will save the macro definition into RAM. The
macro can be executed repeatedly after it is defined.
ꢀ The defined contents of the macro are not cleared by ESC @. Defined content of the
macro is effective until the printer is reset, or the power is turned off.
Download from Www.Somanuals.com. All Manuals Searc1h3A8nd Download.
VERSAJET
Programming Reference
ꢀ Macro is not defined when the power is turned on.
ꢀ The following commands cannot be contained in a macro. Do not use these commands
while the macro is being defined: FS q, GS ^, and GS v 0.
Download from Www.Somanuals.com. All Manuals Searc1h3A9nd Download.
GS ^
VERSAJET
Programming Reference
[Name]
Execute macro
[Format]
ASCII
Hex
Decimal
GS ^ r t m
1D 5E r t m
29 94 r t m
[Range]
1 ≦ r ≦ 255
0 ≦ t ≦ 255
m = 0, 1
[Default]
None
[Description]
Executes a macro r times while waiting t x 100 msec for each macro execution, using the
mode specified by m as follows:
ꢀ When m = 0, the macro executes r times continuously at the interval specified by t.
ꢀ When m = 1, the printer waits for the period specified by t, blinks the LED, and then waits
for the paper feed button to be pressed. After this button is pressed, the printer executes
the macro once. The printer repeats this operation r times.
[Notes]
ꢀ If a macro is not defined or if r is 0, this command is ignored.
ꢀ Macro is not defined when the power is turned on.
ꢀ This command cannot be contained in the macro. Do not use this command when the
macro is defined.
ꢀ The macro is defined by GS :.
Download from Www.Somanuals.com. All Manuals Searc1h4A0nd Download.
VERSAJET
Programming Reference
ꢀ Macro function is useful to print the same data repeatedly. To define a macro definition,
send GS : just before and after the data desired to be repeated. And then execute macro
by using GS ^ to print the same data repeatedly. Macro function eliminates the need for
sending all the print data every time.
Download from Www.Somanuals.com. All Manuals Searc1h4A1nd Download.
GS B
VERSAJET
Programming Reference
[Name]
Turn white/black reverse printing mode on/ff
[Format]
ASCII
Hex
Decimal
GS B n
1D 42 n
29 66 n
[Range]
0≦n≦255
n = 0
[Default]
[Description]
Turns white/black reverse printing mode on/ff
ꢀ When the LSB of n is 0, white/black reverse printing mode is turned off.
ꢀ When the LSB of n is 1, white/black reverse printing mode is turned on.
[Notes]
ꢀ This mode is effective for alphanumeric, Kana, multilingual and user-defined character.
ꢀ When white/black reverse printing mode is turned on, it also affects the right-side
characters spacing set by ESC SP.
ꢀ When white/black reverse printing mode is turned on, it does not affect the space
between lines.
ꢀ When underline mode is turned on, the printer does not underline white/black reverse
characters.
ꢀ This command is effective until ESC @ is executed, the printer is reset, or the power is
turned off.
ꢀ In white/black reverse printing mode, characters are printed in white on a black
background.
Download from Www.Somanuals.com. All Manuals Searc1h4A2nd Download.
GS C 0
VERSAJET
Programming Reference
[Name]
Select counter print mode
[Format]
ASCII
Hex
Decimal
GS C 0 n m
1D 43 30 n m
29 67 48 n m
[Range]
0 ≤ n ≤ 5,
0 ≤ m ≤ 2, 48 ≤ m ≤ 50
n = 0, m = 0
[Default]
[Description]
Selects a print mode for the serial number counter (the number of printed digits and the print
position within the entire range of printed digits).
ꢀ n specifies the number of digits to be printed.
ꢁ When n=0, the printer prints the actual digits indicated by the number value.
ꢁ
When n≠0, the printer prints the last n digits of the serial number.
ꢀ m specifies the printing position within the entire range of printed digits, as follows:
m
Print position
Processing of digits less than those specified
Adds spaces to the left
Adds 0 to the left
0,48 Align right
1,49 Align right
2,50 Align left
Adds spaces to the right
Download from Www.Somanuals.com. All Manuals Searc1h4A3nd Download.
VERSAJET
Programming Reference
[Notes]
ꢀ The serial number counter is stored in the print buffer by GS c.
ꢀ Settings of this command are effective until ESC @ is executed, the printer is reset, or
the power is turned off.
Download from Www.Somanuals.com. All Manuals Searc1h4A4nd Download.
GS C 1
VERSAJET
Programming Reference
[Name]
Select counter mode
[Format]
ASCII
Hex
Decimal
GS C 1 aL aH bL bH n r
1D 43 31 aL aH bL bH n r
29 67 49 aL aH bL bH n r
[Range]
0 ≤ (aL + aH x 256) ≤65535 (0≤ aL ≤255, 0≤ aH ≤255)
0 ≤ (bL + bH x 256) ≤65535 (0≤ bL ≤255, 0≤ bH ≤255)
0 ≤ n ≤ 255 , 0 ≤ r ≤255
[Default]
(aL + aH x 256) = 1(aL = 1, aH = 0)
(bL + bH x 256) = 65535 (bL = 255, bH = 255)
n = 1 , r = 1
[Description]
Selects a count mode for the serial number counter.
Count mode
Conditions
Minimum
Value
Maximum value
Count-up
aL+aH x 256< bL+bH x 256 aL+aH x 256
and n≠0 and r≠0
bL+bH x 256
Count-down aL+aH x 256> bL+bH x 256
and n≠0 and r≠0
bL+bH x 256
aL+aH x 256
Count-stop
aL+aH x 256= bL+bH x 256
and n≠0 and r≠0
-
-
* aL, aH and bL, bH specify the counter ranges (maximum or minimum value).
* n specifies the stepping amount when counting up or down.
* r specifies the repetition number of printing for the same counter value.
Download from Www.Somanuals.com. All Manuals Searc1h4A5nd Download.
VERSAJET
Programming Reference
[Notes]
ꢀ In a count-up setting, when the GS c is executed, the counter value exceeds the
maximum value( bL+bH x 256), restart counting from the minimum value ( aL + aH x
256).
ꢀ In a count-down setting, when GS c is executed, the counter value is below minimum
value( bL+bH x 256), restart counting from the maximum value ( aL + aH x 256).
ꢀ In a count-stop setting, when executing GS c, the counter value is not changed.
ꢀ This command does not change the counter value. The counter value is set by GS C 2.
ꢀ Settings of this command are effective until ESC @ is executed, the printer is reset, or
the power is turned off.
ꢀ The value of the counter is updated when executing GS c.
Download from Www.Somanuals.com. All Manuals Searc1h4A6nd Download.
GS C 2
VERSAJET
Programming Reference
[Name]
Select the serial number counter value
[Format]
ASCII
Hex
Decimal
GS C 2 nL nH
1D 43 32 nL nH
29 67 50 nL nH
[Range]
0 ≤ (nL + nH x 256) ≤65535 (0≤ nL ≤255, 0≤ nH ≤255)
(nL + nH x 256) = 1 (nL = 1, nH = 0)
[Default]
[Description]
[Notes]
Sets the serial number counter value. Specifies the counter value as (nL + nH x 256).
Settings of this command are effective until ESC @ is executed, the printer is reset, or the
power is turned off.
Download from Www.Somanuals.com. All Manuals Searc1h4A7nd Download.
GS H
VERSAJET
Programming Reference
[Name]
Select printing position of Human Readable Interpretation (HRI) characters
[Format]
ASCII
Hex
Decimal
GS H n
1D 48 n
29 72 n
[Range]
0 ≤ n ≤ 3, 48 ≤ n ≤ 51
n = 0
[Default]
[Description]
Selects whether the printer prints the HRI character or not and printing position of HRI
character when printing a bar code, using n as follows:
n
Printing Position
0, 48
1, 49
2, 50
3, 51
Not printed
Above the bar code
Below the bar code
Both above and below the bar code
[Notes]
ꢀ HRI characters are printed using the font specified by GS f.
ꢀ This command is effective until ESC @ is executed, the printer is reset, or the power is
turned off.
Download from Www.Somanuals.com. All Manuals Searc1h4A8nd Download.
GS I
VERSAJET
Programming Reference
[Name]
Transmit print IS
[Format]
ASCII
Hex
Decimal
GS I n
1D 49 n
29 73 n
[Range]
n = 65
[Default]
None
[Description]
Transmits printer information, using n as follows:
n
Printer ID
65
Firmware version
[Notes]
ꢀ With a serial interface printer, be sure to use this function when the host can receive
data.
ꢀ With a parallel interface printer, data sent with this command is temporarily stored in the
printer send buffer like other transmitted data. When the host goes into reverse mode,
the printer then sends the data sequentially from the beginning of the send buffer.
Download from Www.Somanuals.com. All Manuals Searc1h4A9nd Download.
GS L
VERSAJET
Programming Reference
[Name]
Set left margin
[Format]
ASCII
Hex
Decimal
GS L nL nH
1D 4C nL nH
29 76 nL nH
[Range]
0≦ (nL + nH x 256) ≦ 65535 (0≦nL≦255, 0≦nH≦255)
(nL + nH x 256) = 0 (nL = 0, nH = 0)
[Default]
[Description]
In standard mode, sets the left margin to (nL + nH x256) x (horizontal motion unit) from the
left edge of the printable area.
[Notes]
ꢀ When standard mode is selected, this command is enabled only when processed at the
beginning of the line.
ꢀ The left margin has no effect in page mode. If this command is processed in page mode,
the left margin is set and it is enabled when the printer returns to standard mode.
ꢀ If the setting exceeds the printable area, the left margin is automatically set to the
maximum value of the printable area.
ꢀ If this command and GS W set the printing area width to less than the width of one
character, the printing area width is extended to accommodate one character for the line.
ꢀ Horizontal motion unit is used.
ꢀ If horizontal motion unit is changed after changing left margin, left margin setting is not
changed.
Download from Www.Somanuals.com. All Manuals Searc1h5A0nd Download.
VERSAJET
Programming Reference
ꢀ Left margin setting is effective until ESC @ is executed, the printer is reset, or the power
is turned off.
ꢀ Left margin position is left edge of the printable area. If left margin setting is changed, left
edge of the printable area will move.
Download from Www.Somanuals.com. All Manuals Searc1h5A1nd Download.
GS P
VERSAJET
Programming Reference
[Name]
Set horizontal and vertical motion units
[Format]
ASCII
Hex
Decimal
GS P x y
1D 50 x y
29 80 x y
[Range]
0 ≤ x ≤ 255, 0 ≤ y ≤ 255
[Default]
x = 203, y = 203
[Description]
Sets the horizontal and vertical motion units to 1/x and 1/y inch, respectively.
ꢀ When x = 0, the default setting of the horizontal value is used.
ꢀ When y = 0, the default setting of the vertical value is used.
[Notes]
ꢀ The horizontal direction is perpendicular to the paper feed direction and the vertical
direction is the paper feed direction.
ꢀ The horizontal and vertical motion units indicate the minimum pitch used for calculating
the values of related commands.
ꢀ In standard mode, the following commands use x or y.
ꢁ Commands using x: ESC SP, ESC $, ESC \, GS L, and GS W.
ꢁ Commands using y: ESC 3, ESC J
ꢀ In page mode, the following commands use x or y, when the starting position is set to
the upper left or lower right of the printing area using ESC T.
ꢁ Commands using x: ESC 3, ESC J, ESC W, GS $, and GS \
ꢁ Commands using y: ESC SP, ESC $, ESC W, ESC \
Download from Www.Somanuals.com. All Manuals Searc1h5A2nd Download.
VERSAJET
Programming Reference
ꢀ The setting of this command is effective until ESC @ is executed, the printer is reset, or
the power is turned off.
ꢀ The calculated result from combining this command with others is truncated to the
minimum value of the mechanical pitch.
ꢀ This command does not affect the current setting values.
Download from Www.Somanuals.com. All Manuals Searc1h5A3nd Download.
GS W
VERSAJET
Programming Reference
[Name]
Set printable area width
[Format]
ASCII
Hex
Decimal
GS W nL nH
1D 57 nL nH
29 87 nL nH
[Range]
0≦ (nL + nH x 256) ≦ 65535 (0≦nL≦255, 0≦nH≦255)
nL = 0, nH = 0
[Default]
[Description]
[Notes]
In standard mode, sets the printable area width to (nL + nH x256) x (horizontal motion unit).
ꢀ When standard mode is selected, this command is enabled only when processed at the
beginning of the line.
ꢀ The left margin has no effect in page mode. If this command is processed in page mode,
the left margin is set and it is enabled when the printer returns to standard mode.
ꢀ If the [left margin + printable area width] exceeds the printable area, the printable area
width is automatically set to [printable area – left margin].
ꢀ If this command and GS L set the printing area width to less than the width of one
character, the printing area width is extended to accommodate one character for the line.
ꢀ Horizontal motion unit is used.
ꢀ If horizontal motion unit is changed after setting the printable area width, the printable
area width setting will not be changed.
ꢀ Printable area width setting is effective until ESC @ is executed, the printer is reset, or
the power is turned off.
Download from Www.Somanuals.com. All Manuals Searc1h5A4nd Download.
GS \
VERSAJET
Programming Reference
[Name]
Set relative vertical print position in page mode
[Format]
ASCII
Hex
Decimal
GS \ nL nH
1D 5C nL nH
29 92 nL nH
[Range]
0≦nL≦255, 0≦nH≦255
[Default]
None
[Description]
In page mode, moves the vertical printing starting position to (nL + nH x256) x (horizontal or
vertical motion unit) from the current position.
[Notes]
ꢀ This command is only enabled in page mode. If this command is processed in standard
mode, it is ignored.
ꢀ The printer ignores any setting that exceeds the printing area set by ESC W.
ꢀ The horizontal or vertical motion unit is used for the print direction set by ESC T.
ꢁ When the starting position is set to the upper left or lower right of the printing area
using ESC T, the vertical motion unit is used.
ꢁ When the starting position is set to the upper right or lower left of the printing area
using ESC T, the horizontal motion unit is used.
ꢁ Even if the vertical or horizontal motion unit is changed after changing the printing
position, the setting of the printing position will not be changed.
Download from Www.Somanuals.com. All Manuals Searc1h5A5nd Download.
GS c
VERSAJET
Programming Reference
[Name]
Print counter
[Format]
ASCII
Hex
Decimal
GS c
1D 63
29 99
[Range]
None
None
[Default]
[Description]
Sets the serial counter value in the print buffer and increments or decrements the counter
value.
[Notes]
ꢀ After setting the current counter value in the print buffer as print data (a character string),
the printer updates counter value based on the count mode set.
ꢁ In count-up mode, the counter value is updated as [counter value + increase and
decrease value].
ꢁ In count-down mode, the counter value is updated as [counter value – increase and
decrease value].
ꢁ In count-stop mode, the counter value is not updated.
ꢀ In count-up mode, if the counter value is the maximum of the specified counter value, it
is forced to convert to the minimum value by this command.
ꢀ In count-down mode, if the counter value is the minimum of the specified counter value,
it is forced to convert to the maximum value by this command.
ꢀ The counter print mode is set by GS C 0.
Download from Www.Somanuals.com. All Manuals Searc1h5A6nd Download.
VERSAJET
Programming Reference
ꢀ The counter mode (count-up, count-down, count-stop) and details of counter (maximum
value, minimum value, stepping amount of incrementing or decrementing of a counter
value, the repetition number of printing) are set by GS C 1.
ꢀ The counter value is set by GS C 2.
Download from Www.Somanuals.com. All Manuals Searc1h5A7nd Download.
GS f
VERSAJET
Programming Reference
[Name]
Select font for HRI characters
[Format]
ASCII
Hex
Decimal
GS f n
1D 66 n
29 102 n
[Range]
n = 0, 1, 48, 49
n = 0
[Default]
[Description]
Selects a font for Human Readable Interpretation (HRI) characters when printing a bar code,
using n as follows:
n
Font of HRI characters
0, 48
1, 49
Font A
Font B
[Notes]
ꢀ The font set by this command is only effective for HRI characters.
ꢀ HRI characters are printed at the position specified by GS H.
ꢀ HRI character is Human Readable Interpretation character indicated with bar code.
Download from Www.Somanuals.com. All Manuals Searc1h5A8nd Download.
GS h
VERSAJET
Programming Reference
[Name]
Set bar code height
[Format]
ASCII
Hex
Decimal
GS h n
1D 68 n
29 104 n
[Range]
1 ≤ n ≤ 255
n = 162
[Default]
[Description]
Sets the height of a bar code. n specifies number of dots in the vertical direction of a bar
code.
[Notes]
This command setting is effective until ESC @ is executed, the printer is reset, or the power
is turned off.
Download from Www.Somanuals.com. All Manuals Searc1h5A9nd Download.
GS k
VERSAJET
Programming Reference
[Name]
Print bar code
[Format]
I. ASCII
Hex
GS k m d1… dk NULL
1D 6B m d1… dk NULL
29 107 m d1… dk NULL
Decimal
II. ASCII
Hex
GS k m n d1… dn
1D 6B m n d1… dn
29 107 m n d1… dn
Decimal
[Range]
I. 0 ≤ m ≤ 6 (k and d depend on the bar code system used)
II. 65 ≤ m ≤ 73 (n and d depend on the bar code system used)
[Default]
n = 162
[Description]
Selects a bar code system and prints the bar code.
ꢀ k of (1) indicates the number of the bar code data to be printed. k does not need to be
sent.
ꢀ n of (2) indicates the number of the bar code data.
ꢀ d indicates the character code of the bar code data to be printed.
ꢀ m specifies a bar code system as follows (“sp” in the table indicates space).
Download from Www.Somanuals.com. All Manuals Searc1h6A0nd Download.
VERSAJET
Programming Reference
Bar code
system
Number of
data (k, n)
Number of
characters
m
Characters
Character code (d)
0
1
2
3
UPC-A
Fixed
11 ≤ k ≤12
0~9
0~9
0~9
0~9
48 ≤ d ≤ 57
UPC-E
Fixed
Fixed
Fixed
11 ≤ k ≤12
12 ≤ k ≤13
7 ≤ k ≤8
48 ≤ d ≤ 57
48 ≤ d ≤ 57
48 ≤ d ≤ 57
JAN13
(EAN13)
JAN8 (EAN8)
1
0~9, A~Z SP, $, %,
*, +, -, ., / *
(start/stop
character)
48 ≤ d ≤ 57, 65 ≤ d ≤ 90, d= 32,
36, 37, 42, 43, 45, 46, 47 d= 42
(start/stop character)
4
CODE39
Can be changed 1 ≤ k
ITF
(Interleaved 2
of 5)
CODABAR
(NW7)
1 ≤ k (even
number)
5
6
Can be changed
0~9
48 ≤ d ≤ 57
48 ≤ d ≤ 57, 65 ≤ d ≤ 68, d= 36,
43, 45, 46, 47, 58
Can be changed 1 ≤ k
0~9, A~D $, +, -, ., /,:
65 UPC-A
Fixed
Fixed
Fixed
Fixed
11 ≤ n ≤12
0~9
0~9
0~9
0~9
48 ≤ d ≤ 57
48 ≤ d ≤ 57
48 ≤ d ≤ 57
48≤ d ≤57
66 UPC-E
11 ≤ n ≤12
12 ≤ n ≤13
7 ≤ n ≤8
JAN13
67
(EAN13)
68 JAN8 (EAN8)
0~9, A~Z SP, $, %,
*, +, -, ., / *
48 ≤ d ≤ 57, 65 ≤ d ≤ 90, d= 32,
36, 37, 42, 43, 45, 46, 47 d= 42
(start/stop character)
2
69 CODE39
Can be changed 1 ≤ n ≤255
(start/stop
character)
ITF
1 ≤ n ≤255 (even
number)
70 (Interleaved 2
of 5)
Can be changed
0~9
48 ≤ d ≤ 57
CODABAR
(NW7)
0~9, A~D $, +, -, .,
/, :
48 ≤ d ≤ 57, 65 ≤ d ≤ 68, d= 36,
43, 45, 46, 47, 58
71
Can be changed 1 ≤ n ≤ 255
72 CODE93
73 CODE128
Can be changed 1 ≤ n ≤ 255
Can be changed 2 ≤ n ≤ 255
NUL~SP(7FH)
NUL~SP(7FH)
0 ≤ d ≤ 127
0 ≤ d ≤ 127
Download from Www.Somanuals.com. All Manuals Searc1h6A1nd Download.
VERSAJET
Programming Reference
[Notes]
For I and II
ꢀ When standard mode is selected, this command is enabled only when the printing
position is at the head of a line or when no data exists in the print buffer.
ꢀ When page mode is selected, this command develops the bar code data in the print
buffer but the printer does not print the bar code data.
ꢀ The bar code width that exceeds the printing area cannot be specified.
ꢀ This command feeds as much paper as is required to print the bar code, regardless of
the line spacing specified by line space setting commands.
ꢀ The bar code is not affected by print mode (emphasized, underline, or 90°
clockwise-rotated), except for upside-down printing mode.
ꢀ After bar code printing, the printing position moves to the left end of the printing area.
The printer enters the status of printing position at the head of a line or no data exists in
the print buffer.
ꢀ The values of m from 0 to 6 in 1and from 65 to 71 in 2select the same bar code
system, respectively. The printing results are the same.
ꢀ This command specifies m = 0 to 6 and ends with a NUL code.
ꢀ When an odd number of data is processed for ITF bar code system (m = 5), the printer
ignores the last received data.
ꢀ The printer processes n bytes from the next data as bar code data by this command
specifying m = 65 to 71.
ꢀ Printing area does not include quiet zone (left/right margin) of bar code. Make sure to
Download from Www.Somanuals.com. All Manuals Searc1h6A2nd Download.
VERSAJET
Programming Reference
For UPC-A (m = 0, 65) process
ꢀ Modular check character is processed as follows:
ꢁ Automatically added when processing data is 11 bytes.
ꢁ The 12th byte data is processed as a modular check character when processing data
is 12 bytes. In this case, modular check character is not checked.
ꢀ Left guard bar/center bar/right guard bar are added automatically.
For UPC-E (m = 1, 66) process
ꢀ The first data (d1) is processed as number system character (NSC) so 0 must be
specified.
ꢀ If n is out of the specified range or if n is an odd number when ITF bar code system (m =
70) is selected, this command is canceled and the following data is processed as normal
data.
ꢀ Modular check character is processed as follows:
ꢁ Automatically added when processing data is 11 bytes.
ꢁ The 12th byte data is processed as a modular check character when processing data
is 12 bytes. In this case, modular check character is not checked.
ꢁ Modular check characters are data to decide bar code pattern, they are not included
printing data.
Download from Www.Somanuals.com. All Manuals Searc1h6A3nd Download.
VERSAJET
Programming Reference
ꢀ Prints a 6-column short code from 10 digit (d2.d11) except NSC and modular check
characters.
Data of transmitted by host PC
Printing data
d2 d3 d4 d5 d6 d7 d8 d9 d10 d11
0~9 0~9
0~9 0~9
0~9 0~9
0
1
2
0
0
0
0
0
0
0
0
0
-
-
-
-
-
-
-
-
-
-
-
-
0~9 0~9 0~9 d2 d3 d9 d10 d11
0~9 0~9 0~9 d2 d3 d9 d10 d11
0~9 0~9 0~9 d2 d3 d9 d10 d11
0
1
2
3
4
0~9 0~9 3~9
-
-
-
0~9 0~9 d2 d3 d4 d10 d11
0~9 0~9 0~9 1~9
-
-
0~9 d2 d3 d4 d5 d11
0~9 0~9 0~9 0~9 1~9
5~9 d2 d3 d4 d5 d6 d11
*
*
Specify 0 at indicated data by "-" in the table.
When 1 ≤ d6 ≤ 9, be sure to specify (5 ≤ d11 ≤9).
ꢀ Left guard bar/right guard bar are added automatically.
For JAN13/EAN13 (m = 2, 67) process
ꢀ Modular check character is processed as follows:
ꢁ Automatically added when processing data is 13 bytes.
ꢁ The 13th byte data is processed as a modular check character when processing data
is 13 bytes. In this case, modular check character is not checked.
ꢀ Left guard bar/center bar/right guard bar are added automatically.
Download from Www.Somanuals.com. All Manuals Searc1h6A4nd Download.
VERSAJET
Programming Reference
For JAN8/EAN8 (m = 3, 68) process
ꢀ Modular check character is processed as follows:
ꢁ Automatically added when processing data is 7 bytes.
ꢁ The 8th byte data is processed as a modular check character when processing data
is 8 bytes. In this case, modular check character is not checked.
ꢀ Left guard bar/center bar/right guard bar are added automatically.
For CODE39 (m = 4, 69) process
ꢀ The printer processes the start code (ASCII = */ Hex = 2Ah/Decimal = 42) as follows:
ꢁ When the first bar code (d1) is “*”, the printer processes the data as a first character.
ꢁ If the first bar code (d1) is not “*”, the printer adds a start character (*) automatically.
ꢀ The printer processes the start code (ASCII = */ Hex = 2Ah/Decimal = 42) as follows:
ꢁ When the last bar code (dk or dn) is “*”, the printer processes the data as a last
character.
ꢁ If the last bar code (dk or dn) is not “*”, the printer adds a last character (*)
automatically.
ꢁ When “*” is processed during bar code data processing, the printer processes “*” as a
stop character. The printer prints data preceding “*” and finishes command
processing. Therefore, data following “*” are processed as normal data.
ꢀ Check digits are not calculated and added.
Download from Www.Somanuals.com. All Manuals Searc1h6A5nd Download.
VERSAJET
Programming Reference
For ITF (Interleaved 2 of 5) (m = 5, 70) process
ꢀ Start code and stop code are added automatically.
ꢀ Check digits are not calculated and added.
For CODEBAR (NW-7) (m = 6, 71) process
ꢀ Start code and stop code are not added automatically. Transmit data including the
codes.
ꢁ Specify the start code (ASCII = “A“ ~ “D,” / Hex = 41H ~ 44H, / Decimal = 65 ~ 68) at
beginning of the data (d1).
ꢁ Specify the stop code (ASCII = “A“ ~ “D,” / Hex = 41H ~ 44H, / Decimal = 65 ~ 68) at
end of the data (dk or dn).
ꢁ Start code or stop code (ASCII = “A“ ~ “D,” / Hex = 41H ~ 44H, / Decimal = 65 ~ 68)
cannot be specified in bar code data.
ꢀ Check digits are not calculated and added.
For CODE93 (m = 72) process
ꢀ Start code and stop code are added automatically.
ꢀ Check digits (2 character) are calculated and added automatically.
ꢀ Special character HRI is processed as follows:
ꢁ The printer prints an HRI character " " as start and stop character.
ꢁ The printer prints HRI characters "■ + an alphabetic character" as a control character
(unprinted character).
Download from Www.Somanuals.com. All Manuals Searc1h6A6nd Download.
VERSAJET
Programming Reference
For CODE128 ( m = 73) process
ꢀ Make sure to specify start character. The start character must be code set selection
character (any of CODE A, CODE B, or CODE C) which selects the first code set.
ꢀ Stop character is added automatically.
ꢀ In CODE A, following data can be used.
ꢁ Character data: It is specified by ASCII code [in hexadecimal: 20H ~ 5FH in decimal:
32~95]
ꢁ Control character data: It is specified by ASCII code [in hexadecimal: 00H ~ 1FH / in
decimal: 0~31]
ꢁ Special character data: (FNC 1, FNC 2, FNC 3, FNC 4, SHIFT, CODE B, CODE C):It
is specified “{+ character code" as 2 byte. (It is described separately.)
ꢀ In CODE B, following data can be used.
ꢁ Character data: It is specified by ASCII code [in hexadecimal: 20H ~ 7FH / in decimal:
32~127] when specify "{", transmit “{{“ as 2 byte data (It is described separately).
ꢁ Special character data: (FNC 1, FNC 2, FNC 3, FNC 4, SHIFT, CODE A, CODE C): It
is specified “{+ character code" as 2 byte. (It is described separately).
ꢀ In CODE C, following data can be used.
ꢁ Numerical data: It is specified each 2 digit as 1 byte by ASCII code
[in hexadecimal: 00H ~ 63H / in decimal: 0~99]
Example: When specify "012345", specify [in hexadecimal: 01H, 17H, 2DH / in
decimal: 1, 23, 45] as 3 byte.
ꢁ Special character data: (FNC 1, CODE A, CODE B): It is specified “{+ character
code" as 2 byte (It is described separately).
Download from Www.Somanuals.com. All Manuals Searc1h6A7nd Download.
VERSAJET
Programming Reference
ꢀ Special characters are defined by combining two characters "{+ an alphanumeric
character." The ASCII character "{" is defined by transmitting "{" twice consecutively.
Transmit data
Specific Character
ASCII
{S
Hex
7B, 53
7B, 41
7B, 42
7B, 43
7B, 31
7B, 32
7B, 33
7B, 34
7B, 7B
Decimal
123, 83
123, 65
123, 66
123, 67
123, 49
123, 50
123, 51
123, 52
123, 123
SHIFT
CODE A
CODE B
CODE C
FNC1
FNC2
FNC3
FNC4
{
{A
{B
{C
{1
{2
{3
{4
{{
ꢀ Check digit is calculated and added automatically.
ꢀ Special character HRI is processed as follows:
ꢁ The printer does not print HRI characters that correspond to the shift character or
code set selection character (CODE A, CODE B, or CODE C).
ꢁ HRI characters of the function characters (FNC1, FNC2, FNC3, or FNC4) and control
characters (00H to 1FH and 7FH) are printed as spaces.
Download from Www.Somanuals.com. All Manuals Searc1h6A8nd Download.
GS v 0
VERSAJET
Programming Reference
[Name]
Print raster bit image
[Format]
ASCII
Hex
Decimal
GS v 0 n xL xH yL yH d1 dk
1D 76 30 n xL xH yL yH d1 dk
29 118 48 n xL xH yL yH d1 dk
[Range]
0 ≤ n ≤ 3, 48 ≤ n ≤ 51
0 ≤ xL ≤ 255
0 ≤ xH ≤ 255
0 ≤ yL ≤ 255
0 ≤ yH ≤ 8
0 ≤ d ≤ 255
k = (xL + xH x 256) x (yL + yH x 256) (k ≠ 0)
[Default]
n = 0
[Description]
Selects raster bit-image mode. The value of n selects a mode from the table below:
n
Mode
Normal
0, 48
1, 49
2, 50
3, 51
Double-width
Double-height
Quadruple
ꢀ dpi: dots per inch(25.4mm)
ꢀ xL, xH select the number of data bytes (xL+xH x 256) in the horizontal direction for the
bit image.
ꢀ yL, yH select the number of data bytes (yL+yH x 256) in the vertical direction for the bit
image.
Download from Www.Somanuals.com. All Manuals Searc1h6A9nd Download.
VERSAJET
Programming Reference
[Notes]
ꢀ In standard mode, this command is effective only when there is no data in the print
buffer.
ꢀ This command has no effect in the print modes (emphasized, double-strike, underline,
character size, or white/black reverse printing) for raster bit image.
ꢀ If the printing area width set by GS L and GS W is less than the minimum width, the
printing area is extended to the minimum width only on the line in question. The
minimum width means 1 dot in normal (n=0, 48) and double-height (n=2, 50), 2 dots in
double-width (n=1, 49) and quadruple (n=3, 51) modes.
ꢀ Data outside the printing area is read in and discarded on a dot-by-dot basis.
ꢀ The position at which subsequent characters are to be printed for raster bit image is
specified by HT (Horizontal Tab), ESC $(Set absolute print position), ESC \(Set relative
print position), and GS L (Set left margin). If the position at which subsequent characters
are to be printed is not a multiple of 8, print speed may decline.
ꢀ The ESC a (Select justification) setting is also effective on raster bit images.
ꢀ When this command is received during macro definition, the printer ends macro
definition, and begins performing this command. The definition of this command should
be cleared.
Download from Www.Somanuals.com. All Manuals Searc1h7A0nd Download.
GS w
VERSAJET
Programming Reference
[Name]
Set bar code width
[Format]
ASCII
Hex
Decimal
GS w n
1D 77 n
29 119 n
[Range]
1 ≤ n ≤ 6
n = 2
[Default]
[Description]
[Notes]
Sets the horizontal size of a bar code. n specifies the bar code module width.
This command setting is effective until ESC @ is executed, the printer is reset, or the power
is turned off.
Download from Www.Somanuals.com. All Manuals Searc1h7A1nd Download.
RS A
VERSAJET
Programming Reference
[Name]
Label length measurement
[Format]
ASCII
Hex
Decimal
RS A
1E 41
30 65
[Range]
None
None
[Default]
[Description]
Label Length Measurement
[Notes]
ꢀ When processing the automatic measurement of the label length, the printer feeds the
current roll paper to measure the label length. During this time, the printer does print.
After the measuring, it writes the length of label from the measuring to the non-volatile
memory. Please note the following points when you use this function.
ꢀ The printer may be BUSY when storing data and will not receive any data. In this case,
be sure not to transmit data from the host.
ꢀ Excessive use of this function may destroy the non-volatile memory. As a guideline, do
not use this command more than 10 times per day for writing data to the non-volatile
memory.
Download from Www.Somanuals.com. All Manuals Searc1h7A2nd Download.
RS B
VERSAJET
Programming Reference
[Name]
Restore factory default
[Format]
ASCII
Hex
Decimal
RS B
1E 42
30 66
[Range]
None
None
[Default]
[Description]
Restore Factory Default.
[Notes]
ꢀ This command will reset the setting values of commands stored in the volatile memory.
ꢀ Therefore, the printer buffer is cleared, and each setting returns to the default value.
ꢀ The printer goes BUSY while this command is executed. In this case, be sure not to
transmit data from the host.
ꢀ Excessive use of this function may destroy the non-volatile memory. As a guideline, do
not use this command more than 10 times per day for writing data to the non-volatile
memory.
Download from Www.Somanuals.com. All Manuals Searc1h7A3nd Download.
RS E
VERSAJET
Programming Reference
[Name]
Clear buffer
[Format]
ASCII
Hex
Decimal
RS E
1E 45
30 69
[Range]
None
[Default]
None
[Description]
Clear buffer
[Notes]
ꢀ If this command is sent while another command is processing, processing of the other
command is canceled.
ꢀ This command does not change or initialize settings of other commands.
Download from Www.Somanuals.com. All Manuals Searc1h7A4nd Download.
RS F
VERSAJET
Programming Reference
[Name]
Remote power off
[Format]
ASCII
Hex
Decimal
RS F
1E 46
30 70
[Range]
None
None
[Default]
[Description]
Remote power off
[Notes]
ꢀ This is a real-time command that the printer executes power off processing upon
receiving it.
ꢀ All information and data stored in RAM will be deleted by processing this command.
Download from Www.Somanuals.com. All Manuals Searc1h7A5nd Download.
RS G
VERSAJET
Programming Reference
[Name]
Paper feed to TOF position
[Format]
ASCII
Hex
Decimal
RS G
1E 47
30 71
[Range]
None
None
[Default]
[Description]
Paper feed to TOF position.
[Description]
[Notes]
Paper feed to the print position specified by the paper length measurement is executed.
ꢀ Use this function by using “ the first state of the line”.
ꢀ This function is used when using label paper or black mark paper.
ꢀ The paper feed operation is ended when no paper is detected in the paper feed to the
print start position.
Download from Www.Somanuals.com. All Manuals Searc1h7A6nd Download.
RS J
VERSAJET
Programming Reference
[Name]
Rewind command (back feed)
[Format]
ASCII
Hex
Decimal
RS J
1E 4A n
30 74 n
n
[Range]
10 ≤ n ≤100, the unit is 0.1mm.
None
[Default]
[Description]
Rewind command (back feed)
[Notes]
ꢀ This command is used to make motor rewind.
ꢀ The paper feed back is ended when no paper is detected.
Download from Www.Somanuals.com. All Manuals Searc1h7A7nd Download.
RS L
VERSAJET
Programming Reference
[Name]
Print self-test
[Format]
ASCII
Hex
Decimal
RS L
1E 4C
30 76
[Range]
None
None
[Default]
[Description]
[Notes]
Executes a specified test print.
ꢀ If this command is processed while a macro is being defined, the printer cancels macro
definition and starts processing this command. At that time, the macro becomes
undefined.
Download from Www.Somanuals.com. All Manuals Searc1h7A8nd Download.
RS a
VERSAJET
Programming Reference
[Name]
Bit-map text format setting
[Format]
ASCII
Hex
Decimal
RS a n1 n2 n3 n4 n5
1E 61 n1 n2 n3 n4 n5
30 97 n1 n2 n3 n4 n5
[Range]
0 ≤ n1 ≤ 1 ; 0 ≤ n2 ≤ 2 ; 0 ≤ n3 ≤ 5 ; 0 ≤ n4 ≤ 255 ; 0 ≤ n5 ≤ 1
n1 = 0 , n2 = 0 , n3 = 0 , n4 = 0 , n5 = 0
[Default]
[Description]
Bit-map text format setting.
n1: Enable / Disable Bold
n1
0
1
Description
Disable bold
Enable bold
n2: Underline type
n2
Description
0
1
2
Disable
1 dot
2 dots
n3: Erase Line type
n3
Description
0
1
2
3
4
5
Disable
1 dot
2 dots
3 dots
4 dots
5 dots
Download from Www.Somanuals.com. All Manuals Searc1h7A9nd Download.
VERSAJET
Programming Reference
n4: Character Magnification setup
n5: Turn white/black reverse printing mode on/off
n5
0
1
Description
Disable bold
Enable bold
Download from Www.Somanuals.com. All Manuals Searc1h8A0nd Download.
RS e
VERSAJET
Programming Reference
[Name]
1D bar code generic setting
[Format]
ASCII
Hex
Decimal
RS e n1 n2 n3 n4
1E 65 n1 n2 n3 n4
30 101 n1 n2 n3 n4
[Range]
0 ≤ n1 ≤ 3 or 48 ≤ n1 ≤ 51 ; 0 ≤ n2 ≤ 1 or 48 ≤ n2 ≤ 49 ; 1 ≤ n3 ≤ 255 ; 1 ≤ n4 ≤ 6
n1 = 0 , n2 = 0 , n3 = 162 , n4 = 2
[Default]
[Description]
1D bar code generic setting.
n1: HRI position setup
n1
Description
0,48
1,49
2,50
3,51
Not printed
Above the bar code
Below the bar code
Both above and below the bar code
n2: HRI font setup
n2
Description
0,48
1,49
Font A(12x24)
Font B(9x24)
n3: Bar code height setup
n4: Bar code module width setup
Download from Www.Somanuals.com. All Manuals Searc1h8A1nd Download.
RS i
VERSAJET
Programming Reference
[Name]
Draw graphics
[Description]
Draw graphics specified by the function code fn.
fn: Graphic type
fn
0
1
Description
Line
Box
2
Circle
[Notes]
ꢀ This command decides the function according to the function code (fn). Performance of
the functions differs, depending on the function.
ꢀ This command is effective until ESC @ is executed, the printer is reset, or the power is
turned off.
Download from Www.Somanuals.com. All Manuals Searc1h8A2nd Download.
RS i <Function 0>
VERSAJET
Programming Reference
[Name]
Draw line
[Format]
ASCII
Hex
Decimal
RS i n1 x1L x1H y1L y1H x2L x2H y2L y2H w pL pH
1E 69 n1 x1L x1H y1L y1H x2L x2H y2L y2H w pL pH
30 105 n1 x1L x1H y1L y1H x2L x2H y2L y2H w pL pH
[Range]
n1 = 0 ; 0 ≤ x1L, x1H, y1L, y1H, x2L, x2H, y2L, y2H ≤ 255
0 ≤ w ≤ 255; 0 ≤ pL, pH ≤ 255
[Default]
None
[Description]
Draw line
x1L: Position x1(Low byte)
x1H: Position x1(High byte)
y1L: Position y1(Low byte)
y1H: Position y1(High byte)
x2L: Position x2(Low byte)
x2H: Position x2(High byte)
y2L: Position y2(Low byte)
y2H: Position y2(High byte)
w: Width(dots) of a line
pL: Line Pattern(Low byte)
pH: Line Pattern(High byte)
Download from Www.Somanuals.com. All Manuals Searc1h8A3nd Download.
VERSAJET
Programming Reference
[Notes]
ꢀ This command can draw lines of flexible length, thickness, and patterns.
ꢀ X1: x-coordinate of start position.
Y1: y-coordinate of start position.
X2: x-coordinate of end position.
Y2: y-coordinate of end position.
ꢀ The line pattern is repetition of 16 dots which defined by pL and pH.
pL and pH specifies “1” for corresponding to dots that will be printed and “0” for bits
corresponding to dots that will not be printed.
Download from Www.Somanuals.com. All Manuals Searc1h8A4nd Download.
RS i <Function 1>
VERSAJET
Programming Reference
[Name]
Draw box
[Format]
ASCII
Hex
Decimal
RS i n1 x1L x1H y1L y1H x2L x2H y2L y2H w pL pH
1E 69 n1 x1L x1H y1L y1H x2L x2H y2L y2H w pL pH
30 105 n1 x1L x1H y1L y1H x2L x2H y2L y2H w pL pH
[Range]
n1 = 1 ; 0 ≤ x1L, x1H, y1L, y1H, x2L, x2H, y2L, y2H ≤ 255
0 ≤ w ≤ 255; 0 ≤ pL, pH ≤ 255
[Default]
None
[Description]
Draw box
x1L: Position x1(Low byte)
x1H: Position x1(High byte)
y1L: Position y1(Low byte)
y1H: Position y1(High byte)
x2L: Position x2(Low byte)
x2H: Position x2(High byte)
y2L: Position y2(Low byte)
y2H: Position y2(High byte)
w: Width(dots) of a box
pL: Box Pattern(Low byte)
pH: Box Pattern(High byte)
[Notes]
ꢀ This command can draw boxes of flexible length, thickness and pattern.
ꢀ The box command produces rectangular shapes of specified line thickness.
Download from Www.Somanuals.com. All Manuals Searc1h8A5nd Download.
VERSAJET
Programming Reference
ꢀ For drawing box, (x1, y1) is coordinate of inner top left corner, (x2, y2) is coordinate of
inner bottom right corner.
For box pattern, using pL and pH as the followings:
pH=0
PL
Description
0
1
2
Black frame, white background
White frame, white background
White frame, black background
Download from Www.Somanuals.com. All Manuals Searc1h8A6nd Download.
RS i <Function 2>
VERSAJET
Programming Reference
[Name]
Draw circle
[Format]
ASCII
Hex
Decimal
RS i n1 x1L x1H y1L y1H x2L x2H y2L y2H w pL pH
1E 69 n1 x1L x1H y1L y1H x2L x2H y2L y2H w pL pH
30 105 n1 x1L x1H y1L y1H x2L x2H y2L y2H w pL pH
[Range]
n1 = 2 ; 0 ≤ x1L, x1H, y1L, y1H, x2L, x2H, y2L, y2H ≤ 255
0 ≤ w ≤ 255; 0 ≤ pL, pH ≤ 255
[Default]
None
[Description]
Draw circle
x1L: Center of circle, x1(Low byte)
x1H: Center of circle, x1(High byte)
y1L: Center of circle, y1(Low byte)
y1H: Center of circle, y1(High byte)
x2L: Radius(Low byte)
x2H: Radius(High byte)
y2L: Reserved
y2H: Reserved
w: Thickness(dots) of a circle.
pL: Circle Pattern(Low byte)
pH: Circle Pattern(High byte)
[Notes]
ꢀ If the diameter of a circle exceeds the printable area, this command is ignored.
Download from Www.Somanuals.com. All Manuals Searc1h8A7nd Download.
VERSAJET
Programming Reference
ꢀ
For box pattern, using pL and pH as the followings:
pH=0
PL
Description
0
1
2
3
4
Black frame, white background
White frame, black background
Filled with horizontal lines in the circle.
Filled with vertical lines in the circle.
Filled with cross in the circle.
Download from Www.Somanuals.com. All Manuals Searc1h8A8nd Download.
RS m
VERSAJET
Programming Reference
[Name]
Save *.bmp image into flash
[Format]
ASCII
Hex
Decimal
RS m n1 d1…..dk
1E 6D n1 d1…..dk
30 109 n1 d1…..dk
[Range]
1 ≤ n1 ≤ 4
[Default]
None
[Description]
(1) Save *.bmp image into flash.
(2) n1: ID no
(3) d1…..dk: image contents
(4) Max 16k ꢂ384(w)dots *336(h)dots
[Notes]
ꢀ This command can process “.BMP” graphics formatted images.
ꢀ The “.BMP” MUST be encoded as a black and white image.
ꢀ Execute a UltraEdit or WinHex software to load the ‘.BMP’ file, add this command before
image header.
Download from Www.Somanuals.com. All Manuals Searc1h8A9nd Download.
RS n
VERSAJET
Programming Reference
[Name]
Print *.bmp image
[Format]
ASCII
Hex
Decimal
RS n n1 n2
1E 6E n1 n2
30 110 n1 n2
[Range]
1 ≤ n1 ≤ 4 ; 0 ≤ n2 ≤ 2 or 48 ≤ n2 ≤ 50
[Default]
None
[Description]
(1) Print *.bmp image.
(2) n1: Image index no
(3) n2: Image magnification setup
n2
Description
0,48 Normal
1,49 Double-width
2,50 Double-height
3, 51 Quadruple
[Notes]
ꢀ This command is ignored if a downloaded bit image has not been defined.
ꢀ This command has no effect in the print modes (emphasized, double-strike, underline,
character size, or white/black reverse printing), except for upside-down printing mode.
ꢀ If the downloaded bit image to be printed exceeds the printable area, the excess data is not
printed.
Download from Www.Somanuals.com. All Manuals Searc1h9A0nd Download.
VERSAJET
Programming Reference
ꢀ If the printing area width set by GS L and GS W is less than one line in vertical, the
following processing is performed only on the line in question:
ꢀ The printing area width is extended to the right up to one line in vertical. In this case,
printing does not exceed the printable area.
ꢀ If the printing area width cannot be extended by one line in vertical, the left margin is
reduced to accommodate one line in vertical.
ꢀ This printing image is defined by RS m.
Download from Www.Somanuals.com. All Manuals Searc1h9A1nd Download.
RS p
VERSAJET
Programming Reference
[Name]
Set number of copies of printing data
[Format]
ASCII
Hex
Decimal
RS p n
1E 70 n
30 112 n
[Range]
1 ≤ n ≤ 255
[Default]
None
[Description]
Set number of copies of printing data.
[Notes]
ꢀ This command can process printing data from page buffer.
ꢀ This command will be ignored if there is no data in page buffer.
ꢀ This command setting is effective until ESC @ is executed, the printer is reset, or the
power is turned off.
Download from Www.Somanuals.com. All Manuals Searc1h9A2nd Download.
RS q
VERSAJET
Programming Reference
[Name]
Serialization setting
[Format]
ASCII
Hex
Decimal
RS q n1 n2 n3 n4 n5 n6 n7 d1…..dn7
1E 71 n1 n2 n3 n4 n5 n6 n7 d1…..dn7
30 113 n1 n2 n3 n4 n5 n6 n7 d1…..dn7
[Range]
1 ≤ n1 ≤ 8, 1 ≤ n2 ≤ 3, 0 ≤ n3 ≤ 1, 1 ≤ n4 ≤ 255, 1 ≤ n5 ≤ 255, 1 ≤ n6 ≤ 255
1 ≤ n7 ≤ 255
[Default]
None
[Description]
Serialization setting.
n1: ID no
n2: Domain
n2
Description
Alphabetic
1
2
3
Alphanumeric
Number
n3: Increment / Decrement
n3 Description
Increment
Decrement
0
1
n4: Repetition
n5: Stepping(low byte)
n6: Stepping(high byte)
n7: Number of data
d1…..dn7: Initial Data
Download from Www.Somanuals.com. All Manuals Searc1h9A3nd Download.
VERSAJET
Programming Reference
[Notes]
ꢀ This command allows three kinds of data, numeric, alphabetic and alphanumeric to be
used.
ꢁ
ꢁ
For numeric data, integers 0123456789 can be used.
For alphabetic data, capital letters A to Z can be used. Lowercase letters cannot be
used in a serial number.
ꢁ
For alphanumeric data allows both numeric and alphabetic data as a serial number.
Values change in the following character sequence:
ꢃ 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123….
ꢃ N3 specifies the serialization count up (increment) or down (decrement).
ꢃ N4 specifies printing copies of the same data.
ꢃ N5 and n6 set the serial number value. Specifies the serial value as (n5 + n6 x
256)
ꢃ N7 specifies how many digits within the serialization data.
ꢃ D1…dn7 are the starting data.
ꢃ Serialization number is printed by RS r command.
Download from Www.Somanuals.com. All Manuals Searc1h9A4nd Download.
RS r
VERSAJET
Programming Reference
[Name]
Print serialization
[Format]
ASCII
Hex
Decimal
RS r n1 n2
1E 72 n1 n2
30 114 n1 n2
[Range]
1 ≤ n1 ≤ 8, n2 = 1, 0x41~0x49
[Default]
None
[Description]
Print serialization.
n1: ID no
n2: Printing type
n2
0x01
Description
Text
0x41
0x42
0x43
0x44
0x45
0x46
0x47
0x48
0x49
UPC-A
UPC-E
EAN 13
EAN 8
CODE 39
ITF
CodaBar
CODE 93
CODE 128
Download from Www.Somanuals.com. All Manuals Searc1h9A5nd Download.
VERSAJET
Programming Reference
[Notes]
ꢀ After setting the current serialization value in the print buffer as print data, the printer
updates serialization value based on the count mode set before stored in the print buffer.
ꢁ
ꢁ
ꢁ
In count-up mode, the serialization value is updated as [serialization value +
increment value]
In count-down mode, the serialization value is updated as [serialization value –
decrement value].
In count-stop mode, the serialization is not updated.
ꢀ The serialization value in the print buffer is printed when the printer receives a print
command.
ꢀ All serialization settings should be adequate for text or bar code rules. If any improper
data is included, it will result as a command error.
ꢀ Serialization is set by RS q command.
Download from Www.Somanuals.com. All Manuals Searc1h9A6nd Download.
RS t
VERSAJET
Programming Reference
[Name]
Define flash macro
[Format]
ASCII
Hex
Decimal
RS t n d1…..dk
1E 74 n d1…..dk
30 116 n d1…..dk
[Range]
1 ≤ n ≤ 8
[Default]
None
[Description]
Define flash macro.
[Notes]
ꢀ Macro definition starts when this command is processed during normal operation and
ends when it is processed during macro definition.
ꢀ While the macro is defined, the printing is also executed.
ꢀ The maximum data size to be defined as a macro is 8 KB. If the macro definition
exceeds the maximum data size, this command will not be processed, and the LED1
indicator blinks red, the LED2 and LED3 indicators blink green, LED4 indicators blinks
red (means ‘Command Error’).
ꢀ The macro is executed by RS u.
ꢁ
ꢁ
If the printer processes this command, it will save the macro definition into flash.
The macro can be executed repeatedly after it is defined.
The defined contents of the macro are not cleared by ESC @.
Download from Www.Somanuals.com. All Manuals Searc1h9A7nd Download.
VERSAJET
Programming Reference
ꢀThe following commands cannot be contained in a macro. Do not use these commands
while the macro is being defined: FS q, GS ^, and GS v 0.
ꢀExcessive use of this function may destroy the non-volatile memory. As a guideline, do
not use this command more than 10 times per day for writing data to the non-volatile
memory.
Download from Www.Somanuals.com. All Manuals Searc1h9A8nd Download.
RS u
VERSAJET
Programming Reference
[Name]
Execute macro
[Format]
ASCII
Hex
Decimal
RS t n1 r t m
1E 75 n1 r t m
30 117 n1 r t m
[Range]
1 ≤ n1 ≤ 8, 1 ≤ r ≤ 255, 0 ≤ t ≤ 255, 0 ≤ m ≤ 2
[Default]
None
[Description]
Execute macro
n1: Macro index no
r: Number of execution
t: Interval of execution
m: Operation mode
n4
0
Description
Continuous
Feedkey
1
2
Present sensor
ꢀ Executes a macro r times while waiting t x 100 msec for each macro execution, using
the mode specified by m as follows:
ꢁ When m = 0, the macro executes r times continuously at the interval specified by t.
Download from Www.Somanuals.com. All Manuals Searc1h9A9nd Download.
VERSAJET
Programming Reference
ꢁ When m = 1, the printer waits for the period specified by t, blinks the LED, and then
waits for the paper feed button to be pressed. After this button is pressed, the printer
executes the macro once. The printer repeats this operation r times.
ꢁ When m = 2, the printer prints the first page, stops and waits for taking one page.
The printer prints the next page when user takes one page.
[Notes]
ꢀ If a macro is not defined or if r is 0, this command is ignored.
ꢀ Macro is not defined when the power is turned on.
ꢀ This command cannot be contained in the macro. Do not use this command when the
macro is defined.
ꢀ The flash macro is defined by RS t.
ꢀ Macro function is useful to print the same data repeatedly.
Download from Www.Somanuals.com. All Manuals Searc2h0A0nd Download.
US 1
VERSAJET
Programming Reference
[Name]
Top of Form Control
[Format]
ASCII
Hex
Decimal
US 1 n
1F 31 n
31 49 n
[Range]
0 ≤ n ≤ 1
[Default]
n = 1
[Description]
Enable/Disable TOF when power on (page mode only)
n
Description
0
1
Disable
Enable
[Notes]
ꢀThis command is ignored in line mode.
ꢀThis function is used when using label paper or black mark paper.
ꢀWhen the setting is disabled, printer does not feed one page when the printer is turned
power on.
ꢀWhen the setting is enabled, printer feed one page when the printer is turned power on.
Download from Www.Somanuals.com. All Manuals Searc2h0A1nd Download.
US 2
VERSAJET
Programming Reference
[Name]
Top of Form Offset Setting
[Format]
ASCII
Hex
Decimal
US 2 n1 n2
1F 32 n1 n2
31 50 n1 n2
[Range]
0 ≤ n1 ≤ 1, 0 ≤ n2 ≤ 100 (unit is 0.1 mm)
n1 = 0, n2 = 0
[Default]
[Description]
Adjusts printing position in a selected direction and by a specified amount from the first
position.
ꢀ n1 specifies the adjustment direction as follows:
ꢁ When the LSB of n1 is “0”(forward), the position is added the offset value.
ꢁ When the LSB of n1 is “1”(backward), the position is from the first printing position
back the distance of the offset value.
ꢀ n2 specifies the adjustment amount.
[Notes]
ꢀ When executing this command, the paper is fed to adjust the print starting position of the
current label.
ꢀ Offset amount when the print starting position is out of the label cannot be specified.
Download from Www.Somanuals.com. All Manuals Searc2h0A2nd Download.
US 3
VERSAJET
Programming Reference
[Name]
Auto tear-off control
[Format]
ASCII
Hex
Decimal
US 3 n
1F 33 n
31 51 n
[Range]
0≤ n ≤1
n = 0
[Default]
[Description]
Disable/Enable the paper-tearing position of the label under page mode by using auto
tear-off setup.
n
Function
Disable.
Motor will not move back
0
Enable.
Motor will move back and forward to locate
the tearing position of the label in the label
gap. The paper will be fed back to the next
printing position and start printing when
you execute the next print.
1
Download from Www.Somanuals.com. All Manuals Searc2h0A3nd Download.
US 4
VERSAJET
Programming Reference
[Name]
Auto Tear-off offset setting
[Format]
ASCII
Hex
Decimal
US 4 n1 n2
1F 34 n1 n2
31 52 n1 n2
[Range]
n1 = 0, 0 ≤ n2 ≤ 100 (unit is 0.1mm)
n1 = 0, n2 = 0
[Default]
[Description]
Auto Tear-off offset setting.
ꢀ n1 specifies the adjustment direction as follows:
ꢁ When the LSB of n1 is “0”(Forward), the position is added the offset value.
ꢁ n1 is a fixed value, “0”. For the mechanical reason, the direction should be forward.
ꢀ n2 specifies the adjustment amount.
Download from Www.Somanuals.com. All Manuals Searc2h0A4nd Download.
US 7
VERSAJET
Programming Reference
[Name]
Paper sensor setting
[Format]
ASCII
Hex
Decimal
US 7 n1 n2
1F 37 n1 n2
31 55 n1 n2
[Range]
0 ≤ n1 ≤ 1, 0 ≤ n2 ≤ 1
n1 = 1, n2 = 1
[Default]
[Description]
Paper sensor setting.
n1: Sensor selection
n1
Description
0
1
Interruptive sensor
Reflective sensor
n2: Sensor direction
n2 Description
0
1
Light from top to bottom
Light from bottom to top
Download from Www.Somanuals.com. All Manuals Searc2h0A5nd Download.
US A
VERSAJET
Programming Reference
[Name]
RS232 Setting
[Format]
ASCII
Hex
Decimal
US A n1 n2 n3 n4 n5
1F 41 n1 n2 n3 n4 n5
31 65 n1 n2 n3 n4 n5
[Range]
0 ≤ n1 ≤ 3, 0 ≤ n2 ≤ 1, 0 ≤ n3 ≤ 2, 0 ≤ n4 ≤ 1, 0 ≤ n5 ≤ 1
n1 = 0, n2 = 0, n3 = 0, n4 = 0, n5 = 0
RS232 Setting
[Default]
[Description]
n1: Baud rate
n1
Description
0
1
2
3
9600
19200
38400
115200
n2: Data length
n2
Description
Description
0
8 bit
7 bit
1
n3: Parity
n3
0
1
2
None
Even
Odd
Download from Www.Somanuals.com. All Manuals Searc2h0A6nd Download.
VERSAJET
Programming Reference
n4: Stop bit
n4
Description
Description
0
1 bit
2 bit
1
n5: Flow control
n5
0
RTS / CTS
Xon / Xoff
1
Download from Www.Somanuals.com. All Manuals Searc2h0A7nd Download.
US C
VERSAJET
Programming Reference
[Name]
Bluetooth setting
[Format]
ASCII
Hex
Decimal
US C n2 n3 d11…..d1k 00 d21…..d2k 00
1F 43 n2 n3 d11…..d1k 00 d21…..d2k 00
31 67 n2 n3 d11…..d1k 00 d21…..d2k 00
[Range]
0 ≤ n2 ≤ 2, 0 ≤n3 ≤ 1
1 ≤ d1k ≤ 8, 1 ≤ d2k ≤ 15
[Default]
n2 = 0, n3 = 0, d11…..d1k (PIN Code) = ‘00000000’
d21…..d2k (Device Name) = Model name + last 4 bytes BT Address
[Description]
Bluetooth Setting
n2: Profile
n2
Description
0
SPP
n3: Authentication
n3 Description
0
1
Disable
Enable
Download from Www.Somanuals.com. All Manuals Searc2h0A8nd Download.
US G
VERSAJET
Programming Reference
[Name]
Buzzer control
[Format]
ASCII
Hex
Decimal
US G n
1F 47 n
31 71 n
[Range]
0≤ n ≤255
n = 255
[Default]
[Description]
Turn buzzer on/off, using n as follows:
Bit
0
Function
Off/On
Hex
Decimal
Disable Power on/off beep
Enable Power on/off beep
Disable Battery-low on/off beep
Enable Battery-low beep
Disable error beep
Enable error beep
Disable radio link beep
Enable radio link beep
Off
On
Off
On
Off
On
Off
On
Off
00
01
00
02
00
04
00
08
00
0
1
0
2
0
4
0
8
0
1
2
3
4~7 Reserved
Download from Www.Somanuals.com. All Manuals Searc2h0A9nd Download.
US H
VERSAJET
Programming Reference
[Name]
Auto power off duration setting
[Format]
ASCII
Hex
Decimal
US H n1 n2
1F 48 n1 n2
31 72 n1 n2
[Range]
0 ≤ n1 ≤ 255, 0 ≤ n2 ≤ 255
n1 = 01, n2 = 04
[Default]
[Description]
Auto power off duration setting.
ꢀ n1 : If the power is on, and the printer has had no action for n1 x 5 minutes, then the
printer will be automatically off.
ꢀ n2 : If the radio connection is on, and the printer has had no action for n2 x 5 minutes,
then the printer will be automatically off.
Download from Www.Somanuals.com. All Manuals Searc2h1A0nd Download.
US I
VERSAJET
Programming Reference
[Name]
Set printing intensity (darkness)
[Format]
ASCII
Hex
Decimal
US I n
1F 49 n
31 73 n
[Range]
0≤ n ≤15
n = 8
[Default]
[Description]
Set printing intensity (darkness).
[Notes]
ꢀ When a standard mode is selected, all the data in a line is printed in the same density.
ꢀ When a page mode is selected, all the data printed collectively by FF or ESC FF is
printed in the same density.
211
Download from Www.Somanuals.com. All Manuals Search And Download.
US J
VERSAJET
Programming Reference
[Name]
Automatic status feedback
[Format]
ASCII
Hex
Decimal
US J n
1F 4A n
31 74 n
[Range]
0≤ n ≤1
n = 1
[Default]
[Description]
Automatic status feedback.
n: Enable/Disable
n
Description
0
1
Disable
Enable
[Notes]
ꢀ Automatic status feedback is the function that transmit the status from the printer
automatically.
ꢀ When n = 0, this function is disabled, the printer does not transmit status automatically.
ꢀ The printer returns status when receives status request command US r.
ꢀ When n = 1, this function is enabled, the printer transmit error status automatically when
error happened.
Download from Www.Somanuals.com. All Manuals Searc2h1A2nd Download.
US K
VERSAJET
Programming Reference
[Name]
Default operation mode setup
[Format]
ASCII
Hex
Decimal
US K n
1F 4B n
31 75 n
[Range]
0≤ n ≤1
n = 1
[Default]
[Description]
Default Operation Mode setup.
n: Enable/Disable
n
Description
Page mode
Line mode
0
1
Download from Www.Somanuals.com. All Manuals Searc2h1A3nd Download.
US L
VERSAJET
Programming Reference
[Name]
Feed key control
[Format]
ASCII
Hex
Decimal
US L n
1F 4C n
31 76 n
[Range]
0 ≤ n ≤ 1
n = 0
[Default]
[Description]
Feed key control. (line mode only)
n: Enable/Disable
n
Description
Feed one line
Feed one page
0
1
[Notes]
ꢀ This command is ignored in page mode.
ꢀ When n = 0, press ‘Feed’ button, the printer feeds one line.
ꢀ When n = 1, press ‘Feed’ button, the printer feeds one page. This function is used when
using label paper or black mark paper.
Download from Www.Somanuals.com. All Manuals Searc2h1A4nd Download.
US M
VERSAJET
Programming Reference
[Name]
Panel buttons control
[Format]
ASCII
Hex
Decimal
US M n
1F 4D n
31 77 n
[Range]
0 ≤ n ≤ 255
n = 3
[Default]
[Description]
Panel Buttons Control.
n: Enable/Disable
Bit
Function
Off/On
Hex
Decimal
Disable Power
Enable Power
Disable Feed
Enable Feed
Off
On
Off
On
00
01
00
02
0
1
0
2
0
1
Reserved
Reserved
0
0
2~7
[Notes]
ꢀ To prevent problems caused by an accidentally pressing the buttons, use this
command to disable the button.
Download from Www.Somanuals.com. All Manuals Searc2h1A5nd Download.
US a
VERSAJET
Programming Reference
[Name]
Get RS232 configurations
[Format]
ASCII
Hex
Decimal
US a
1F 61
31 97
[Return value]
[Description]
Function Length(Byte)
Value
Start byte
Contents
End byte
1
1
1
0x5F
0~255
0x00
Get RS232 configurations.
Contents:
Bit
Function
Value (Hex)
0x00: RTS/CTS
0x01: XON/Xoff
0
Flow control
0x00: 1bit
0x01: 2bit
1
Stop Bit
0x00: None
0x01: Even
0x02: Odd
2~3 Parity
0x00: 7 bit
0x01: 8 bit
4
Data Length
0x00: 9600
0x01: 19200
0x02: 38400
0x03: 115200
5~6 Baud rate
Reserved
7
Reserved
Download from Www.Somanuals.com. All Manuals Searc2h1A6nd Download.
VERSAJET
Programming Reference
[Notes]
ꢀ This is a real-time command that the printer executes upon receiving it.
ꢀ The printer returns 3 bytes, the first and third bytes are fixed values. Make sure the host
computer can receive data from receiving buffer.
Download from Www.Somanuals.com. All Manuals Searc2h1A7nd Download.
US c
VERSAJET
Programming Reference
[Name]
Get Bluetooth configurations
[Format]
ASCII
Hex
Decimal
US c
1F 63
31 99
[Return value]
Function
Start Byte
Length (Byte)
Value
1
0x5F
Enable/Disable 1
Bluetooth
Reserve
Profile
1
0x00: SPP
0x00: Disable
Authentication 1
0x01: Enable
PIN Code
Device Name 15
End Byte
8
0x20~0x7E + 0x00 (Null)
0x20~0x7E + 0x00 (Null)
0x00
1
[Description]
[Notes]
Get Bluetooth Configurations.
ꢀ This is a real-time command that the printer executes upon receiving it.
ꢀ The printer returns 28 bytes, the first and last bytes are fixed values. Make sure the host
computer can receive data from receiving buffer.
ꢀ The return value of PIN code is a fixed length of 8 bytes, filled with char 0x00(Null) for
remaining bytes if the length of real data is smaller than 8.
Download from Www.Somanuals.com. All Manuals Searc2h1A8nd Download.
VERSAJET
Programming Reference
ꢀ The return value of device name is a fixed length of 15 bytes, filled with char 0x00(Null)
for remaining bytes if the length of real data is smaller than 15.
Download from Www.Somanuals.com. All Manuals Searc2h1A9nd Download.
US g
VERSAJET
Programming Reference
[Name]
Get printer configuration
[Format]
ASCII
Hex
Decimal
US g
1F 67
31 103
[Return value]
Function
Bytes
Value
Start Byte
Buzzer
1
0x5F
1
0x00: Disable all
0xFF: Enable all
0x00: Page mode
0x01: Line mode
Operation Mode
1
Top Of Form Offset Value 1
Offset Direction
Bit 7 : (0: +) / (1: -)
Bit 0~6 : 0x00~0x7F
0x00: Disable
Offset Value
Top Of Form Control
Auto Tear Off Control
1
1
0x01: Enable
0x00: Disable
0x01: Enable
Auto Tear-off Offset Value 1
Offset Direction
Bit 7 : (0: +) / (1: -)
Bit 0~6 : 0x00~0x7F
Offset Value
Reserved
1
1
1
Reserved
Paper Sensor Setting
0x00: Transmissive, Light from bottom to top
0x01: Reflective, Light from top to bottom
0x04: Transmissive, top to bottom
Download from Www.Somanuals.com. All Manuals Searc2h2A0nd Download.
0x05: Reflective bottom to top
0x00~0xFF
Reserved
1
VERSAJET
Programming Reference
Power Off Duration When 1
Connected
Power Off Duration When 1
Disconnected
0x00~0xFF
Printing Intensity
Printing Intensity
Reserved
Automatic Status
Feedback (ASB)
Feed Key Control
1
Bit: 4~7 (1~15)
Bit: 0~3
1
1
1
0x00: Disable
0x01: Enable
0x00: Feed a line
0x01: Feed one page
0x00: Disable all
0x01: Enable all
Panel Buttons Control
Reserved
20~32 Reserved
[Description]
[Notes]
Get printer configuration.
ꢀ This is a real-time command that the printer executes upon receiving it.
ꢀ The printer returns 32 bytes, the first and last bytes are fixed values. Make sure the host
computer can receive data from receiving buffer.
Download from Www.Somanuals.com. All Manuals Searc2h2A1nd Download.
US h
VERSAJET
Programming Reference
[Name]
Get system information
[Format]
ASCII
Hex
Decimal
US h
1F 68
31 104
[Return value]
Function
Start byte
Length (Byte)
Value
1
0x5F
Customer name
Model name
15
15
15
1
0x20~0x7E
0x20~0x7E
0x20~0x7E
0x00
Firmware version
End byte
[Description]
[Notes]
Get system information.
ꢀ This is a real-time command that the printer executes upon receiving it.
ꢀ The printer returns 47 bytes, the first and last bytes are fixed values. Make sure the host
computer can receive data from receiving buffer.
ꢀ The return value of customer name is a fixed length of 15 bytes, filled with char
0x00(Null) for remaining bytes if the length of real data is smaller than 15.
ꢀ The return value of model name is a fixed length of 15 bytes, filled with char 0x00(Null)
for remaining bytes if the length of real data is smaller than 15.
Download from Www.Somanuals.com. All Manuals Searc2h2A2nd Download.
VERSAJET
Programming Reference
ꢀ The return value of firmware version is a fixed length of 15 bytes, filled with char
0x00(Null) for remaining bytes if the length of real data is smaller than 15.
Download from Www.Somanuals.com. All Manuals Searc2h2A3nd Download.
US k
VERSAJET
Programming Reference
[Name]
Get head resistance
[Format]
ASCII
Hex
Decimal
US k
1F 6B
31 107
[Return value]
Function
Length (Byte)
Value
Start byte
Head max
Head min
1
4
4
0x5F
0x00~0xFF
0x00~0xFF
0x00~0xFF
0x00
Head average
End byte
4
1
[Description]
[Notes]
Get head resistance.
ꢀ This is a real-time command that the printer executes upon receiving it.
ꢀ The printer returns 14 bytes, the first and last bytes are fixed values. Make sure the host
computer can receive data from receiving buffer.
Download from Www.Somanuals.com. All Manuals Searc2h2A4nd Download.
US m
VERSAJET
Programming Reference
[Name]
Get printing log
[Format]
ASCII
Hex
US m
1F 6D
Decimal
31 109
[Return value]
Function
Length (Byte)
Value
Start byte
Printing log
End byte
1
0x5F
10
1
0x00~0xFF
0x00
[Description]
[Notes]
Get printing log.
ꢀ This is a real-time command that the printer executes upon receiving it.
ꢀ The printer returns 12 bytes, the first and last bytes are fixed values. Make sure the host
computer can receive data from receiving buffer.
ꢀ The unit of returning printing log is mm.
Download from Www.Somanuals.com. All Manuals Searc2h2A5nd Download.
US n
VERSAJET
Programming Reference
[Name]
Get battery status
[Format]
ASCII
Hex
Decimal
US n
1F 6E
31 110
[Return value]
Function
Length (Byte)
Value
Start byte
1
1
0x5F
Battery status
0x30: less than 10%
0x31: less than 20%
0x32: more than 20%
0x33: more than 30%
0x39: more than 90%
0x3A: 100%
End byte
1
0x00
[Description]
[Notes]
Battery check
ꢀ This is a real-time command that the printer executes upon receiving it.
ꢀ The printer returns 3 bytes, the first and last bytes are fixed values. Make sure the host
computer can receive data from receiving buffer.
ꢀ This command setting is effective until ESC @ is executed, the printer is reset, or the
power is turned off.
Download from Www.Somanuals.com. All Manuals Searc2h2A6nd Download.
US r
VERSAJET
Programming Reference
[Name]
Get printer status
[Format]
ASCII
Hex
Decimal
US r
1F 72
31 114
[Return value]
Function
Length (Byte)
Value
Start byte
Status
1
1
0x5F
0x30: Idle
0x31: Paper empty
0x32: Cover opened
0x33: Command error
0x34: Paper jam
0x36: Thermal head broken
0x37: Thermal head overheated
0x38: Low battery
0x39: Motor overheated
0x3A: Thermal head overcooled
0x3B: Motor overcooled
0x3C: BT module error
0x00
End byte
1
[Description]
[Notes]
ꢀ This is a real-time command that the printer executes upon receiving it.
ꢀ The printer returns 3 bytes, the first and last bytes are fixed values. Make sure the host
computer can receive data from receiving buffer.
Download from Www.Somanuals.com. All Manuals Searc2h2A7nd Download.
|