2. Control Commands List in Alphanumeric Order...................................................................................................................................4
2-2 Details of Control Commands...............................................................................................................................................................7
Rev. 1.00
- 2 -
Metapace T-3
1. Notice
This document contains proprietary information of Metapace Corporation and its affiliates. You may utilize the information solely for the
purpose of facilitating authorized sales and service of, or developing software and similar products for authorized use with, Metapace
products, provided that such proprietary information may not be used, reproduced, or disclosed to any other parties for any other purpose
without the prior written permission of Metapace Corporation. Metapace has no liability for loss or damage arising from or relating to your
use of or reliance on the information in the document.
We at Metapace maintain ongoing efforts to enhance and upgrade the functions and quality of all our products. In following, product
specifications and/or user manual content may be changed without prior notice.
Horizontal tab
Print and line feed
Form feed (in page mode)
Print and carriage return
Cancel the print data in page mode
Transmit real-time status
Generate pulse at real-time
Print data in page mode
Set the character right space
Set print mode
Set absolute print position
Select/cancel user-defined character set 37
Define user-defined character set
Specify bit image mode
Turn underline mode on/off
Select default line spacing
Set line spacing
Select peripheral device
Cancel user-defined characters
Initialize printer
Set horizontal tab positions
Turn emphasized mode on/off
Turn double-strike mode on/off
Print and feed paper
Select page mode
26
27
28
29
30
31
32
33
34
35
36
38
39
40
41
42
43
44
45
46
47
48
49
50
ESC M
ESC R
ESC S
ESC T
ESC V
ESC W
ESC \
ESC a
ESC d
ESC i
ESC m
ESC p
ESC t
ESC v
ESC {
FS p
FS q
GS !
GS $
GS ( A
GS ( E
GS ( L
GS 8 L
GS ( N
GS ( k
GS *
Select character font/ MSR card read
Specify an international character set
Select standard mode
Select print direction in page mode
Turn 90° clockwise rotation mode on/off
Set print area in page mode
Set relative print position
Set position alignment
Print and feed n lines
Partial cut
Partial cut
Generate pulse
Select character code table
Transmit paper sensor status
Turn upside-down print mode on/off
Print NV bit image
Define NV bit image
Select character size
Set absolute vertical print position in page
mode
Execute test print
Set NV user memory area
Select graphics data
Select character color
Specify and print the symbol
Define downloaded bit image
GS /
GS :
GS B
GS H
GS I
GS L
GS V
GS W
GS ^
GS a
GS f
GS h
GS k
GS r
GS v 0
GS w
BS M
BS V
BS ^ P
Print downloaded bit image
Start/end macro definition
Turn white/black reverse print mode on/off
Select print position of HRI characters
Transmit printer ID
Set left margin
Select cut mode and executes a partial cut
Set print area width
Execute macro
Enable/Disable Automatic Status Back (ASB)
Select font for HRI characters
Set bar code height
Print bar code
Transmit status
Print raster bit image
Set bar code width
Select device font type
Select cut mode and executes a partial/full
cut
Set power saving mode
Metapace T-3
Rev. 1.00
- 5 -
2-1 Command Description Items
Command
Function: Command function outline
Code: Command format expressed in ASCII, hexadecimal, and decimal codes
Range: Argument value (Setting range) for the command
Default: Initial argument value for the command
Description: Detailed command function description
Remarks: Additional information about using the command
Differences: Variations depending on the printer model
Metapace T-3
Rev. 1.00
- 6 -
2-2 Details of Control Commands
Function : Horizontal tab
Code :
ASCII
Hex
Decimal
HT
09
9
Range:
None
Default:
None
Description :
This command moves the print position to the next horizontal tab position. If the next horizontal tab position is not
specified, this command will be void.
Remarks :
■ The horizontal tab position is set by <ESC> D.
■ With the underline mode turned on, the underline printing is not applied to the tab space created by this command.
Differences:
None
Metapace T-3
HT
Rev. 1.00
- 7 -
Function: Print and line feed
Code:
ASCII
Hex
Decimal
LF
0A
10
Range:
None
Default:
None
Description:
This command prints the data in the print buffer and feeds one line based on the current set line spacing in standard
mode.
Remarks:
Differences:
■ In page mode, the printer does not perform actual printing, but moving only the print position to the next line.
None
Metapace T-3
LF
Rev. 1.00
- 8 -
Function : Form feed (in page mode)
Code :
ASCII
Hex
Decimal
FF
0C
12
Range:
None
Default:
None
Description :
This commands prints all data collected in the printer buffer In page mode. After completion of printing, the printer is
returned to standard mode.if the printer receive next data then the printer buffer is evacuated.
Remarks :
■ The printer is returned to standard mode after completion of printing.
■ After being printed, all of the existing data in the printer buffer is not evacuated and the print position changes to the
beginning of the line.
■ This command works in page mode enabled by ESC L.
■ This command is only effective in standard mode.
■ If the paper is positioned at the print starting position, this command is ignored, not performing actual paper feeding
operation.
Differences:
None
Metapace T-3
FF
Rev. 1.00
- 9 -
Function: Print and carriage return
Code:
ASCII
Hex
Decimal
CR
0D
13
Range:
None
Default:
None
Description:
This command prints the data. With auto line feed enabled, it performs printing and one line feeding same as LF.
Remarks:
Differences:
■ Auto line feed is only enabled using the memory switch.
■ Auto line feed is turned on by settingdip switch 1-1.
None
Metapace T-3
CR
Rev. 1.00
- 10 -
Function: Cancel the print data in page mode
Code:
ASCII
Hex
Decimal
CAN
18
24
Range:
None
Default:
None
Description:
This command clears the receive buffer and print buffers in page mode.
Remarks:
Differences:
■ This command is effective only in page mode that is set by ESC L.
None
Metapace T-3
CAN
Rev. 1.00
- 11 -
Function: Transmit real-time status
Code:
ASCII
Hex
Decimal
DLE EOTn
10 04 n
16 4 n
Range:
Default:
1 ≤ n ≤ 4
None
Description:
This command enables commands to be operable in real-time.
This command transmits the printer-related status specified by n as follows:
n Function
1 Transmit printer status
2 Transmit off-line status
3 Transmit error status
4 Transmit paper roll sensor status
■
Printer transmits the following status
Bit Binary Hex Decimal Status
0 0 00 0 Not used. Fixed to Off
1 1 02 2 Not used. Fixed to On
2
3
0 00 0 Drawer kick-out connector pin 3 is LOW
1 04 4 Drawer kick-out connector pin 3 is HIGH
0 00 0 Online
1 08 8 Offline
4 1 10 16 Not used. Fixed to On
5 0 00 0 Not used. Fixed to Off
Metapace T-3
DLE EOT
n=1: Printer status
Rev. 1.00
- 12 -
Metapace T-3
Bit Binary Hex Decimal Status
6 0 00 0 Not used. Fixed to Off
7 0 00 0 Not used. Fixed to Off
n=2: Off-line status
Bit Off/On Hex Decimal Status
0 Off 00 0 Fixed
1 On 02 2 Fixed
2
3
Off 00 0 Cover is closed
On 04 4 Cover is open
Off 00 0 Paper is not being fed by using the paper FEED button
On 08 8 Paper is being fed by the paper FEED button
4 On 10 16 Fixed
5
6
Off 00 0 No paper-end stop
On 20 32 Printing is being stopped
Off 00 0 No error
On 40 64 Error has occurred
7 Off 00 0 Fixed
n=3: Error status
Bit Binary Hex Decimal Status
0 0 00 0 Not used. Fixed to Off
1 1 02 2 Not used. Fixed to On
2 0 00 0 Not used. Fixed to Off
3
0 00 0 No autocutter error
1 08 8 Autocutter error occurred
4 1 10 16 Not used. Fixed to On
5 0 00 0 Not used. Fixed to Off
6 0 00 0 Not used. Fixed to Off
7 0 00 0 Not used. Fixed to Off
Rev. 1.00
- 13 -
Bit Binary Hex Decimal Status
0 0 00 0 Not used. Fixed to Off
1 1 02 2 Not used. Fixed to On
2,3
4 1 10 16 Not used. Fixed to On
5,6
7 0 00 0 Not used. Fixed to Off
Remarks:
■ the status is transmitted to the host upon being requested that can check the printer operational condition with it and
takes appropriate measures accordingly.
■ The real time command is stored into the receive buffer and executed with higher priority than other commands.
Differences:
None
Metapace T-3
n=4: paper sensor status
00 00 0 Paper near end sensor: paper adequate
11 0C 12 Paper near end sensor: paper near end
00 00 0 Paper end sensor: paper present
11 60 96 Paper end sensor: paper not present
Rev. 1.00
- 14 -
Function: Generate pulse at real-time
Code:
ASCII
Hex
Decimal
DLE DC4 n m t
10 14 n m t
16 20 n m t
Range:
n = 1, m=0,1, 1 ≤ t ≤ 8
Default:
None
Description:
■ Output the pulse specified by t to connector pin m as following:
This command generates the drive pulse to connector pin m with pulse width defined by t as following:
• Drawer kick-out connector pin 2 is selected with m=0 while pin 5 chosen for m=1.
• Pulse ON time is [t x100 ms] and OFF time [t x100 ms].
Remarks:
Differences:
■ Upon receiving this command, the printer outputs the drive pulse to the specified connector pin.
■The real time command is stored into the receive buffer and executed with higher priority than other commands.
None
Metapace T-3
DLE DC4
Rev. 1.00
- 15 -
Function : Print data in page mode
Code :
ASCII
Hex
Decimal
ESC FF
1B 0C
27 12
Range:
None
Default:
None
Description :
This command prints the data in the print buffer collectively in page mode.
Remarks :
Differences:
■ This command is effective only in page mode that is selectd by ESC L.
■ After printing, the data in the print buffer and setting values are not cleared.
■ The printer can print the data in the print buffer repeatedly using this command.
■ The printer returns to standard mode by ESC S or ESC @.
None
Metapace T-3
ESC FF
Rev. 1.00
- 16 -
Function: Set the character right space
Code:
ASCII
Hex
Decimal
ESC SP n
1B 20 n
27 32 n
Range:
0 ≤ n ≤ 255
Default:
n = 0
Description:
■ This command sets the size of space to right of character.
• Right space = n × [horizontal motion units].
Remarks:
■ In a double width mode, the right space will be doubled.
■ Horizontal motion unit varies depending the printer model.
Differences:
Horizontal motion unit:
0.141mm(1/180 inch)
Metapace T-3
ESC SP
Rev. 1.00
- 17 -
Function: Set print mode
Code:
ASCII
Hex
Decimal
ESC ! n
1B 21 n
27 33 n
Range:
0 ≤ n ≤ 255
Default:
n = 0
Description:
This command selects print mode(s) with bits having following meanings.
Bit Off/On Hex DecimalFunction
0
1,2 Off 00 0 Reserved
3
4
5
6 Off 00 0 Reserved
7 Off 00 0 Underline mode not selected
Off 00 0 Character font A selected
On 01 1 Character font B selected
Off 00 0 Emphasized mode not selected
On 08 8 Emphasized mode selected
Off 00 0 Double-height mode not selected
On 10 16 Double-height mode selected
Off 00 0 Double-width mode not selected
On 20 32 Double-width mode selected
Metapace T-3
ESC !
Remarks:
■ As alternative to this command, ESC M, ESC E and ESC – can be used for the selection for character font,
emphasized mode and underline mode respectively.
■ The entire character print width is underlined, but the space skipped by HT is not.
■ If both double width and double height are selected, the characters will be quadrupled.
y = 3
32 ≤ c1 ≤ c2 ≤ 126
0 ≤ x ≤ 12 (Font A)
0 ≤ x ≤ 9 (Font B)
0 ≤ d ≤ 255
k = c2 – c1 + 1
Default:
None
Description:
■ This command defines user-defined characters for character codes in a designated range from the start character
code, c1 to the end character code, c2.
• y denotes the number of bytes in the vertical direction, x the number of dots in the horizontal direction, and d the
dot data for the user-defined characters.
Remarks:
■ Alphanumeric characters (20H (decimal 32) to 7EH (decimal 126)) are definable.
■ Once user defined characters are defined, they remain available until they are redefined; ESC ? or ESC @ is
executed; the printer is reset.
■ The following shows the relationship between the definition data and printing result with downloaded character
consisting of 9x7 dots.
Metapace T-3
ESC &
Rev. 1.00
- 21 -
d1d3d5d7d9d11d13
d2d4d6d8d10d12d14
Differences:
None
Metapace T-3
MSB
LSB
MSB
LSB
Rev. 1.00
- 22 -
Function: Specify bit image mode
Code:
ASCII
Hex
Decimal
ESC * m nL nH d1...dk
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 × 256 [in case of m = 0, 1]
k = (nL + nH × 256) × 3 [in case of m = 32, 33]
Default:
None
Description:
■ This command specifies the bit image for the mode m as to the number of dots specified by nL and nH.
• d specifies the bit image data with 1 for printed data and 0 for not printed.
• k denotes the number of horizontal dots.
Remarks:
■ If the bit image data being entered is beyond the number of dots to be printed, the surplus will be discarded.
■ If the value of m is beyond the conditions, the subsequent data after m will be treated as normal data.
Differences:
m Mode
0 8-dot single-density 8 60 90 nL + nH x 256
1 8-dot double-density 8 60 180 nL + nH x 256
32 24-dot single-density 24 180 90 (nL + nH x 256) x 3
33 24-dot double-density 24 180 180 (nL + nH x 256) x 3
ESC *
Number of dots in
vertical direction
Vertical dot
density (DPI)
Horizontal dot
density (DPI)
Metapace T-3
DPI : Dots per Inch (25.4mm)
Number of bytes (k)
Rev. 1.00
- 23 -
Function: Turn underline mode on/off
Code:
ASCII
Hex
Decimal
ESC - n
1B 2D n
27 45 n
Range:
0 ≤ n ≤ 2, 48 ≤ n ≤ 50
Default:
n = 0
Description:
■ This command enables the print data following it to be printer out underlined.
• The underline mode varied depending on the following values of n:
n Function
0,48 Turns off underline mode
1,49 Turns on underline mode, set at 1-dot thick
2,50 Turns on underline mode, set at 2-dot thick
Remarks:
■ The spaces generated by horizontal tab are not underlined.
■ Using bit 7 of ESC !, the underline mode can be activated/deactivated as well.
Differences:
None
Metapace T-3
ESC –
Rev. 1.00
- 24 -
Function: Select default line spacing
Code:
ASCII
Hex
Decimal
ESC 2
1B 32
27 50
Range:
None
Default:
None
Description:
This command sets the default line spacing The default line spacing is approximately 3.75 mm, which is equivalent to
30 dots.
Remarks:
■ The line spacing can be set independently in standard mode and in page mode.
■ The setting of this command remains effective until ESC !, ESC @, printer reset or power cycling is executed.
Differences:
Default line spacing:
4.23 mm (30 dots)
Metapace T-3
ESC 2
Rev. 1.00
- 25 -
Function: Set line spacing
Code:
ASCII
Hex
Decimal
ESC 3 n
1B 33 n
27 51 n
Range:
0 ≤ n ≤ 255
Default:
Corresponding to the default line spacing defined by ESC 2
Description:
■ This command sets the line spacing using a following rule.
• Line spacing = n x (vertical or horizontal motion units)
Remarks:
■ With standard mode selected, the vertical motion unit is used.
■ In page mode, the horizontal motion unit is applied when printing start poison is defined to the upper right or lower
right of print area using ESC T, otherwise, the vertical motion unit is used.
■ The line spacing is settable independently for each of standard and page modes.
Differences:
Vertical or horizontal motion unit and maximum line spacing settable:
■ The printer cancels a macro definition in progress If this command is processed. The macro becomes invalid.
■ After completion of this command, a software reset is executed automatically to restore the printer status set during
power cycling.
■ All of the data transmitted from the host to the printer is printed and identified in hexadecimal dump mode.
■ The real time command and LSB operations are not executed during the printing of printer configuration (m=2, 50).
Differences:
None
Metapace T-3
GS ( A
Roll paper
Rev. 1.00
- 59 -
Function: Set NV user memory area
Code:
Range:
Default:
ASCII
Hex
Decimal
None
None
GS ( E pL pH fn
1D 28 45 pL pH fn
29 40 69 pL pH fn
Description:
This command stores the customized values to the NV user memory area and uses them for the printer operation. The
table below explains the functions available in this command. Executes commands related to the user setting mode by
specifying the function code fn.
fn Format No. Function
1 GS ( E pL pH fn d1 d2 1 Start the user setting mode
2 GS ( E pL pH fn d1 d2 d3 2 End the user setting mode (Performs a soft reset)
3
4 GS ( E pL pH fn a 4 Transmit the settings of the memory switch to the host
GS ( E pL pH fn [a1 b18...b11]...
[ak bk8...bk1]
Remarks:
■ pL, pH is used to set the number of bytes following pH to (pL + pH x 256).
■The change in the items of the NV user memory is available only after entering the user setting mode.
■ After completing the user setting mode (Function 2), the printer performs software reset to restore the initial settings
in effect at power on. Receive and print buffers are cleared as well.
■ Since frequent write operation by this command may deteriorate the performance of the NV memory, it is
recommended to write to NV memory when the significant change in the setting is required.
■ While processing this command, the printer remains busy. Therefore the data transmission by the host is not
available. The real time commands and LSB operations are not processed.
■ Single byte font selection using the memory switch 4-3 through 4-4.
Msw
Value
4 3
Single byte font selection Remark
48 48 Font A 12x24
4-3~4
48 49 Font B 9x17
49 48 Font C 9x24
Rev. 1.00
- 65 -
■
The setting items of the memory switch 5 are as follows:
Msw Value Function
5-1 48 Reserved
5-2 48 Reserved
5-3
5-4 48 Auto line feed disable
5-5~6 48 Reserved
5-7
5-8
■ The setting items of the memory switch 6 are as follows:
Msw Value Function
6-1
6-2
6-3
6-4
6-5~8 48 Reserved
• Printer generate pulse to internal buzzer automatically for cutting command ESC i and GS V.
• Printer generate pulse to internal buzzer automatically with cash drawer pulse by the setting.
Remarks:
None
Differences:
None
Metapace T-3
48 2 Color printing disable
49 2 Color printing enable
48 Left 2inch mode disable
49 Left 2inch mode enable
48 Center 2inch mode disable
49 Center 2inch mode enable
48 Auto internal buzzer after cutting disable
49 Auto internal buzzer after cutting enable
48 Auto internal buzzer option 3 times
49 Auto internal buzzer option 1 times
48 Auto internal buzzer with cash drawer disable
49 Auto internal buzzer with cash drawer enable
48 Auto external buzzer after cutting disable
49 Auto external buzzer after cutting enable
■ Prints the NV graphics data defined by the codes kc1 and kc2.
• The graphics data is enlarged by x and y in the horizontal and vertical directions.
Remarks :
■ This command prints the NV graphics data defined by Function 67.
■ In page mode, this command is not effective.
■ NV graphics data beyond the print area for one line is not printed.
Differences:
None
Metapace T-3
<Function 69> GS ( L pL pH m fn kc1 kc2 x y (fn=69)
Rev. 1.00
- 79 -
<Function 112> GS ( L pL pH m fn a bx by c xL xH yL yH d1…dk (fn=112)
Code :
ASCII
Hex
Decimal
GS ( L pL pH m fn a bx by c xL xH yL yH d1…dk
1D 28 4C pL pH m fn a bx by c xL xH yL yH d1…dk
29 40 76 pL pH m fn a bx by c xL xH yL yH d1…dk
Range:
GS ( L parameter
11 ≤ (pL + pL x 256) ≤ 65535 (0≤pL≤255, 0≤ pH≤255)
GS 8 L parameter
11 ≤ (p1 + p2 x 256) +p3 x 65535+p4 x 16777216) ≤ 4294967295
(0 ≤ p1L ≤ 255, 0 ≤ p2 ≤ 255, 0 ≤ p3 ≤ 255, 0 ≤ p4 ≤ 255)
Common parameter
m=48
fn=112
a=48
c=49 (When The monochrome paper is selected)
c=50 (When The two-color paper is selected)
- When single-color paper secified :
1 ≤ (xL + xH x 256) ≤ 1662 (When by =1)
1 ≤ (xL + xH x 256) ≤ 831 (When by =2)
- When two-color paper secified :
1 ≤ (xL + xH x 256) ≤ 831 (When by =1)
1 ≤ (xL + xH x 256) ≤ 415 (When by =2)
0 ≤ d ≤ 255
k = ( int ( ( xL + xH x 256 ) + 7 ) / 8 ) x ( yL + yH x 256 )
Default:
None
Metapace T-3
Rev. 1.00
- 80 -
Description :
■ This command stores the raster graphics data in the print buffer, enlarged by bx and by in the horizontal and vertical
directions.
• xL, xH specifies the raster graphics data in the horizontal directionas (xL + xH x 256) dots.
• yL, yH specifies the raster graphics data in the vertical direction to (yL + yH x 256) dots.
• d denotes the stored data(raster format).
• k denotes the number of the graphics data.
• c specifies the color of the defined data.
c Defined data color
49 Color 1
50 Color 2
• Color 1 means black, and Color 2 red or blue that is available for 2-color paper.
Remarks :
■ The graphics data is stored in the printer buffer directly.
■ NV graphics data beyond the print area for one line is not printed.
■ Real time command is not effective during processing of this command.
Differences:
None
Metapace T-3
Rev. 1.00
- 81 -
Function: Select character color
Code:
ASCII
Hex
Decimal
GS ( N pL pH n m
1D 28 4E pL pH n m
29 40 78 pL pH n m
Range:
(pL + pH x 256) = 2 (pL=2, pH=0)
n=48
m=49 (when the monochrome paper is selected)
m=49,50 (when the two-color paper is selected)
Default:
m = 49
Description:
■ This command selects the color specified by m.
m Color
49 Color 1
50 Color 2
• Color 1 means black and Color 2 red.
Remarks:
■ In white/black reverse mode, the characters are regarded as nonprinting dots and the background is printed in the
color specified by this command.
■ In underline mode, the underline is printed in the color defined by this command.
Differences:
None
Metapace T-3
GS ( N
Rev. 1.00
- 82 -
Function: Specify and print the symbol
Code:
None
Range:
None
Default:
Description:
None
■ This command processes the data concerning two-dimensional code.
• Symbol type is specified by cn.
• Function code is specified by fn.
cn Type of Symbol
48 PDF417 (2-dimensional code)
49 QR CODE (2-dimensional code)
cn fn Function
65 Function 065 PDF417: Specify the number of columns
66 Function 066 PDF417: Specify the number of rows
67 Function 067 PDF417: Specify the width of module
68 Function 068 PDF417: Specify the module height
69 Function 069 PDF417: Specify the error correction level
70 Function 070 PDF417: Specify the option
48
80 Function 080
81 Function 081
82 Function 082
Metapace T-3
GS ( k
PDF417: Store the received data in the symbol
storage area
PDF417: Print the symbol data in the symbol
storage area
PDF417: Send the size information of the
symbol data in the symbol storage
area
Rev. 1.00
- 83 -
cn fn Function
49
Remarks:
PDF417 symbol data (when cn=48)
■ The symbol data is defined, stored to the symbol storage area by Function 080 and printed by the specification of
Function 081. The symbol data in the area remains reserved until the following processes are executed:
• Performing Function 080
• Performing ESC @
• Performing the printer reset and power-off
■ The setting values of Functions 065 to 070 are utilized for the processing of Function 080 or 082. The printable area
must be large enough to accommodate different-size symbols. If not, the symbol may not be printed.
■ The same symbol data is repeatedly printed by executing Function 081 after performing Function 080.
■ The same symbol data is printed differently by executing Function 081 after setting the feature of the symbol by using
Functions 065 through 070.
■ By using Function 082, the symbol size printed by Function 081 is Available.
QRCODE Symbol Data (cn = 49)
■ The symbol data is defined, stored to the symbol storage area by Function 180 and printed by the specification of
Function 181. The symbol data in the area remains reserved until the following processes are executed:
• Performing Function 180
• Performing ESC @
• Performing the printer reset and power-off
65 Function 165 QR CODE: Select the module
67 Function 167 QR CODE: Select the size of module
69 Function 169 QR CODE: Select the error correction level
80 Function 180
81 Function 181
QR CODE: Store the data in the symbol
storage area
QR CODE: Print the data in the symbol storage
area
QR CODE: Transmit the size information of the
82 Function 182
symbol data in the symbol storage
area
Metapace T-3
Rev. 1.00
- 84 -
■
The setting values of Functions 165 to 169 are utilized for the processing of Function 180 or 182. The printable area
must be large enough to accommodate different-size symbols. If not, the symbol may not be printed.
■ The same symbol data is repeatedly printed by executing Function 181 after performing Function 180.
■ The same symbol data is printed differently by executing Function 181 after setting the feature of the symbol by using
Functions 165 through 169.
■ By using Function 182, the symbol size printed by Function 181 is available.
Differences:
None
Metapace T-3
Rev. 1.00
- 85 -
Code:
ASCII
Hex
Decimal
GS ( k pL pH cn fn n
1D 28 6B 03 00 30 41 n
29 40 107 3 0 48 65 n
Range:
(pL + pH x 256) = 3 (pL=3, pH=0)
cn=48, fn=65
0 ≤ n ≤ 30
Default:
n = 0
Description:
■ This command specifies the number of columns in the data area of PDF417.
• When n=0, automatic processing is set
• When n is not 0, the number of columns of the data area is set to n code word.
Remarks:
■ Settings of this command affect the processing of Functions 081 and 082.
■ With auto processing (n=0) specified, the maximum number of columns in the data area is set to 30 columns.
■ The following data is excluded from the number of columns:
• Start and stop patterns
• Indicator code word of left and right
■ With auto processing (n=0) specified, the number of columns is calculated using the following information.
• Printing area when processing Functions 081, 082
• Module width (Function 067)
• Option setting (Function 070)
■ The setting of this command remains effective until ESC @, printer reset or power cycling is executed.
Differences:
None
Metapace T-3
<Function 065> GS ( k pL pH cn fn n (fn=65)
Rev. 1.00
- 86 -
Code:
ASCII
Hex
Decimal
GS ( k pL pH cn fn n
1D 28 6B 03 00 30 42 n
29 40 107 3 0 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:
■ This command specifies the number of rows in the data area of PDF417.
• When n=0, automatic processing is set
• When n is not 0, the number of rows is set to n rows.
Remarks:
■ Settings of this function affect the processing of Functions 081 and 082.
■ With auto processing (n=0) specified, the maximum number of rows is set to 90.
■ With auto processing (n=0) specified, the number of rows is calculated by using the following information:
• Printing area when processing Functions 081, 082
• Module height (Function 068)
■ The setting of this command remains effective until ESC @, printer reset or power cycling is executed.
Differences:
None
Metapace T-3
<Function 066> GS ( k pL pH cn fn n (fn=66)
Rev. 1.00
- 87 -
Code:
ASCII
Hex
Decimal
GS ( k pL pH cn fn n
1D 28 6B 03 00 30 43 n
29 40 107 3 0 48 67 n
Range:
(pL + pH x 256) = 3 (pL=3, pH=0)
cn=48
fn=67
1 ≤ n ≤ 4
Default:
n = 3
Description:
This command sets the width of the module of PDF417 symbol to n dots.
Remarks:
■ Settings of this command affect the processing of Functions 081 and 082.
■ The setting unit for printer models varies.
■ The setting of this command remains effective until ESC @, printer reset or power cycling is executed.
Differences:
■Setting unit(1 dot)
0.141(1/180 inch)
Metapace T-3
<Function 067> GS ( k pL pH cn fn n (fn=67)
Rev. 1.00
- 88 -
Code:
ASCII
Hex
Decimal
GS ( k pL pH cn fn n
1D 28 6B 03 00 30 44 n
29 40 107 3 0 48 68 n
Range:
(pL + pH x 256) = 3 (pL=3, pH=0)
cn=48
fn=68
2 ≤ n ≤ 8
Default:
n = 3
Description:
This command sets the module height of PDF417 to [the module width x n].
Remarks:
■ Settings of this command affect the processing of Functions 081 and 082.
■ The setting of this command remains effective until ESC @, printer reset or power cycling is executed.
Differences:
None
Metapace T-3
<Function 068> GS ( k pL pH cn fn n (fn=68)
Rev. 1.00
- 89 -
Code:
ASCII
Hex
Decimal
GS ( k pL pH cn fn m n
1D 28 6B 04 00 30 45 m n
29 40 107 4 0 48 69 m n
Range:
(pL + pH x 256) = 4 (pL=4, pH=0)
cn=48
fn=69
m=48
48 ≤ n ≤ 56
Default:
None
Description:
■ This command specifies the error correction level for PDF417.
• The error correction level is set by “level”.
Remarks:
■ Settings of this function affect the processing of Functions 081 and 082.
■ Error correction level specified by “level” (m=48) is as follows:
The number of the error correction codeword is unchanged regardless of the number of codeword in the data area.