POSBank A10plus Command Reference Manual

A10plus Receipt Printer
Command Reference Manual Rev. 1.50
Rev. 1.50
A10plus MiniPrinter
CONFIDENTIAL
1. Control Commands List
Command
Hex. codes
Function
Function
type
Classfication
Executing
Cmds
Setting
Cmds
<HT>
09
Horizontal tab
Print position
<LF>
0A
Print and line feed
Print
<FF>
0C
Print and return to standard mode (in page mode)
Print
<CR>
0D
Print and carriage return
Print
<CAN>
18
Cancel print data in page mode
Character
<DLE> <EOT>
10 04 n
Transmit real-time status
Status
<SYN>
16 n
Turn melody on/off
Miscellaneous function
<ESC> <FF>
1B 0C
Print data in page mode
Print
<ESC> <SP>
1B 20 n
Set right-side character spacing
Character
<ESC> !
1B 21 n
Select print mode(s)
Character
<ESC> $
1B 24 nL nH
Set absolute print position
Print position
<ESC> %
1B 25 n
Select/cancel user-defined character set
Character
<ESC> &
1B 26 y c1 c2
Define user-defined characters
Character
<ESC> *
1B 2A m nL nH
Select bit-image mode
Bit image
<ESC> -
1B 2D n
Turn underline mode on/off
Character
<ESC> 2
1B 32
Select default line spacing
Line spacing
<ESC> 3
1B 33 n
Set line spacing
Line spacing
<ESC> =
1B 3D n
Select peripheral device
Miscellaneous function
<ESC> ?
1B 3F n
Cancel user-defined characters
Character
<ESC> @
1B 40
Initialize printer
Miscellaneous function
<ESC> D
1B 44 … 00
Set horizontal tab positions
Print position
<ESC> E
1B 45 n
Turn emphasized mode on/off
Character
<ESC> G
1B 47 n
Turn double-strike mode on/off
Character
Rev. 1.50
A10plus MiniPrinter
CONFIDENTIAL
<ESC> J
1B 4A n
Print and feed paper
Print
<ESC> L
1B 4C
Select page mode
Miscellaneous function
<ESC> M
1B 4D n
Select character fonts
Character
<ESC> R
1B 52 n
Select an international character set
Character
<ESC> S
1B 53
Select standard mode
Miscellaneous function
<ESC> T
1B 54 n
Select print direction in page mode
Print position
<ESC> V
1B 56 n
Turn 90° clockwise rotation mode on/off
Character
<ESC> W
1B 57
Set print area in page mode
Print position
<ESC>
1B 5C n
Set relative print position
Print position
<ESC> a
1B 61 n
Select justification
Print position
<ESC> d
1B 64 n
Print and feed n lines
Print
<ESC> i
1B 69
Partial cut (one point left uncut)
Mechanism control
<ESC> m
1B 6D
Partial cut (three points left uncut)
Mechanism control
<ESC> p
1B 70 m t1 t2
Generate pulse
Miscellaneous function
<ESC> t
1B 74
Select character code table
Character
<ESC> {
1B 7B n
Turn upside-down print mode on/off
Character
<FS> p
1C 70 n m
Print NV bit image
Bit image
<FS> q
1C 71 n …
Define NV bit image
Bit image
<GS> !
1D 21 n
Select character size
Character
<GS> $
1D 24 nL nH
Set absolute vertical print position in page mode
Print position
<GS> ( k
1D 28 6B
QR Code printing control
Miscellaneous Commands
<GS> *
1D 2A x y …..
Define downloaded bit image
Bit image
<GS> /
1D 2F n
Print downloaded bit image
Bit image
<GS> B
1D 42 n
Turn white/black reverse print mode on/off
Character
<GS> H
1D 48 n
Select print position of HRI characters
Bar code
<GS> I
1D 49 n
Transmit printer ID.
Status
<GS> L
1D 4C nL nH
Set left margin
Print position
Rev. 1.50
A10plus MiniPrinter
CONFIDENTIAL
<GS> P
1D 50 x y
Set horizontal and vertical motion units
Miscellaneous function
<GS> V
1D 56 m 1D 56 m n
Select cut mode and cut paper
Mechanism control
<GS> W
1D 57 nL nH
Set print area width
Print position
<GS> \
1D 5C nL nH
Set relative vertical print position in page mode
Print position
<GS> a
1D 61 n
Enable/Disable Automatic status back(ASB)
Status
<GS> f
1D 66 n
Select font for HRI characters
Bar code
<GS> h
1D 68 n
Set bar code height
Bar code
<GS> k
1D 6B m … NUL 1D 6B m n …
Print bar code
Bar code
<GS> r
1D 72 n
Transmit status
Status
<GS> v
1D 76 30
Print raster bit image
Bit image
<GS> w
1D 77 n
Set bar code width
Bar code
Black Mark Function Command
<FF>
0C
Print and recover to page mode
Black Mark
<GS> <FF>
1D 0C
Top of form of mark paper
Black Mark
<GS> V
1D 56 m 1D 56 m n
Paper Cut Position Feed
Black Mark
<GS> <
1D 3C
Mechanically initialize printer
Black Mark
<GS> A
1D 41 m n
Marked Paper Form Feed Position Correct
Black Mark
<GS> ( F
1D 28 46 pL pH a m nL nH
Set black mark adjustment value
Black Mark
<GS> ( M
1D 28 4D pL pH n m
Save black mark adjustment value. Load black mark adjustment value. Set black mark adjustment value auto-load when powering on.
Black Mark
Rev. 1.50
A10plus MiniPrinter
CONFIDENTIAL
2. Control Command Details
Command
Description
HT
[Name] Horizontal tab [Format] ASCII HT Hex 09 Decimal 9 [Range] None [Default] None [Printers not featuring this command] None [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.
Horizontal tab positions are set by ESC D.
If the next horizontal tab position exceeds the print area, the printer sets the print position to [Print area width + 1].
If this command is processed when the print position is at [Print 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 print position is moved.
When underline mode is turned on, the underline will not be printed under the tab space skipped by this command.
Rev. 1.50
A10plus MiniPrinter
CONFIDENTIAL
LF
[Name] Print and line feed [Format] ASCII LF Hex 0A Decimal 10 [Range] None [Default] None [Printers not featuring this command] None [Description] Prints the data in the print buffer and feeds one line, based on the current line spacing. [Notes]
The amount of paper fed 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.
Rev. 1.50
A10plus MiniPrinter
CONFIDENTIAL
FF(page)
[Name] Print and return to standard mode (in page mode) [Format] ASCII FF Hex 0C Decimal 12 [Default] None [Range] None
[Description] In page mode, prints all the data in the print buffer collectively and switches from page mode to standard mode. [Notes]
This command is enabled only in page mode. See FF (in standard mode) to use this command in standard mode. Page mode can be selected by ESC L or FS L.
The data is deleted in the print area after being printed.
This command returns the values set by ESC W to the default values.
The value set by ESC T is maintained.
After printing, the print 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.
Rev. 1.50
A10plus MiniPrinter
CONFIDENTIAL
CR
[Name] Print and carriage return [Format] ASCII CR Hex 0D Decimal 13 [Description] Executes one of the following operations.
Print head
When auto line feed is enabled
When auto line feed is disabled
Line thermal
Executes printing and one line feed as LF
This command is ignored
Serial dot head
Executes printing and one line feed as LF
In standard mode, prints the data in the print buffer and moves the print position to the beginning of the print line.
In page mode, moves the print position to the beginning of the print line.
[Notes] With a serial interface, the command performs as if auto line feed is disabled.
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.
Rev. 1.50
A10plus MiniPrinter
CONFIDENTIAL
CAN
[Name] Cancel print data in page mode [Format] ASCII CAN Hex 18 Decimal 24 [Range] None [Default] None [Description] In page mode, deletes all the print data in the current print area. [Notes] This command is enabled only in page mode. Page mode is selected by ESC L.
If data set in the previously specified print area is set in the currently specified print area, it is deleted.
- 10 -
Rev. 1.50
A10plus MiniPrinter
CONFIDENTIAL
DLE EOT n
[Name] Transmit real-time status [Format] ASCII DLE EOT n Hex 10 04 n
Decimal 16 4 n
[Range] 1 n 4 [Description] Transmits the real-time status, using n as follows:
n
Function
1
Transmit printer status
2
Transmit offline status
3
Transmit error status
4
Transmit roll paper sensor status
[Notes]
This is a real-time command that the printer executes upon receiving it. Take the following into consideration:
• If this command interrupts the code string of another command, this command is processed as a parameter of the other command; therefore, the print result will not be correct.
• If a command such as graphics data or defined data has a code string that is the same as a code string in a parameter, the printer processes and then continues with the bit-image or other command.
With a serial interface model, this command is executed even when the printer is offline, the receive buffer is full, or an error occurs.
With a parallel interface model, this command is not executed in the following conditions, because the printer is busy and unable to receive data from the host computer.
This command can be used when the printer is disabled by ESC =.
This command is ignored when transmitting block data (Header ~ NUL).
Each status equals 1 byte.
- 11 -
Rev. 1.50
A10plus MiniPrinter
CONFIDENTIAL
■ Printer status (n = 1) is as follows:
■ Offline status A (n = 2) is as follows:
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 Drawer kick-out connector pin 3 is LOW.
1
04 4 Drawer kick-out connector pin 3 is HIGH.
3
0
00 0 Online.
1
08 8 Offline.
4 1 10
16
Not used. Fixed to On.
5
0
00 0 Not waiting for online recovery.
1
20
32
Waiting for online recovery.
6
0
00 0 Paper is not being fed by the paper feed button.
1
40
64
Paper is being fed by the paper feed button.
7 0 00 0 Not used. Fixed to Off.
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 Cover is closed.
1
04 4 Cover is open.
3
0
00 0 Paper is not being fed by the paper feed Button
1
08 8 Paper is being fed by the paper feed button.
- 12 -
Rev. 1.50
A10plus MiniPrinter
CONFIDENTIAL
Error status (n = 3) is as follows:
• If recoverable error (bit 2) or autocutter error (bit 3) occurs due to paper jams or the like, it is possible to recover by correcting the cause of the error and executing DLE ENQ.
• If an unrecoverable error (bit 5) occurs, turn off the power as soon as possible.
4 1 10
16
Not used. Fixed to On.
5
0
00 0 No paper-end stop
1
20
32
No paper-end stop
6
0
00 0 No error.
1
40
64
Error occurred..
7 0 00 0 Not used. Fixed to Off.
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 No recoverable error.
1
04 4 Cover is open.
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 No unrecoverable error
1
20
32
Unrecoverable error occurred.
6
0
00 0 No auto-recoverable error.
1
40
64
Auto-recoverable error occurred.
7 0 00 0 Not used. Fixed to Off.
- 13 -
Rev. 1.50
A10plus MiniPrinter
CONFIDENTIAL
Roll paper sensor status (n = 4) is as follows:
• Some paper sensors are not present, )depending on the printer model. The names of some paper sensors are different, depending on the printer model.
Printer status (n = 1) Bits 5 and 6 of the printer status are undefined.
Error status (n = 3) Bit 2 of the error status is undefined.
Roll paper sensor status (n = 4) When the roll paper cover is open, paper detection (detected by the roll paper end sensor) may be incorrect.
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
00
00 0 Roll paper near-end sensor: paper adequate.
11
0C
12
Roll paper near-end sensor: paper near end.
4 1 10
16
Not used. Fixed to On.
5,6
00
00 0 Roll paper end sensor: paper present.
11
60
96
Roll paper end sensor: paper not present.
7 0 00 0 Not used. Fixed to Off.
- 14 -
Rev. 1.50
A10plus MiniPrinter
CONFIDENTIAL
SYN n
[Name] Turn melody on/off [Format] ASCII SYN n Hex 16 n Decimal 22 n [Range] n = 0, 1, 48, 49 [Default] n = 0 [Description] Turns melody on or off using n as follows
n
Function
0, 48
Turns melody off.
1, 49
Turns melody on.
- 15 -
Rev. 1.50
A10plus MiniPrinter
CONFIDENTIAL
ESC FF
[Name] Print data in page mode [Format] ASCII ESC FF Hex 1B 0C Decimal 27 12 [Description] In page mode, prints the data in the print buffer collectively. [Notes]
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 print position, or values set by other commands.
The printer returns to standard mode with FF, ESC S, and ESC @. When it returns to standard mode by ESC @, all settings are canceled.
This command is used when the data in page mode is printed repeatedly.
- 16 -
Rev. 1.50
A10plus MiniPrinter
CONFIDENTIAL
ESC SP n
[Name] Set right-side character spacing [Format] ASCII ESC SP n Hex 1B 20 n Decimal 27 32 n [Range] 0 n 255 [Default] n = 0 [Description] Sets the right-side character spacing to n × (horizontal or vertical motion unit). [Notes]
The character spacing set by this command is effective for alphanumeric, Kana, Thai, and user-defined characters.
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 print 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 print area using ESC T, the vertical motion unit is used.
The character spacing can be set independently in standard mode and in page mode.
• In standard mode this command sets the character spacing of standard mode.
• In page mode this command sets the character spacing of page mode.
If the horizontal or vertical motion unit is changed after this command is executed, the character spacing is not changed.
■ Settings of this command are effective until ESC @ is executed, the printer is reset, or the power is turned off.
■ It is used to change the spacing between characters.
- 17 -
Rev. 1.50
A10plus MiniPrinter
CONFIDENTIAL
ESC !
[Name] Select print mode(s) [Format] ASCII ESC ! n Hex 1B 21 n Decimal 27 33 n [Range] 0 n 255 [Default] n = 0 [Description] Selects the character font and styles (emphasized, double-height, double-width, and underline) together as follows:
n: Bit
Off/On
Hex
Decimal
Function
0 Off
00 0 Character font 1 selected.
On
01 1 Character font 2 selected.
1, 2 — — — Undefined.
3 Off
00 0 Emphasized mode is turned off.
On
08 8 Emphasized mode is turned on.
4 Off
00 0 Double-height canceled.
On
10
16
Double-height selected.
5 Off
00 0 Double-width canceled.
On
20
32
Double-width selected.
6 — — — Undefined.
7 Off
00 0 Underline mode is turned off
On
80
128
Underline mode is turned on.
[Notes] ■ Settings of this command are effective until ESC @ is executed, the printer is reset, the power is turned off, or one of the following commands is executed:
• Bit 0 (character font): ESC M
• Bit 3 (Emphasized mode): ESC E
- 18 -
Rev. 1.50
A10plus MiniPrinter
CONFIDENTIAL
• Bit 4, 5 (character size): GS !
• Bit 7 (underline mode): ESC –
■ Configurations of Font 1 and Font 2 are different, depending on the printer model. If the desired font type cannot be selected with this command, use ESC M.
■ The print modes set by this command (Bit 0, 4, 5 and 7) are effective for alphanumeric, DBCS(Double Base Code System) and user-defined characters.
■ The emphasized print modes set by this command (Bit 3) are effective for alphanumeric, DBCS(Double Base Code System), multilingual, and user-defined characters.
■ When some characters in a line are double-height, all characters on the line are aligned at the baseline.
■ When double-width mode is turned on, the characters are enlarged to the right, based on the left side of the character.
■ When both double-height and double-width modes are turned on, quadruple size characters are printed.
■ 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.
■ In page mode, double-height and double-width are on the character orientation.
■ The underline thickness is that specified by ESC –, regardless of the character size.
■ When underline mode is turned on, 90° clockwise-rotated characters and white/black reverse characters cannot be underlined.
■ The printer cannot underline the space set by HT, ESC $, and ESC \.
- 19 -
Rev. 1.50
A10plus MiniPrinter
CONFIDENTIAL
ESC $
[Name] Set absolute print position [Format] ASCII ESC $ nL nH Hex 1B 24 nL nH Decimal 27 36 nL nH [Range] 0 nL 255 0 nH 255 [Description] Moves the print position to (nL + nH × 256) × (horizontal or vertical motion unit) from the left edge of the print area. [Notes]
The printer ignores any setting that exceeds the print 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 print 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 print area using ESC T, the vertical motion unit is used.
If the horizontal or vertical motion unit is changed after this command is executed, the print position is not changed.
Even if underline mode is turned on, the underline will not be printed under the space skipped by this command.
- 20 -
Rev. 1.50
A10plus MiniPrinter
CONFIDENTIAL
ESC %
[Name] Select/cancel user-defined character set [Format] ASCII ESC % n Hex 1B 25 n Decimal 27 37 n [Range] 0 n 255 [Default] n = 0 [Description] Selects or cancels the 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 power is turned off.
- 21 -
Rev. 1.50
A10plus MiniPrinter
CONFIDENTIAL
ESC &
[Name] Define user-defined characters [Format] ASCII ESC & y c1 c2 [x1 d1 ... d(y × x1)] ... [xk d1 ... d(y × xk)] Hex 1B 26 y c1 c2 [x1 d1 ... d(y × x1)] ... [xk d1 ... d(y × xk)] Decimal 27 38 y c1 c2 [x1 d1 ... d(y × x1)] ... [xk d1 ... d(y × xk)] [Range]
y = 3
32 c1 c2 126 0 x 12 (Font A (14 × 28)) 0 x 9 (Font B (10 × 20)) 0 d 255
k = c2c1 + 1
[Default] None [Description] Defines the user-defined character pattern for the specified character codes.
y specifies the number of bytes in the vertical direction.
c1 specifies the beginning character code for the definition, and c2 specifies the final code.
x specifies the number of dots in the horizontal direction from the left.
d specifies the defined data (column format).
k indicates the number of defined data. k is an explanation parameter; therefore it does not need to be transmitted.
[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 (y × x) bytes.
When the value of y, c1, c2, or x is out of the range, this command is canceled, and
- 22 -
Rev. 1.50
A10plus MiniPrinter
CONFIDENTIAL
the 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 on some printer models.
• When this command is executed, the downloaded bit image is cleared.
■ 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 × 7 dots.
d1
d3
d5
d7
d9
d11
d13
MSB
LSB MSB
LSB
d2
d4
d6
d8
d10
d12
d14
- 23 -
Rev. 1.50
A10plus MiniPrinter
CONFIDENTIAL
ESC *
[Name] Select bit-image mode [Format] ASCII ESC m nL nH d1 ... dk Hex 1B 2A m nL nH d1 ... dk Decimal 27 42 m nL nH d1 ... dk [Range] m = 0, 1, 32, 33 0 nL 255 0 nH 3 0 d 255
k = nL + nH × 256 [in case of m = 0, 1] k = (nL + nH × 256) × 3 [in case of m = 32, 33]
[Default] None [Description] Stores the bit image data in the print buffer using the mode specified by m as follows:
m
Mode
Number of bits for
vertical data
Dot density in
horizontal
Amount of data (k)
0
8-dot single-density
8
Single-density
nL + nH × 256
1
8-dot double-density
8
Double-density
nL + nH × 256
32
24-dot single-density
24
Single-density
(nL +nH × 256) × 3
33
24-dotdouble-density
24
Double-density
(nL + nH × 256) × 3
nL, nH specifies a bit image in the horizontal direction as (nL + nH × 256) dots.
• specifies the bit image data (column format).
k indicates the amount of bit image data. k is an explanation parameter; therefore it does not need to be transmitted.
[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.
- 24 -
Rev. 1.50
A10plus MiniPrinter
CONFIDENTIAL
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 print mode.
After printing a bit image, the printer processes normal data.
When printing multiple line bit images, selecting unidirectional print mode with ESC U enables printing patterns in which the top and bottom parts are aligned vertically.
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) 24 dot mode (m = 32, 33)
d1
d1
......
dk
MSB
LSB
d1
d4
......
dk-2
MSB
LSB
MSB
LSB
MSB
LSB
d2
d5
......
dk-1
d3
d6
......
dk
- 25 -
Rev. 1.50
A10plus MiniPrinter
CONFIDENTIAL
ESC -
[Name] Turn underline mode on/off [Format] ASCII ESC – n Hex 1B 2D n Decimal 27 45 n [Range] 0 ≤ n ≤ 2, 48 ≤ n ≤ 50 [Default] n = 0 [Description] Turns underline mode on or off using n as follows:
n
Function
0, 48
Turns off underline mode
1, 49
Turns on underline mode (1-dot thick)
2, 50
Turns on underline mode (2-dots thick)
[Notes]
The underline mode is effective for alphanumeric, Kana, Thai, and user-defined characters.
When underline mode is turned on, 90° clockwise rotated characters and white/black reverse characters cannot be underlined.
The printer cannot underline the space set by HT, ESC $, and ESC \.
Changing the character size does not affect the current underline thickness.
When underline mode is turned off, the following data cannot be underlined, but the thickness is maintained.
This command and bit 7 of ESC ! turn on and off underline mode in the same way.
Some of the printer models support the 2-dot thick underline (n = 2 or 5).
- 26 -
Rev. 1.50
A10plus MiniPrinter
CONFIDENTIAL
ESC 2
[Name] Select default line spacing [Format] ASCII ESC 2 Hex 1B 32 Decimal 27 50 [Range] None [Default] None [Description] Sets the line spacing to the “default line spacing.” [Notes]
The line spacing can be set independently in standard mode and in 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 is executed, ESC @ is executed, the printer is reset, or the power is turned off.
- 27 -
Rev. 1.50
A10plus MiniPrinter
CONFIDENTIAL
ESC 3
[Name] Set line spacing [Format] ASCII ESC 3 n Hex 1B 33 n Decimal 27 51 n [Range] 0 n 255 [Default] Printers other than the above: Amount of line spacing which corresponds to “default line spacing.” (See ESC 2 for the default line spacing.) [Description] Sets the line spacing to n × (vertical or horizontal motion unit). [Notes]
The maximum line spacing is 1016 mm {40 inches}. If the specified amount exceeds 1016 mm {40 inches}, the line spacing is automatically set to 1016 mm {40 inches}.
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 print 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 print area using ESC T, the horizontal motion unit is used.
The line spacing can be set independently in standard mode and in 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.
When the motion unit is changed after the line spacing is set, the line spacing setting does not change.
Selected line spacing is effective until ESC 2 is executed, ESC @ is executed, the printer is reset, or the power is turned off.
- 28 -
Rev. 1.50
A10plus MiniPrinter
CONFIDENTIAL
ESC =
[Name] Select peripheral device [Format] ASCII ESC = n Hex 1B 3D n Decimal 27 61 n [Range] 1 n 3 [Default] n = 1 [Default] Selects the device to which the host computer transmits data, using n as follows:
n
Function
1,3
Enables printer.
2
Disables printer
[Notes]
When the printer is disabled, it ignores all received data and commands with the exception of ESC = and real-time commands.
If ASB is enabled when the printer is disabled by this command, the printer transmits the ASB status message whenever the status changes. See the description of GS a for ASB function.
Settings of this command are effective until ESC @ is executed, the printer is reset, or the power is turned off.
The default value when the power supply is turned on and when ESC @ is executed might be different.
• The default value when the power supply is turned on becomes the [default value].
- 29 -
Rev. 1.50
A10plus MiniPrinter
CONFIDENTIAL
ESC ?
[Name] Cancel user-defined characters [Format] ASCII ESC ? n Hex 1B 3F n Decimal 27 63 n [Range] 32 n 126 [Default] None [Description] Deletes the user-defined character pattern specified by character code n. [Notes]
After the 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.
- 30 -
Rev. 1.50
A10plus MiniPrinter
CONFIDENTIAL
ESC @
[Name] Initialize printer [Format] ASCII ESC @ Hex 1B 40 Decimal 27 64 [Range] None [Default] None [Description] Clears the data in the print buffer and resets the printer modes to the modes that were in effect when the power was turned on.
• Any macro definitions are not cleared.
• Offline response selection is not cleared.
GS A settings are not cleared.
• Contents of user NV memory are not cleared.
• NV graphics (NV bit image) and NV user memory are not cleared.
• The maintenance counter value is not affected by this command.
• The specifying of offline response isn’t cleared. [Notes]
The DIP switch settings are not checked again. The data in the receive buffer is not cleared. When this command is processed in page mode, the printer deletes the data in the print 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 print 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.
Loading...
+ 92 hidden pages