The words on the left side of this screen are bookmarks for all the
topics in this guide.
Use the scroll bar next to the bookmarks to find any topic you
want. Click a bookmark to instantly jump to its topic. (If you wish,
you can increase the size of the bookmark area by dragging the
dividing bar to the right.)
Use the scroll bar on the right side of this screen to move through
the text.
Use the zoom tools to magnify or reduce the page display.
Click the Find button if you want to search for a particular term.
(However, using the bookmarks is usually quicker.)
Complete online documentation for Acrobat Reader is located in the Help directory for Acrobat Reader.
Return to main menu
®
®
Guide to
TM-T88/T88P
(TM-T85/T85P)
400670500
SEIKO EPSON C O RPORATION
The programming examples in this manual are provided for the sole purpose of illustrating the
functions of the products. Seiko Epson Corporation makes no warranty, either expressed or implied,
as to their reliability and appropriateness for other uses.
All rights reserved . No part of this publicatio n may be reproduced , stored in a retrieval system, o r
transmitted in any form or by any means, electronic, mechanical, photocopying, recording, or
otherwise, without the prior written perm ission of Seiko Epso n Corporation. No patent liability is
assumed with respect to the use of the information contai ned herein. Whil e every precaution has been
taken in the preparation of this book, Seiko E pson Corporation assumes no responsibil ity for errors or
omissions. Neither is any liability assumed for damages resulting from the use of the information
contained herein.
Neither Seiko Epson Corporation nor its affiliates shall be liable to the purchaser of this product or
third parties for damages, losses, costs, or expenses incurred by purchaser or third parties as a result
of: accident, misuse, or abuse of this product or unauthorized modificati ons, rep airs, or al ter ati ons to
this product, or (excluding the U.S.) failure to strictly comply with Seiko Epson Corporation’s
operating and maintenance instructions.
Seiko Epson Corporation shall not be liable against any damages or problems arising from the use of
any options or any consumable products other than those designated as Original Epson Products or
Epson Approved Products by Seiko Epson Corporation.
EPSON and ESC/POS are registered trademarks of Seiko Epson Corporation.
NOTICE: The contents of this manual are subject to change without notice.
2070 Kotobuki Koaka, Matsumoto-shi, Nagano-ken 399, Japan
SEIKO EPSON CORPORATION
SYSTEM DEVICE DIVISION
2070 Kotobuki Koaka, Matsumoto-shi, Nagano-ken 399, Japan
Introduction
ESC/POS
The market for store automation equipment is changing rapidly with the widespread
introduction of POS (point of sale) terminals. These terminals are now appearing even in small
retail stores and specialty shops. They occupy a secure position in the range of applications
available for personal computers.
As more personal computers come to be used as POS terminals, the demand for matching
standardized peripheral devi ces is expected to rise. At present, however, many of t he competing
POS terminal printer displays on the market employ mutually incompatible command sets. This
imposes limits on the expandability and range of applications possible with PC-based systems.
There is a need for a new command set designed to provide the expandability and universal
applicability demanded by the market.
To meet this need, Seiko Epson Corporation proposes the adoption of a newly developed
command set to standardize POS terminal peripheral devices: ESC/POS (Epson Standard Code
for Point of S ale).
The aim when developing ESC/POS was to create a set of control codes that could be used to
operate any output device c onnected to a PO S terminal. T hese new codes ar e intended to replace
the mutually incompatible command sets previously in use.
TM/DM series models already support ESC/POS, and they have been evaluated highly in the
marketplace.
Seiko Epson Corporation plans to produ ce new models in t he TM/DM series offeri ng ESC/POS
support and to continue to work for the standardization of the entire POS environment to
promote the dissemination of ESC/POS.
About This Manual
❏Chapter 1 contains a table of supported commands, descriptions of all the commands
arranged by function with program examples and print samples, and character code tables.
❏Chapter 2 contains an example showing several commands used in a program for issuing a
coupon containing bar codes.
❏Chapter 3 contains a table of the commands listed by function type and a table showing
which commands are supported by various EPSON printers.
Rev. Ai
Features
The TM-T88 and TM-T88P (TM-T85/T85P) can be used as one-statio n printers for ECR and POS,
as ticket-issuing devices, and as output devices for weighing and measuring. The printers have
the following features:
❏Light weigh t and ultra- compact size.
❏High speed printing: 16.5 lines per second. (12 lines per second for TM85/T85P).
❏Low-noise thermal printing.
❏Easy maintenance for tasks such as head cleaning.
❏New paper handling enables easy paper roll setting.
❏Command protocol based on the ESC/POS™ standard.
❏Various layouts possible using page mode.
❏Font selection (12 × 24 or 9 × 24) possible using a command.
❏Character extension (up to 64 times the standard size) and character smoothing.
❏Four different print densities selectable via DIP switch settings.
❏Water-resistant operation panel.
❏Bar code printing possible both in the vertical direction (fence bar code) and horizontal
direction (ladder bar code in page mode) using a command.
❏Repeated operation and copy printing possible using macro definitions.
❏Control capability for two drawers via the built-in interface.
❏The auto-cutter is equipped.
Option
❏EPSON power supply unit, PS-170.
ii Rev. A
Specifications
❏Printing specifications
Printing method:Thermal line printing
Printing speed:Approximately 16.5 lines/second (1/6-inch feed)
Following this table are all the commands organized by function and described with program
examples and print samples. The print samples are images of the printing results of the program
examples; they do not represent actual printing.
Supported Commands
Command N ameFunction Type
HT
LF
FF
CR
CAN
DLE EOT
DLE ENQ
ESC FF
ESC SP
ESC !
ESC $
ESC %
ESC &
✻Select bit-image modeBit image1-28
ESC
ESC –
ESC 2
ESC 3
ESC =
ESC ?
ESC @
ESC D
ESC E
ESC G
ESC J
ESC L
ESC R
ESC S
ESC T
Horizontal tabPrint position1-23
Print and line feedPrint 1-4
Print and return to standard mode (in page
mode)
Print and carriage returnPrint1-4
Cancel print data in page modeCharacter1-18
Real-time status transmissionStatus1-35
Real-time reques t to p rin t e rMiscellaneous function1-52
Print data in pag e mo dePrint1 -6
Set right-side character spacingCharacter1-8
Select print mode(s)Character1-13
Set absolute print positionPrint position1-21
Select/cancel user-define d chara cte r setCharacter1-9
Define user- defined charactersCharacter1-9
Turn underline mode on/offCharacter1-14
Select default line spacingLine spacing1-7
Set line spacingLine spacing1-7
Select peripheral device Miscellaneous function1-50
Cancel user-defined chara ct ersCharacter1-9
Initialize printerMiscellaneous function1-48
Set horizontal tab positionsPrint position1-23
Turn emphasized mode on/offCharacter1-14
Turn double-strike mode on/offCharacter1-15
Print and feed paperPrint 1-5
Select page modeMiscellaneous function1-51
Select an international charac ter setCharacter1-11
Select standard modeMiscellaneous function1-51
Select print direction in page modePrint position1-26
ESC c 4Select paper sensor(s) to stop printingPaper sensor1-19
ESC c 5Enable/disable panel buttonsPanel button1-19
ESC dPrint and feed n linesPrint 1-5
ESC iPartial cut (one poin t lef t unc ut )Mechanism c o nt rol1-46
ESC pGenerate pulseMiscellaneous function1 -5 0
ESC tSelect character code tableCharacter1-12
ESC uTransmit peripheral de vice statusStatus1-38
ESC vTransmit paper sensor statusStatus1-38
ESC {Turn upside-down printin g mode on/offCharacter1-15
GS !Select character sizeCharacter1-16
GS $Set absolute vertical print position in page mode Print position1-27
✻Define downloaded bit imageBit image1-29
GS
GS /Print downloaded bit imageBit image1-30
GS :Start/end macro definitionMacro function1-44
GS BTurn white/black reverse printing mode on/offCharacter1-17
GS HSelect printing position of HRI charactersBar code1-43
GS ITransmit printer IDMiscellaneous function1-49
GS LSet left ma rgi nPrint positio n1-24
GS PSet horizontal and vertical motion unitsMiscellaneous function1-48
GS VSelect cut mode and cut paperMechanism control1-46
GS WSet printing area widthPrint position1-24
GS \Set relative vert ic a l pr in t po s it io n in pag e mo d ePrint position1-27
GS ^Execute macroMacro function1-44
GS aEnable/disable Automatic Status Back (ASB)Status1-32
GS bTurn smoothing mode on/offCharacter1-18
GS fSelect font for HRI charactersBar code1-43
GS hSet bar code heightBar code1-39
GS kPrint bar codeBar code1-42
GS rTransmit statusStatus1-34
GS wSet bar code widthBar code1-39
Select paper sensor(s) to output pap er-en d
signals
Paper sensor1-20
Page
Number
1-2 Command DescriptionsRev. A
TM-T88/T88P (TM-T85/T85P) Information Manual
❏ESC i, ESC u, and ESC v are supported only by TM-T85/T85P.
These commands are not recommended. (There are other commands which support the
same functions of the above commands.) For the TM -T88/T88P, GS V and GS r can be used
as the above commands.
❏The functions of GS V and ESC c 5 are different for TM-T88/T88P and TM-T85/T85P.
❏For DLE EOT, GS a and GS r, conditions of status changes for paper roll sensor and
automatic recovery error are different for TM-T88/T88P and TM-T85/T85P.
Using Bit Value Tables
For each command that has a compl ex method o f determi ning the variable n, there is a t able sho wing
how to calculate the variable in three numbering systems: binary, hexadecimal, and decimal.
When you look at the table, first find the value of each component of the variable. Then add the
values of the components together to determine the value of the variable n.
For example, here is how you would use the table below, which selects the print mode, to combine
double height, double width, and underline. In the table, you see that bit 4 on (or hex 10 or decimal
16) turns on double height, bit 5 on (or hex 20 or decimal 32) turns on double width, and bit 7 on (or
hex 80 or decimal 128) turns on underline mode.
To combine all three, turn on bits 4, 5, and 7, which is 10110000 in binary. Or you can add the hex
values 10, 20, and 80 for the hex sum of B0, or you can add the decimal values 16, 32, and 128 for the
decimal value of 176.
Therefore, you send the following to turn on do uble hei ght , doubl e wid th , and underli ne, d epending
on the numbering system used:
ASCIIESC!n
Hex1B21B0
Decimal2833176
BitOff/OnHexDecimalFunction
0
1, 2———Undefined.
3
4
5
6———Undefined.
7
Off000Character f o nt A selected.
On011Character font B selected.
Off000Emphasized mode not selected.
On088Emphasized mode selected.
Off000Double-height mode not selected.
On1016Double-height mode selected.
Off000Double-width mo de not selected.
On2032Double-width mode selected.
Off000Underline mode not selected.
On80128Underline mode selected.
Rev. A Command Descriptions 1-3
Note that the program examples throughout this chapter use decimal numbers, but binary, decimal,
and hexadecimal numbers all have the same printing results.
Print Commands
The TM-T88/T88P (TM-T85/T85P) supports the following commands for printing characters and
advancing paper. When executing printing with the standard mode selected, the printer executes
paper feed. When the page mode is selected, except for FF and ESC FF, only the data development
position is moved and actual printing and paper feeding are not executed.
CommandName
LFPrint and line feed
CRPrint and carriage return
ESC JPrint and feed paper
ESC dPrint and feed n lines
FFPrint and return to standard mode (in page mode)
ESC FFPrint data in page mode
LF
[Name]Print and line feed
[Format]ASCIILF
Hex0A
Decimal10
LF prints the data i n the print buffer and feeds one li ne. The amount of paper fed per li ne i s based on
the value set using the line spacing command. The default setting is 1/6 inch.
CR functions in the same way as LF when auto line feed is enabled. Auto line feed can be disabled or
enabled by DIP switch 1-1. This command sets the print position to the beginning of the line. When
auto line feed is disabled, this command is ignored. This command is available only with a parallel
interface an d is ignored with a serial interf ace.
[Range]0 ≤ n ≤ 255
ESC J n prints the data in the print buffer and feeds the pap er n× (vert ical or horizo ntal mot ion uni t).
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 for the print direction set by ESC T.
ESC J used to print one line and advance
the paper by 100/180 inc
h
ESC d n
[Name]Print and feed n lines
[Format]ASCIIESCdn
Hex1B64n
Decimal27100n
[Range]0 ≤ n ≤ 255
Rev. A Command Descriptions 1-5
ESC d n prints the data in the pr int buffer and feeds n lines. The amount of pap er fed per line is based
on the value set using the line spac ing command. The maximum paper feed amount is 40 i nches. The
default setting of the paper feed amount is 1/6 inch.
[Name]Print and return to standard mode (in page mode)
[Format]ASCIIFF
Hex0C
Decimal12
ESC FF
[Name]Print data in page mode
[Format]ASCIIESCFF
ESC d used to print one line and
advance the paper by six lines
Hex1B0C
Decimal2712
FF prints the data in the print bu ffer collectively and returns to standard mode. The buffer data is
deleted after being printe d. This comman d returns the values set by ESC W to the default values.
The value set by ESC T is maintained. This command is enabled only in page mode.
ESC FF prints all buffered data in the printable area collectively, in page mode. This command is
enabled only in page mode. After printing, the printer does not clear the buffered data or values set
by other commands. When the printer returns to standard mode, FF or ESC S should be executed.
The above commands do not cut the paper.
Select print direction
Store characters for printing
Store characters for printing
Batch print
Cut
Batch print and return to standard mode
AAAAA
BBBBB
CCCCC
AAAAA
BBBBB
CCCCC
←
Cut paper
1-6 Command DescriptionsRev. A
TM-T88/T88P (TM-T85/T85P) Information Manual
Line Spacing Commands
The TM-T88/T88P (TM-T85/T85 P ) su pports the following comman ds f or setting line spacing. These
commands only set the line spacing; they do not actually advance the paper. The line spacing can be
set independently in standard mode and in page mode. The line spacing set using these commands
affects the results of LF and ESC d and paper feeding by using the FEED button.
CommandName
ESC 2Select default line spacing
ESC 3Set line spacing
ESC 2
[Name]Select default line spacing
[Format]ASCIIESC2
Hex1B32
Decimal2750
ESC 3 n
[Name]Set line spacing
[Format]ASCIIESC3n
Hex1B33n
Decimal2751n
[Range]0 ≤ n ≤ 255
ESC 2 sets the line spacing to 1/6 inch. This is equivalent to 30 dots.
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.
Program ExamplePrint Sample
PRINT #1, CHR$(&H1D);"P";CHR$(180);CHR$(180);
FOR n=25 TO 50 STEP 5
PRINT #1, CHR$(&H1B);"3";CHR$(n);
PRINT #1, "AAAAA"; CHR$(&HA);
NEXT n
PRINT #1, CHR$(&H1B);"2";
PRINT #1, "BBBBB"; CHR$(&HA);
PRINT #1, "CCCCC"; CHR$(&HA);
←
Set the default
←
Set line spacing
AAAAA
AAAAA
AAAAA
AAAAA
AAAAA
AAAAA
BBBBB
CCCCC
25/180-inch line spacing
30/180-inch line spacing
35/180-inch line spacing
40/180-inch line spacing
45/180-inch line spacing
50/180-inch line spacing
1/6-inch line spacing
Rev. A Command Descriptions 1-7
Character Commands
The TM-T88/T88P (TM-T85/T85P) supports the following commands for setting character font and
size:
CommandName
ESC SPSet right-side character spacing
ESC %Select/cancel user-defined character set
ESC &Define user-defined characters
ESC ?Cancel user-defined characters
ESC RSelect an international character set
ESC tSelect character code table
ESC !Select print mode(s)
ESC –Turn underline mode on/off
ESC ETurn emphasized mode on/off
ESC GTurn double-strike mode on/off
ESC {Turn upside-down printing mode on/off
ESC VTurn 90° clockwis e rotation mode on/off
GS !Select character size
GS BTurn white/black reverse printing mode on/off
GS bTurn smoothing mode on/off
CANCancel print data in page mode
ESC SP n
[Name]Set right-side character spacing
[Format]ASCIIESCSPn
Hex1B20n
Decimal2732n
[Range]0 ≤ n ≤ 255
×
ESC SP n sets the right-side character spacing to n
change the spacing between characters. The default setting is n=0. When standard mode is selected,
the horizontal motion unit set by GS P is used. When page mode is selected, the vertical or horizon tal
motion unit set by GS P is used for the print direction set b y ESC T.
This command is effective for all characters (except for HRI characters).
(horizontal or vertical moti on unit ). It is used to
1-8 Command DescriptionsRev. A
TM-T88/T88P (TM-T85/T85P) Information Manual
The right-side character spacing can be set independently in standard mode and in page mode.
[Range]32 ≤ n ≤ 126
ESC % n selects or cancels the user-defined character set. When the LSB (least significant bit) of n is 1,
the user-defined character set is selected. When it is 0, the int ern al cha rac ter set is selected; this is the
default settin g.
Rev. A Command Descriptions 1-9
ESC & y c1 c2 [x1 d1 ... d(y×x1)] ... [xk d1 ... d(y×xk)] defines user-defined characters from character
code c1 to c2. y and x are the configuration of a user-defined character. y specifies the number of
bytes in the vertical direction. x specifies the number of dots in the horizontal direction. Character
codes from the alphanumeric characters (20H (decimal 32) to 7EH (decimal 126)) ca n be defined by c1
and c2. Data (d) specifies a bit printed to 1 and not printed to 0. As the default, user-defined
characters are not defined and the internal character set is printed. Once the user-defined characters
have been defined, they are available until ESC ?, ESC @, or GS ✻ is executed; the user-defined
characters are redefined; the power is turned off; or the printer is reset. When this command is
executed, the downloaded bit image is canceled.
ESC ? n cancels the user-defined characters defined for the character code n. After the user-defined
characters are canceled, the internal character set is printed.
Program ExampleProgram Example (continued)
y=3
PRINT #1, CHR$(&H1B);"&";CHR$(y);"AC";
x=9: PRINT #1, CHR$(x);
FOR i=1 TO y*x
READ d: PRINT #1, CHR$(d);
NEXT i
x=11: PRINT #1, CHR$(x);
FOR i=1 TO y*x
READ d: PRINT #1, CHR$(d);
NEXT i
x=12: PRINT #1, CHR$(x);
FOR i=1 TO y*x
READ d: PRINT #1, CHR$(d);
NEXT i
PRINT #1, CHR$(&H1B);"%";CHR$(0);←
PRINT #1, "A B C D E"; CHR$(&HA);
PRINT #1, CHR$(&H1B);"%";CHR$(1);
PRINT #1, "A B C D E"; CHR$(&HA):
PRINT #1, CHR$(&H1B);"?";"A";
PRINT #1, "A B C D E"; CHR$(&HA);
DATA &H00,&H20,&H00,&H00,&HF8,&H00,&H03,&HFE
DATA &H00,&H0F,&HFF,&H80,&H3F,&HFF,&HE0,&H0F
DATA &HFF,&H80,&H03,&HFE,&H00,&H00,&Hf8,&H00
DATA &H00,&H20,&H00
DATA &H00,&H20,&H00,&H00,$HF8,&H00,&H03,&H8E
DATA &H00,&H0E,&H03,&H80,&H38,&H00,&HE0,&HE0
DATA &H00,&H38,&H38,&H00,&HE0,&H0E,&H03,&H80
DATA &H03,&H8E,&H00,&H00,&HF8,&H00,&H00,&H20
DATA &H00
Select the internal character set
Select the user-defined
←
character set
←
Cancel the user-defined character
Defines the
user-defined
characters as
"A", "B", and "C"
DATA &H00,&H30,&H00,&H00,&HF0,&H00,&H03,&HF0
DATA &H00,&H0F,&H3F,&HF8,&H3C,&H3F,&HF8,&HF0
DATA &H00,&H00,&HF0,&H00,&H00,&H3C,&H3F,&HF8
DATA &H0F,&H3F,&HF8,&H03,&HF0,&H00,&H00,&HF0
DATA &H00,&H00,&H30,&H00
Print Sample
←
ABCDE
♦◊⇑
A◊⇑DE
Characters from internal character set
←
Characters from user-defined character set
DE
←
Characters from user-defined character set
(cancel one character)
1-10 Command DescriptionsRev. A
TM-T88/T88P (TM-T85/T85P) Information Manual
ESC R n
[Name]Select an international character set
[Format]ASCIIESCRn
Hex1B52n
Decimal2782n
[Range]0 ≤ n ≤ 10
ESC R n selects an international character set n as follows. The default value is U.S.A. (n=0).
[Name]Select character code table
[Format]ASCIIESCtn
Hex1B74n
Decimal27116n
[Range]0 ≤ n ≤ 5
n = 255
ESC t n selects a page n from the character code table as follows. The default setting is page 0 (n=0).
The alphanumeric characters (20H (decimal 32) to 7FH (decimal 12 7)) are the same for each page. The
extended characters (80H (decimal 128) to FFH (decimal 255)) are different for each page.
printing:
FOR i=&H20 TO &H7F
PRINT #1, CHR$(i);
NEXT i
PRINT #1, CHR$(&HA);
FOR i=&H80 TO &HFF
PRINT #1, CHR$(i);
NEXT i
PRINT #1, CHR$(&HA);
RETURN
←
Select page 0
Select page 1
1-12 Command DescriptionsRev. A
TM-T88/T88P (TM-T85/T85P) Information Manual
ESC ! n
[Name]Select print mode(s)
[Format]ASCIIESC!n
Hex1B21n
Decimal2733n
[Range]0 ≤ n ≤ 255
ESC ! n selects print modes using n as follows. The default setting is n=0. This command is effective
for all characters (except for HRI characters). When underline mode is turned on, 90° clockwiserotated characters and white/black reverse characters cannot be underlined.
BitOff/On HexDecimal Function
Off000Character font A (12 x 24) selected.
0
On011Character font B (9 x 24) selected.
1, 2———Undef in e d.
Off000Emphasized mode not selected.
3
On088Emphasized mode selected.
Off000Double-height mode not selected.
ESC – n turns underline mode on or off. When n=1 or 49, underline mode (one-dot width) is turned
on; when n=2 or 50, underline mode (two-dot width) is turned on; and when n=0 or 48, underline
mode is turned off. This command is effective for all characters (except for HRI characters). When
underline mode is on, 90° clockwise rotated characters and white/black reverse characters cannot be
underlined. The default sett ing is n=0.
[Range]0 ≤ n ≤ 255
ESC E n turns emphasized mode on or off. When the LSB (least significant bit) of n is 1, emphasized
mode is turned on; when it is 0, emphasized mode is turned off. The default setting is n=0.
Emphasized and double-strike printing appea r the same. This command is effective for all characters
(except for HRI characters).
[Range]0 ≤ n ≤ 255
ESC G n turns double-strike mode on or off. When the LSB (least significant bit) of n is 1, double-
strike mode is turned on; when it is 0, double-strike mode is turned off. The default setting is n=0.
Double-strike and emphasized printing appear the same. This command is effective for all characters
(except for HRI characters).
[Range]0 ≤ n ≤ 255ESC { n turns upside-down printing mode on or off. When the LSB (least significant bit) of n is 1,
upside-down printing mode is tur ned on; when it is 0 , upside -down printi ng mo de is turned off. The
default settin g 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 fl ag is activate d and this co mmand is enabled when t he
printer returns to standard mode.
[Range]n= 0, 1, 48, 49
ESC V n turns 90° clockwise rot ation mode on or off. When n=1 or 49, 90° cl ock wise rotation mode is
turned on; when n=0 or 48, this mod e is turned off. The defau lt s etting is n=0. I n 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 pri nter retur ns to standard mode. This command is
effective for all characters (except for HRI characters).
(1 ≤ vertical number of times normal font size ≤ 8,
1 ≤ horizontal number of times normal font size ≤ 8)
GS ! n selects the character height (vertical number of times normal font size) using bits 0 to 3 and
selects the character width (horizontal number of times normal font size) using bits 4 to 7, as follows.
The default setting is n=0. This co mmand is effect ive for al l cha racters (except for HRI characters). If
n is outside of the defined range, this command is ignored.
1-16 Command DescriptionsRev. A
TM-T88/T88P (TM-T85/T85P) Information Manual
Character Width S election Ch ar acter He ight Selec tio n
Select five-times
normal font height
and five-times
normal font width
GS B n
[Name]Turn white/ black reverse printing mode on/off
[Format]ASCIIGSBn
Hex1D42n
Decimal2966n
[Range]0 ≤ n ≤ 255
GS B n turns white/black reverse printing mode on or off. When the LSB (least significant bit) of n is
1, white/black reverse printing mode is turned on; when it is 0, this mode is turned off. The default
setting is n=0. In white/black reverse printing mode, characters are printed in white on a black
background. This command is effective for all characters (except for HRI characters).