Pinnacle Technology PP7MX Installation instructions

PP7MX PRINTER
COMMAND MANUAL
Pinnacle Technology Corp.

CONTENTS
1COMMANDS.................................................................................................................................................... 1
2COMMAND SAMPLE (hex command)......................................................................................................... 30

1
1COMMANDS
The command explanations include the following parts:
1)Name and the general description of the command’s function---This is the first part for the command
description; it presents the command’s ASCII code format and general description of its function.
2)Format---This part used ASCII coding form, decimal code, and hex code to describe the command.
3)(Parameter) Range---This part gives the range of the variable. If there is special explanation, it should be the
decimal value. E.g. 1 ≤ n ≤ 4,in which the number ‘1’is the decimal value, but the ASCII coding form.
4)Description---This part is to explain the command in detail.
5)Note---This part gives the attention items of the command. As the commands may interfere with each other
when they are used in different modes or when they co-work with different commands, yet this part gives the
details for these attention items.
Command
Decimal
Hex
Function
1
HT
9
9
Horizontal tab
2
LF
10
0A
Print and line feed
3
FF
12
0C
Print and recover to page mode
4
CR
13
0D
Print and carriage return
5
DLE EOT
16 4
10 04
Transmit real-time state
6
CAN
24
18
Cancel print data in page mode
7
ESC FF
27 12
1B 0C
Print data in page mode
8
ESC SP
27 32
1B 20
Set right-side character spacing
9
ESC !
27 33
1B 21
Select print mode(s)
10
ESC $
27 36
1B 24
Set absolute print position
11
ESC *
27 42
1B 2A
Select bit-image mode
12
ESC -
27 45
1B 2D
Turn underline mode on/off
13
ESC 2
27 50
1B 32
Select default line spacing
14
ESC 3
27 51
1B 33
Set line spacing
15
ESC =
27 61
1B 3D
Select printer or VFD
16
ESC @
27 64
1B 40
Initialize printer
17
ESC D
27 68
1B 44
Set horizontal tab positions
18
ESC J
27 74
1B 4A
Print bitmap lattice data, and feed n lines
19
ESC L
27 76
1B 4C
Select page mode
20
ESC S
27 83
1B 53
Select standard mode
21
ESC T
27 84
1B 54
Select character print direction in page mode
22
ESC W
27 87
1B 57
Set printing area in page mode
23
ESC \
27 92
1B 5C
Specify relative position
24
ESC a
27 97
1B 61
Position alignment
25
ESC d
27 100
1B 64
Print and feed paper n lines

2
Command
Decimal
Hex
Function
26
ESC i
27 105
1B 69
Execute partial-cut
27
ESC p
27 112
1B 70
Specify cash drawer pulse
28
ESC t
27 116
1B 74
Select character code table
29
ESC v
27 118
1B 76
Transmit paper sensor status
30
ESC {
27 123
1B 7B
Turn upside-down printing mode on/off
31
FS !
28 33
1C 21
Set Chinese characters mode
32
FS S
28 83
1C 53
Set Chinese character space amount
33
FS p
28 112
1C 70
Print bit image that download to flash
34
FS q
28 113
1C 71
Define NV bit image
35
GS !
29 33
1D 21
Select character size
36
GS $
29 36
1D 24
Specify absolute position for character vertical
direction in page mode
37
GS H
29 72
1D 48
Select printing position of HRI characters
38
GS L
29 76
1D 4C
Set left margin
39
GS P
29 80
1D 50
Set basic calculated pitch
40
GS V
29 86
1D 56
Select paper-cut mode and cut paper
41
GS \
29 92
1D 5C
Specify relative position for character vertical
direction in page mode
42
GS h
29 104
1D 68
Set bar code height
43
GS k
29 107
1D 6B
Print bar code
44
GS v
29 118
1D 76
Print raster bitmap
45
GS w
29 119
1D 77
Set bar code width
(1)
HT Horizontal tab
Format: ASCII HT
Decimal 9
Hex 09
Description: Moves the print position to the next horizontal tab position.
Notes:
●This command is ignored unless the next horizontal tab position has been set.
●If the next horizontal tab position exceeds the printing area, the printer sets the printing position to [printing
area width + 1].
●Horizontal tab positions are set with ESC D.
●If this command is received when the printing position is at [printing area width + 1], the printer executes
print bufferfull printing of the current line and horizontal tab processing from the beginning of the next line.
Reference : ESC D

3
(2)
LF Print and line feed
Format: ASCII LF
Decimal 10
Hex 0A
Note:
●LF prints the data in the print buffer and fed per line based on the current line space.
●Print characters with CR command.
(3)
FF Print and recover to page mode
Format: ASCII FF
Decimal 12
Hex 0C
Description: Prints all buffered data to the print region collectively, then recovers to the standard mode.
Note:
●All buffer data is deleted after printing.
●The print area set by ESC W (Set print region in page mode) is reset to the default setting.
●No paper cut is executed.
●Sets the print position to the beginning of the next line after execution.
●This command is enabled only in page mode.
Reference: ESC FF, ESC L, ESC S
(4)
CR Print and carriage return
Format: ASCII CR
Decimal 13
Hex 0D
Note:
●Set the print position to the beginning of the line.
●Print characters with LF command.
(5)
DLE EOT n Transmit real-time state
Format: ASCII DLE EOT n
Decimal 16 4 n
Hex 10 04 n
Range: 1≤n≤4
Note:
●This command is only suitable for the printer model of serial port.
●Transmit the real-time state parameter n of the printer, in order to designate the deferent printer state, define
as follows:

4
n=1: transmit printer state;
Bit
Off/On
Hex
Decimal
Function
0
Off
00
0
Fixed to Off
1
On
02
2
Fixed to On
2
Off
00
0
Cash drawer open
On
04
4
Cash drawer closed
3
Off
00
0
Online
On
08
8
Offline
4
On
10
16
Fixed to On
5
Off
00
00
Not wait for online resume
On
20
32
Wait for online resume
6
-
-
-
Undefined
7
Off
00
00
Fixed to Off
n=2: transmit offline state;
Bit
Off/On
Hex
Decimal
Function
0
Off
00
0
Fixed to Off
1
On
02
2
Fixed to On
2
Off
00
0
Upper cover closed
On
04
4
Upper cover open
3
Off
00
0
Not press paper feed key
On
08
8
Press paper feed key
4
On
10
16
Fixed to On
5
Off
00
00
Paper adequate
On
20
32
Printer no paper
6
Off
00
0
No error
On
40
64
Error
7
Off
00
0
Fixed to Off
n=3: transmit error state;
Bit
Off/On
Hex
Decimal
Function
0
Off
00
0
Fixed to Off
1
On
02
2
Fixed to On
2
-
-
Undefined
3
Off
00
0
Cut no error
On
08
8
Cut error
4
On
10
16
Fixed to On
5
Off
00
0
No beyond retrieve error
On
20
32
Beyond retrieve error
6
Off
00
0
Printer temperature and voltage
normal
On
40
64
Printer temperature or voltage over
range
7
Off
00
0
Fixed to Off

5
n=4: transmit paper roll sensor state;
Bit
Off/On
Hex
Decimal
Function
0
Off
00
0
Fixed to Off
1
On
02
2
Fixed to On
2, 3
Off
00
0
Paper adequate
On
0C
12
Paper near end
4
On
10
16
Fixed to On
5,6
Off
00
00
Paper adequate
On
60
96
Paper end
7
Off
00
0
Fixed to Off
(6)
CAN Cancel
Format: ASCII CAN
Decimal 24
Hex 18
Description: Deletes all print data in the currently set print region in page mode.
Note: .
●This command is enabled only in page mode.
●Portions included in the currently set print region are also deleted, even if previously set print region data.
Reference: ESC L, ESC W
(7)
ESC FF print data in page mode
Format: ASCⅡESC FF
Decimal 27 12
Hex 1B 0C
Description: Prints all buffered data in the print area collectively in page mode.
Note:
●This command is enabled only in page mode.
●Holds the following information after printing.
a. Expanded data
b. Character print direction selection in page mode (ESCT)
c. Set print region (ESCW) in the page mode.
d. Character expansion position
Reference: FF, ESCL, ESCS
(8)
ESC SP n Set right-side character spacing
Format: ASCII ESC SP n
Decimal 27 32 n
Hex 1B 20 n
Range: 0 ≤n ≤255
Initial Value: n=0
Function: Set the right space amount for the character to [n ×basic calculated pitch].

6
Details:
●If the character horizontal direction magnification ratio is more than 2, the right space amount is also
enlarged accordingly.
●This command does not affect Chinese characters.
●Right space amounts can be set independently for both the standard and page modes.
●The basic calculated pitch is set by GSP (Set basic calculated pitch). Also, after setting the right space
amount, it is not affected even if the basic calculated pitch is changed.
●If the calculation results in fractions, the pitch is corrected to a minimal mechanical pitch and the rest is
discarded.
●In standard mode, the basic calculated pitch (x) for the horizontal direction is used.
●In page mode, the basic calculated pitch that is used according to the starting point varies.
a. When the starting point is specified to be upper left or lower right by the ESC T command (Character print
direction selection in page mode), the basic calculated pitch (x) for the horizontal direction is used.
b. When the starting point is specified to be upper right or lower left by the ESC T command (Character print
direction selection in page mode), the basic calculated pitch (y) for the horizontal direction is used.
●The maximum value that can be set for the right space amount is approximately 35.983 mm (or 255/180
inch). Specifications that exceed the maximum value are rounded off to that value.
(9)
ESC !Select print modes
Format: ASCⅡESC ! n
Decimal 27 33 n
Hex 1B 21 n
Range 0≤n≤255
Initial Value n=0
Function Select print mode(s) using n as follows.
Bit
Off/On
1/0
Hex
Decimal
Functions
0
Off
0
00
0
Character fontA(12×24) selected
1,2
Off
---
---
Reserved
3
Off
0
00
0
Emphasized mode not selected.
On
1
08
8
Emphasized mode selected.
4
Off
0
00
0
Double-height mode not selected.
On
1
10
16
Double-height mode selected.
5
Off
0
00
0
Double-width mode not selected.
On
1
20
32
Double-width mode selected.
6
Off
---
---
Reserved
7
Off
0
00
0
Underline mode not selected.
On
1
80
128
Underline mode selected.
Details:
●Quadruple-size characters are printed by specifying both double-tall (bit4=1) and double-wide (bit 5=1)
modes.
●An underline is applied to the entire character width, including the ESC SP (character right space amount).
However, underlines are not applied to portions that have been skipped using HT (horizontal tab) or ESC V
(character 90 degree rotation).
●The thickness of the underline is set by ESC - (specify/cancel underlines) regardless of the character.
●The base line for characters is the same when there are characters having different vertical direction ratios in

7
the same line.
●The setting of the last received command is effective even when emphasized printing is executed by the ESC
E (specify/cancel emphasized printing) command.
●The setting of the last received command is effective even when underlines are executed by the (ESC -)
Specify/cancel underline command.
●The setting of the last received command is effective even when character size is executed by the GS!
command.
●Emphasized printing (bit 3) is effective for ANK and Chinese characters. Other printing modes are effective
only onANK characters. Specifications using this command are ignored in HRI characters.
The following are the font configurations on printers.
Reference: ESC-, ESC E, GS!
(10)
ESC $Set absolute print position
Format: ASCⅡESC $nL nH
Decimal 27 36 nL nH
Hex 1B 24 nL nH
Range: 0≤nL≤255
0≤nH≤255
Description:
Specifies the next printing starting position using an absolute position based on the left margin position.
The next printing starting position is the position specified by [(nL+nH×256) ×basic calculated pitch] from
the left margin position.
Note:
●Specifications exceeding the print range are ignored.
●The basic calculated pitch is set by GSP (Set basic calculated pitch).
●If the calculation results in fractions, the pitch is corrected to a minimal mechanical pitch and the rest is
discarded.
●In standard mode, the basic calculated pitch (x) for the horizontal direction is used.
●In page mode, the basic calculated pitch that is used according to the starting point varies.
a. When the starting point is specified to be upper left or lower right by the ESC T command (Character print
direction selection in page mode), the basic calculated pitch (x) for the horizontal direction is used.
b. When the starting point is specified to be upper right or lower left by the ESC T command (Character print
direction selection in page mode), the basic calculated pitch (y) for the horizontal direction is used.
Reference: ESC \ , GS $, GS \ , GS P
(11)
ESC * Select bit-image mode
Format: ASCII ESC * m nL nH d1 ... dk
Decimal 27 42 m nL nH d1 ... dk
Hex 1B 2A m nL nH d1 ... dk
Range: m=0, 1, 32, 33
0≤nL≤255
0≤nH≤3
0≤d≤255
ESC * m nL nH d1 ... dk selects a bit-image mode using m for the number of dots specified by (nL +

8
nH×256). Set a bit to 1 to print a dot, or set a bit to 0 to not print a dot. d indicates the bit image data. The
modes selectable by m are as follows:
m
Mode
Vertical direction
Horizontal direction
Number of bits for
vertical data
Dot density
(DPI)
Dot density
(DPI)
Amount of data
(k)
0
8-dot single-density
8
68
101
192
1
8-dot double-density
8
68
203
384
2
24-dot single-density
24
203
101
192
33
24-dot double-density
24
203
203
384
39
24-dot double-density
24
203DPI
203DPI
384
(12)
ESC - Turn underline mode on/off
Format: ASCⅡESC - n
Decimal 27 45 n
Hex 1B 2D n
Range: 0≤n≤1
0: turn underline mode off
1: turn underline mode on
(13)
ESC 2 Select default line spacing
Format: ASCⅡESC 2
Decimal 27 50
Hex 1B 32
Description: Sets line feed amount per one line to approximately 4.23 mm (1/6 inch).
Note: Line spacing can be set independently for both the standard and page modes.
Reference: ESC 3
(14)
ESC 3 Set line spacing
Format: ASCⅡESC 3 n
Decimal 27 51 n
Hex 1B 33 n
Range: 0≤n≤255
Description: Sets the line space for one line to [n x basic calculated pitch].
Note:
●ESC 3 n sets the line spacing to n×(vertical or horizontal motion unit). The default setting of the paper feed
amount is 1/6 inch (n=60). The maximum line spacing amount is 40 inches. When standard mode is selected,
the vertical motion unit set by GS P is used. When page mode is selected, the vertical or horizontal motion
unit set by GS P is used for the print direction set by ESC T.
●The line spacing can be set independently in standard mode and in page mode.
●The basic calculated pitch is set by GSP (Set basic calculated pitch). Also, after setting the line space, it is not
affected even if the basic calculated pitch is changed.
●If the calculation results in fractions, the pitch is corrected to a minimal mechanical pitch and the rest is
discarded.

9
●In standard mode, the basic calculated pitch (y) for the vertical direction is used.
●In page mode, the basic calculated pitch that is used according to the starting point varies.
a. When the starting point is specified to be upper left or lower right by the ESC T command (Character print
direction selection in page mode), the basic calculated pitch (x) for the horizontal direction is used.
b. When the starting point is specified to be upper right or lower left by the ESC T command (Character print
direction selection in page mode), the basic calculated pitch (y) for the horizontal direction is used.
●The maximum value that can be set for the line space is approximately 1,016mm (or 40 inches).
Specifications that exceed the maximum value are rounded off to that value.
Reference: ESC 2, GS P
(15)
ESC = n Select printer or VFD
Format: ASCII ESC = n
Decimal 27 61 n
Hex 1B 3D n
Range: 1≤n≤2
Function: Selects the printer or VFD for which the data is effective from the host computer.
Bit
1/0
Hex
Decimal
Function
0
-
-
Undefined
1
1
01
1
Printer valid
2
2
02
2
VFD valid
3-7
-
-
Undefined
The function of bit 0 and bit 3~7 are undefined.
Details: If the printer is selected to be invalid, the printer discards all data from the next data until the
printer is made valid again by this command. (This excludes DLEEOT, DLEENQ, DLEDC4.)
Even when the printer is not invalid, the printer specification of this command (n = 1) is processed.
(16)
ESC @ Initialize printer
Format: ASCⅡESC @
Decimal 27 64
Hex 1B 40
ESC @ initializes the printer. All settings, including character font and line spacing settings, are canceled.
The data in the print buffer is cleared and the printer mode is reset to the mode that was in effect when the
power was turned on. The DIP switch settings are not checked again, the data in the receive buffer is not cleared,
and any macro definitions are not cleared.
(17)
ESC D Set horizontal tab positions
Format: ASCⅡESC D n1 …nk NUL
Decimal 27 68 n1 …nk 00
Hex 1B 44 n1 …nk 0
Range: 1≤n≤255
0≤k≤32
Description:
ESC D n1 …nk NUL sets a horizontal tab position to n columns from the beginning of a line, with k

10
indication the total number of horizontal tab positions to be set. When a left margin is set in standard mode,
the position of the left margin is the beginning of the line. A maximum of 32 tab positions can be set. This
command cancels any previous horizontal tab settings. The default tab positions are every eight characters for
the font A (12×24).
Note: The character width is stored for standard and page modes.
Reference: HT
(18)
ESC J Print and feed paper
Format: ASCⅡESC J n
Decimal 27 74 n
Hex 1B 4A n
Range: 0≤n≤255
Description:
ESC J n prints the data in the print buffer and feeds the paper n×(vertical or horizontal motion unit).
This command is used to temporarily feed a specific length without changing the line spacing set by other
commands. The maximum paper feed amount is 40 inches. When standard mode is selected, the vertical
motion unit set by GS P is used. When page mode is selected, the vertical or horizontal motion unit set by
GS P is used fro the print direction set by ESC T.
Note:
●In standard mode, the basic calculated pitch (y) for the vertical direction is used.
●In page mode, the basic calculated pitch that is used according to the starting point varies.
a. When the starting point is specified to be upper left or lower right by the ESC T command (Character print
direction selection in page mode), the basic calculated pitch (x) for the horizontal direction is used.
b. When the starting point is specified to be upper right or lower left by the ESC T command (Character print
direction selection in page mode), the basic calculated pitch (y) for the horizontal direction is used.
●Paper is fed approximately 1016 mm if the [n x basic calculated pitch] exceeds approximately 1016mm (40
inches).
Reference: GS P
(19)
ESC L Select page mode
Format: ASCⅡESC L
Decimal 27 76
Hex 1B 4C
Description: Switches from standard mode to page mode.
Note:
●Enabled only when input with the top of line.
●Invalid when input by page mode.
●Returns to standard mode after the following commands are issued.
a. FF (Print and recover to page mode)
b. ESC S (Select standard mode)
●Character expansion position has the starting point specified by ESC T (Character print direction selection in
page mode) in the printing region designated by the ESC W (Set print region in the page mode) command.
●This command switches the settings for the following commands the values of which can be set
independently in standard mode and page mode to those for page mode.

11
a. Set space amount: ESC SP, FS S
b. Set line feed amount: ESC 2, ESC 3
●The following commands are enabled only when in page mode.
a. ESC V :Specify/cancel character 90 degree clockwise rotation
b. ESC a :Position alignment
c. ESC { :Specify/cancel upside-down printing
d. GS L :Set left margin
e. GS W :Set print region width
●The following command is ignored in page mode.
a. GS (A :Test print
●The following commands are invalid in page mode.
a. FSp :Print NV bit image
b. FSq :Define NV bit image
c. FSg1 :Write data to user NV memory
d. GSv0 :Print raster bit images
●Recover to standard mode using ESC@ (initialize printer).
Reference: FF, CAN, ESC FF, ESC S, ESC T, ESC W, GS $, GS \
(20)
ESC S Select standard mode
Format: ASCⅡESC FF
Decimal 27 83
Hex 1B 53
Description: Switches from page mode to standard mode.
Note:
●Valid only when input by page mode.
●All buffer data in page mode is deleted.
●Sets the print position to the beginning of the next line after execution.
●The print area set by ESCW (Set print region in page mode) is reset to the default setting.
●This command switches the settings for the following commands the values of which can be set
independently in standard mode and page mode to those for standard mode
a. ESC SP :Set character right space amount
b. FS S :Set Chinese character space amount
c. ESC 2 :Set default line spacing
d. ESC 3 :Set line feed amount
●The following commands are effective only when in standard mode.
a. ESC W :Set print region in page mode
b. ESC T :Select character print direction in page mode
●The following commands are ignored in standard mode.
a. GS S :Specify absolute position for character vertical direction in page mode
b. GS \: :Specify relative position for character vertical direction in page mode
●Standard mode is selected when the power is turned on, the printer is reset or initialized (ESC @).
Reference: FF, ESC FF, ESC L

12
(21)
ESC T Select character print direction in page mode
Format: ASCⅡESC FF
Decimal 27 84
Hex 1B 54
Range: 0 ≤ n ≤ 3, 48 ≤ n ≤ 51
Initial Value: n = 0
Description: Selects the character printing direction and starting point in page mode.
n
Print Direction
Starting Point
0, 48
Left to Right
Upper Left (A in the figure below)
1,49
Bottom to Top
Lower Left (B in the figure below)
2,50
Right to Left
Lower Right (C in the figure below)
3,51
Top to Bottom
Upper Right (D in the figure below)
Note:
●Executes only a printer internal flag operation when this command is input in standard mode. The command
does not affect printing in standard mode.
●The character expansion starting point is in the print region specified by ESC W (Set print region in page
mode).
●The basic calculated pitch (x or y) used with the following commands differs according to the starting point.
a. If the starting point is upper left or lower right (feeds paper and expands characters in the vertical direction)
Commands using x : ESC SP, ESC $, ESC \, FS S
Commands using y : ESC 3, ESC J, GS $, GS \
b. If the starting point is upper right or lower left
Commands using x : ESC 3, ESC J, GS $, GS \
Commands using y : ESC SP, ESC $, ESC \, FS S
Reference: ESC $, ESC L, ESC W, ESC \, GS $, GS P, GS\
(22)
ESC W Set printing area in page mode
Format: ASCⅡESC W xL xH yL yH dxL dxH dyL dyH
Decimal 27 87 xL xH yL yH dxL dxH dyL dyH
Hex 1B 57 xL xH yL yH dxL dxH dyL dyH
Range: 0≤xL, xH, yL, yH, dxL, dxH, dyL, dyH≤255 (except for dxL = dxH = 0 or dyL= dyH =0)
Description:
ESC W xL xH yL yH dxL dxH dyL dyH sets the size and position of the printing area in

13
page mode as follows:
Horizontal starting position = (xL+ xH×256) (horizontal motion unit)
Vertical starting position = (yL + yH×256) (vertical motion unit)
Printing area width = (dxL+ dxH×256) (horizontal motion unit)
Printing area height = (dyL + dyH×256) (vertical motion unit)
The default settings are as follows:
xL = 0, xH = 0, yL= 0, yH = 0
dxL = 0, dxH = 2, dyL = 126, dyH = 6
This command is enabled only in page mode. If this command is processed in standard mode, an
internal flag is activated and this command is enabled when the printer selects page mode.
The horizontal and vertical motion units use the horizontal and vertical values set by the GS P command.
The default settings of the horizontal and vertical motion units are 1/180 and 1/360 inches, respectively.
Note:
●In standard mode, the printer executes only internal flag operations with this command is input.
●If the horizontal direction starting point or vertical direction starting point is outside of the printable region,
the command is stopped and normal printing commences from subsequent data.
●If the horizontal direction length or vertical direction length is 0, the command is stopped and normal
printing commences from subsequent data.
●The character expansion starting point is the point specified by selecting the character printing direction
(ESC T) in page mode in the print region.
●If (horizontal direction starting position + horizontal direction length) exceeds the printable region in the
horizontal direction, the horizontal direction length is set to (horizontal direction printable region - horizontal
direction starting point).
●If (vertical direction starting position + vertical direction length) exceeds the printable region in the vertical
direction, the vertical direction length is set to (vertical direction printable region –vertical direction starting
point).
●The basic calculated pitch is set by GSP (Set basic calculated pitch). Also, the set printing region is not
changed even if the basic calculated pitch is changed after setting the print region.
●If the calculation results in fractions, the pitch is corrected to a minimal mechanical pitch and the rest is
discarded.
●The basic calculated pitch (x) is used in the calculated pitch for the horizontal direction starting point and the
length in the horizontal direction; and the basic calculated pitch (y) is used in the calculated pitch for the
vertical direction starting point and the length in the vertical direction.
●The print region shown in the figure below when the horizontal direction starting is X; the vertical direction
starting point is Y; the horizontal direction length is Dx; and the vertical direction length is Dy.

14
Reference: CAN, ESC L, ESC T, GSP
(23)
ESC \ nL nH Specify relative position
Format: ASCⅡESC FF
Decimal 27 92
Hex 1B 5C
Range: 0 ≤ nL ≤ 255, 0 ≤ nH ≤ 255
Description:
Specifies the next print starting position with a relative position based on the current position. This sets the
position from the current position to [(nL + nH x 256) x basic calculated pitch] for the next print starting
position.
Note:
●Specifications exceeding the print range are ignored.
●If the right direction of the current position is specified for the character direction, specify a positive number;
if the left direction is specified, a negative number is used.
●Negative numbers is represented by the complement of 65536. For example, when moving in the left
direction n pitches, use: nL+ nH ×256 = 65536-N
●The basic calculated pitch is set by GSP (basic calculated pitch setting).
●If there are fractions in the result, correct to the minimum mechanical pitch and discard.
●Use the basic calculated pitch (x) for the horizontal direction in standard mode.
●The following operations occur according to the starting point in page mode.
a. If the starting point is set to upper left or lower right by the ESC T (Select character print direction in page
mode) command, specify the relative position of the vertical direction in the paper feed. Use the basic
calculated pitch (x) for the horizontal direction at this time.
b. If the starting point is set to upper right or lower left by the ESC T (Select character print direction in page
mode) command, move the print position in the paper feed direction. Use the basic calculated pitch (y) for
the horizontal direction at this time.
Reference: ESC $, GS P
(24)
ESC a Position alignment
Format: ASCII ESC a n
Hex. 1B 61 n
Decimal 27 97 n
Range: 0 ≤ n ≤ 2, 48 ≤ n ≤ 50
Default Value: n = 0
Description: Aligns all print data in one line to a specified position.
N
Position
0, 48
Left alignment
1, 49
Center
2, 50
Right alignment
Notes:
●This command is effective only when input at the top of the line when standard mode is being used.
●This command has no affect in page mode. In page mode, this command is only effective for the setting.
●Specifies the alignment position in the printing region that has been set.

15
●Portions skipped using command HT, ESC $ and ESC \ are also targeted for position alignment.
E.g. Left alignment Center Right alignment
(25)
ESC d Print and feed paper n lines
Format: ASCII ESC d n
Hex. 1B 64 n
Decimal 27 100 n
Range: 0 ≤n ≤255
Description: Prints the data in the print buffer and performs a paper feed of n lines.
Notes:
●Sets the print position to the beginning of the next line after printing.
●Line feeds set by command ESC 2 and ESC 3 are not affected.
●Paper is fed approximately 1016 mm (40 inc hes) if the [n x line feed amount] exceeds approximately 1016
mm (40 inches) .
Reference: ESC 2, ESC 3
(26)
ESC i Execute partial-cut (one point left uncut)
Format: ASCII ESC i n
Decimal 27 105 n
Hex. 1B 69 n
Description: Execute a partial cut of the paper.
(27)
ESC p m t1 t2 Specify cash drawer impulse
Format: ASCII ESC p m t1 t2
Hex 1B 70 m t1 t2
Decimal 27 112 m t1 t2
Range: m = 0,48,1,49
0 ≤t1 ≤255
0≤t2 ≤255
●Drawer kick on time is set to [t1*2] millisecond; off time is set to [t2*2] millisecond.
●When t2 < t1, the value of t2 is processed as t2=t1..
●If t2 <50, its value is supposed to be 50.
(28)
ESC t n Select character code table
Format: ASCII ESC t n
Hex 1B 74 n
Decimal 27 116 n
ABC
ABCD
ABCDE
ABC
ABCD
ABCDE
ABC
ABCD
ABCDE

16
Range: 0≤n≤255
Initial Value: n=0
Function: Select page n of the character code table.
n
Character Type
0
PC347(U.S.A)
3
PC860(Portuguese)
4
PC863(Canada-French)
5
PC865(Nordic)
7
(Spanish)
8
PC857(Turkey)
10
(Farsi)
14
PC864(Arabic)
18
PC852 (Latin2)
20
PC737(Greek)
22
PC864 (Arabic)
25
WPC1254(Turkey)
27
(Vietnam)
32
WPC1255(Israel)
33
Rumania
59
PC866 (Cyrillic #2)
61
PC857(Turkey)
68
(Armenia)
(29)
ESC v Transmit paper sensor status
Format: ASCII ESC v
Decimal 27 118
Hex 1B 76
ESC v transmits the status of a paper sensor as 1 byte of data. This command allows the host to obtain the
near-end or paper-out status for each line. GS r 1 can also be used to check the status. GS r is recommended for
transmitting the paper sensor status. The status to be transmitted is shown in the table below.
Bit
Off/On
Hex
Decimal
Status
0,1
Off
00
0
Paper roll near-end sensor: paper adequate.
On
03
3
Paper roll near-end sensor: paper near end.
Off
00
0
Paper roll end sensor: paper present.
On
(0C)
(12)
Paper roll end sensor: paper not present.
4
Off
00
0
Not used. Fixed to Off.
5,6
-
-
-
Undefined.
7
Off
00
0
Not used. Fixed to Off.
(30)
ESC { Turn upside-down printing mode on/off
Format: ASCⅡESC { n
Decimal 27 123 n
Hex 1B 7B n

17
Range: 0≤n≤255
ESC { n turns upside-down printing mode on or off. When the LSB (least significant bit) of n is 1,
upside-down printing mode is turned on; when it is 0, upside-down printing mode is turned off. The default
setting is n=0. When upside-down 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. In standard
mode, this command is enabled only when processed at the beginning of a line. In page mode, an internal flag is
activated and this command is enabled when the printer returns to standard mode.
(31)
FS ! n Set Chinese characters printing mode compages
Format: ASCII FS ! n
Decimal 28 33 n
Hex 1C 21 n
Range: 0≤n≤255
Set the parameter n of Chinese characters printing mode as follows:
Digit
0/1
Hex
Decimal
Function
0, 1
-
-
Undefined.
2
0
00
0
Double-width mode not selected.
1
04
4
Double-width mode selected.
3
0
00
0
Double-height mode not selected.
1
08
8
Double-height mode selected.
4-6
--
--
Undefined.
7
0
00
0
Underline not selected.
1
128
80
Underline selected.
(32)
FS S n1 n2 Set Chinese character space amount
Format: ASCII FS S n1 n2
Decimal 28 83 n1 n2
Hex 1C 53 n1 n2
Range: 0≤n1≤255, 0≤n2≤255
Initial value: n1=0, n2=0
Description: 1. Sets the Chinese character space amount and right space amount.
2. Left space amount: n1 x (basic calculated pitch)
3. Right space amount: n2 x (basic calculated pitch)
Note:
●The space amount set by this command is the amount when using standard sized characters. When expanding
characters more than double in the horizontal direction, the space amount is [set amount x horizontal
direction magnification].
●Space amount can be set independently for both the standard and page modes.
●The basic calculated pitch is set by GSP (Set basic calculated pitch). Also, after setting the Chinese character
space amount, it is not affected even if the basic calculated pitch is changed.
●If there are fractions in the result, correct to the minimum mechanical pitch and discard.
●Use the basic calculated pitch (x) for the horizontal direction in standard mode.
●In page mode, the basic calculated pitch that is used according to the starting point is shown below.

18
a. When the starting point is specified to be upper left or lower right by the ESC T command (Character print
direction selection in page mode), the basic calculated pitch (x) for the horizontal direction is used.
b. When the starting point is specified to be upper right or lower left by the ESC T command, the basic
calculated pitch (y) for the vertical direction is used.
c. The maximum value for the left or right space for Chinese characters is approximately 35.893 mm
(255/180 inches). Specifications that exceed the maximum value are rounded off to that value.
Reference: GSP
(33)
FS p n m Print the bit image that download to flash
Format ASCII FS pn m
Hex 1C 70 n m
Decimal 28 112 n m
Range: 1≤ n ≤ 255, 0 ≤ m ≤ 3, 48 ≤ m ≤ 51
Description: Using mode m to print bit image that download to flash.
m
Mode
Density of Vertical Direction Dots
Density of Horizontal Direction Dots
0, 48
Normal Mode
180DPI
180 DPI
1, 49
Double-wide Mode
180DPI
90 DPI
2, 50
Double-tall Mode
90 DPI
180 DPI
3, 51
Quadruple Mode
90 DPI
90 DPI
n specifies the bit image(defined by command FS q) number.
m specifies the bit-image mode.
Details:
Flash bit image is a bit image defined in flash memory by FS q and printed by this command.
This command is ignored when the bit image is undefined.
This command is effective only when no data exists in the print buffer in standard mode.
Excluding upside-down printing, print modes (emphasized printing, double printing, double wide, double
tall, underlines, character sizes, black/white inverted printing and 90 degree clockwise rotation) are
unaffected.
If bit image specification is of a size that exceeds the print region, the data in the print region is targeted for
printing, but the excessive data is not printed.
This command feeds dots (for the height n of the NV bit image) in normal and double-width modes,
and (for the height of the NV bit image n x 2) in double-height and quadruple modes, regardless of
the line spacing specified by ESC 2 or ESC 3.
After printing the bit image, this command sets the print line feed and processes the subsequent data as
normal data.
Reference: ESC *, FS q, GS /, GS v 0
(34)
FS q n [xL xH yL yH d1...dk] 1... [xL xH yL yH d1...dk] n Define NV bit image
Format ASCII FS q n [xLxHyLyHd1...dk]1 ... [xLxHyLyHd1...dk] n
Hex 1C 71 n [xLxHyLyHd1...dk]1 ... [xLxHyLyHd1...dk] n
Decimal 28 113 n [xLxHyLyHd1...dk]1 ... [xLxHyLyHd1...dk] n
Range:
1 ≤ n ≤ 255
0 ≤ xL ≤ 255
Other manuals for PP7MX
1
Table of contents
Other Pinnacle Technology Printer manuals

Pinnacle Technology
Pinnacle Technology PP7MX Assembly instructions

Pinnacle Technology
Pinnacle Technology ACLAS PP7M21NX User manual

Pinnacle Technology
Pinnacle Technology PP7X Series User manual

Pinnacle Technology
Pinnacle Technology PP7X Series User manual

Pinnacle Technology
Pinnacle Technology KP7X User manual

Pinnacle Technology
Pinnacle Technology Aclas PP8X Assembly instructions

Pinnacle Technology
Pinnacle Technology KP7MX Assembly instructions