### Contents

Device Font List
Barcode Font
Two-dimensional Code Font
Control Font
Legal Information

# TSP700II Windows Printer Driver
- Device Font

This printer driver supports a variety of built-in, or resident, fonts.

These fonts have a variety of font sizes and they offer clearer printing than True Type fonts. A variety of different specifications and sizes of Barcodes / Two-dimensional codes can be encoded and printed by entering Barcode Fonts / Two-dimensional code Fonts.
The control font is used to control the printer by commands embedded in a character-based print job.

Device fonts can be used only in the 'Line mode' setting.

## Device Font List

The device fonts which are supported by this printer driver are listed below.
Please specify the correct fonts and font size through the configuration of your applications.
Specifying 24 pixels is equivalent to 8.5 points for Microsoft Word or Excel

Font Name | Width (pixels) | Height (pixels) | Characters per 80mm or 640 Dot Line | Detail
--- | --- | --- | --- | ---
Printer 7cpi | 30 | 24 | 21 | Printer Fonts (ANK FontsA)
Printer 7cpi Tall | 30 | 48 | 21
Printer 8cpi | 26 | 24 | 24
Printer 8cpi Tall | 26 | 48 | 24
Printer 8.5cpi | 24 | 24 | 26
Printer 8.5cpi Tall | 24 | 48 | 26
Printer 14cpi | 15 | 24 | 42
Printer 14cpi Tall | 15 | 48 | 42
Printer 16cpi | 13 | 24 | 49
Printer 16cpi Tall | 13 | 48 | 49
Printer 17cpi | 12 | 24 | 53
Printer 17cpi Tall | 12 | 48 | 53
Printer FontB 8.5cpi | 24 | 24 | 26 | Printer Fonts (ANK FontsB)
Printer FontB 8.5cpi Tall | 24 | 48 | 26
Printer FontB 10cpi | 20 | 24 | 32
Printer FontB 10cpi Tall | 20 | 48 | 32
Printer FontB 11cpi | 18 | 24 | 35
Printer FontB 11cpi Tall | 18 | 48 | 35
Printer FontB 17cpi | 12 | 24 | 53
Printer FontB 17cpi Tall | 12 | 48 | 53
Printer FontB 20cpi | 10 | 24 | 64
Printer FontB 20cpi Tall | 10 | 48 | 64
Printer FontB 22.5cpi | 9 | 24 | 71
Printer FontB 22.5cpi Tall | 9 | 48 | 71
Simplified Chinese | - | - | - | 2byte Fonts
Traditional Chinese | - | - | -
Hangul | - | - | -
UPC-E | 12 | 24 | 53 | Barcode Fonts
UPC-A | 12 | 24 | 53
JAN/EAN-8 | 12 | 24 | 53
JAN/EAN-13 | 12 | 24 | 53
CODE39 | 12 | 24 | 53
ITF | 12 | 24 | 53
NW-7(Codabar) | 12 | 24 | 53
QR_CNTL | 1 | 24 | 640 | Two-dimensional Code Fonts
PDF417 | 1 | 24 | 640
DATA1 | 1 | 24 | 640
DATA2 | 1 | 24 | 640
DATA3 | 1 | 24 | 640
Control | 12 | 24 | 53 | Control Fonts
ESC_FONT | 1 | 24 | 640

Back to Top

## Barcode Fonts

This printer driver supports the following types of Barcode Font.

- UPC-E
- UPC-A
- JAN/EAN-8
- JAN/EAN-13
- CODE39
- ITF
- NW-7 (Codabar)

### Barcode Font Parameter List

■ Barcode Data

Barcode Type | Character Columns allowed | Character Set allowed
--- | --- | ---
UPC-E | 12 columns | Value: '0' - '9'
UPC-A | 12 columns | Value: '0' - '9'
JAN/EAN-8 | 8 columns | Value: '0' - '9'
JAN/EAN-13 | 13 columns | Value: '0' - '9'
CODE39 | 1 column or more | '0' - '9' '-', '.' '<SP>', '$', '/', '+', '%' 'A' - 'Z' '*' (start / stop) *1
ITF | 2 or more (even) | Value: '0' - '9'
NW-7 (Codabar) | 1 column or more | '0' - '9' '-', '$', ':', '/', '.', '+' 'A' - 'D'

*1 start/stop code is generated automatically.

■ Minimum Module Width Parameter Setting

Character | UPC-E,UPC-A JAN/EAN-8, JAN/EAN-13 | CODE39 NW-7 (*1) | ITF (*1)
--- | --- | --- | ---
a | 2 Dots | 2 Dots (6) | 2 Dots (5)
b | 3 Dots | 3 Dots (9) | 4 Dots (10)
c | 4 Dots | 4 Dots (12) | 6 Dots (15)
d | - | 2 Dots (5) | 2 Dots (4)
e | - | 3 Dots (8) | 4 Dots (8)
f | - | 4 Dots (10) | 6 Dots (12)
g | - | 2 Dots (4) | 2 Dots (6)
h | - | 3 Dots (6) | 3 Dots (9)
i | - | 4 Dots (8) | 4 Dots (12)

*1 The number in brackets after each module width indicates the number of dots for the thick pattern of that code.

■ Barcode Height Parameter Setting

Character | Barcode height
--- | ---
o | 32 Dots (4 mm)
p | 64 Dots (8 mm)
q | 96 Dots (12 mm)
r | 128 Dots (16 mm)
s | 160 Dots (20 mm)
t | 192 Dots (24 mm)
u | 224 Dots (28 mm)
v | 255 Dots (31.9 mm)

■ Bar Code End Parameter

Character | Function
--- | ---
z | Barcode Data Ending Code (1EH)

Note: Some characters you have specified will be ignored if they are not supported by the printer.

### Barcode Font - Description Method

Barcode Fonts consist of a 'Module Width Setting Parameter', 'Barcode Height Setting Parameter', 'Barcode Data' and 'Barcode Ending Parameter field'. The description combines each of the fields.
See Star Line Mode Command Specifications section for full details.

For example, to encode '0123ABC' as a CODE 39 barcode. (Module width 2 Dots, 8 mm height)

[Description Data]

a p 0123ABC z

Description Character | Meaning
--- | ---
'a' | Module Width Setting Parameter (2 Dots)
'p' | Barcode Height Setting Parameter (64 Dots : 8 mm).
'0123ABC' | Barcode data
'z' | Barcode Ending Parameter

[Print Result]

See Barcode Font Parameter List for the details on each of the fields.

Back to Top

## Two-dimensional Code Font

This printer driver supports the Two-dimensional Code Fonts - QR Code and PDF417.

### The Description Method for Two-dimensional Code Fonts

When you encode Two-dimensional codes using the Two-dimensional barcode font, describe the code with the following.

1. Two-dimensional Code Type Setting
   All settings have a default, you should specify only when you want to change the default settings.
2. Two-dimensional Code Data Setting
   You may specify various parameters for the two-dimensional data following the command font, then specify the two-dimensional code data.
3. Obtaining the expansion information of Two-dimensional Codes(Arbitrary)
   An error will be returned when a mismatch of the parameters 1 and 2 above occurs.
4. Two-dimensional Code Printing

See Star Line Mode Command Specifications section for full details of each command.
Example: When you need to use QR Code with error correction rate of 25% to encode '012345ABCD' into a Two-dimensional Code.
[Description Data]
E2A0* 012345ABCD P

Description Character | Setting Fonts | Meaning
--- | --- | ---
'E2' | QR_CNTL | Set error correction level to Q(25%)
'A0' | QR_CNTL | Set QR code data (auto analysis)
'*' | DATA1 | A = \x0A = '*' *1
' ' | DATA1 | 0 = \x00 = ' '(blank character) *1
'012345ABCD' | ESC_FONT | Two-dimensional Code Data
'P' | QR_CNTL | QR Code Print

*1 Expressing the 10 bytes of Two-dimensional code as '0 A' using hexadecimal notation. Specify the '0 A' in order of Low-byte(A) and High-byte(0)
[Print Result]

See Two-dimensional Fonts Functions List for the details of each font setting.

### Two-dimensional Fonts Functions List

■ Two-dimensional Code Data

Fonts Name | Function | Details | Remarks
--- | --- | --- | ---
QR_CNTL | QR Code Commands Setting | Outputs each command for printing two-dimensional code. |
PDF417 | PDF417 Command setting | Outputs each command for printing PDF417. |
DATA1 | Data Setting | Replacing \x20 -\x7F to \x00 -\x5F | \x00 -\xFF can be output
DATA2 | Replacing \x20 -\x7F to \x60 -\xBF
DATA3 | Replacing \x20 -\x5F to \xC0 -\xFF
ESC_FONT | Outputting \x20 -\x7F without replacing. | \x20 -\x7F can be output

*1 Only QR Code is supported (the output of Chinese Characters is not supported).)

■ QR_CNTL(QR Code Setting Fonts)

Characters | Function | Output Code for driver
--- | --- | ---
0 | For parameters to set the command for each QR code | \x00
1 | For parameters to set the command for each QR code | \x01
2 | For parameters to set the command for each QR code | \x02
3 | For parameters to set the command for each QR code | \x03
4 | For parameters to set the command for each QR code | \x04
5 | For parameters to set the command for each QR code | \x05
6 | For parameters to set the command for each QR code | \x06
7 | For parameters to set the command for each QR code | \x07
8 | For parameters to set the command for each QR code | \x08
9 | For parameters to set the command for each QR code | \x09
M | Set QR code model | \x1b \x1dyS0
M1 | Set QR code model: model 1 | \x1b \x1dyS0 \x01
M2 | Set QR code model: model 2 | \x1b \x1dyS0 \x02
E | Set error correction level | \x1b \x1dyS1
* El(E0) | Error correction level L(error correction rate:7%) | \x1b \x1dyS1 \x00
* Em(E1) | Error correction level M(error correction rate:15%) | \x1b \x1dyS1 \x01
* Eq(E2) | Error correction level Q(error correction rate:25%) | \x1b \x1dyS1 \x02
* Eh(E3) | Error correction level H(error correction rate:30%) | \x1b \x1dyS1 \x03
S1- S8 | Set module size (Unit: dot) | \x1b \x1dyS2( \x01~08)
A0 | Set QR code data (auto data analysis) | \x1b \x1dyD1 \x00
B | Set QR code data (data analysis manually) | \x1b \x1dyD2
P | QR Code Print | \x1b \x1dyP

* The setting procedure in brackets is also possible to set error correction level

■ Set PDF417 Fonts

Characters | Function | Output Code for driver
--- | --- | ---
0 | For parameters to set the command for each PDF417 | \x00
1 | For parameters to set the command for each PDF417 | \x01
2 | For parameters to set the command for each PDF417 | \x02
3 | For parameters to set the command for each PDF417 | \x03
4 | For parameters to set the command for each PDF417 | \x04
5 | For parameters to set the command for each PDF417 | \x05
6 | For parameters to set the command for each PDF417 | \x06
7 | For parameters to set the command for each PDF417 | \x07
8 | For parameters to set the command for each PDF417 | \x08
9 | For parameters to set the command for each PDF417 | \x09
S | Set PDF417 code size | \x1b \x1dxS0
E | Set PDF417 Security Level(ECC) | \x1b \x1dxS1
M | Set module x direction size for PDF417 | \x1b \x1dxS2
A | Set module aspect ratio for PDF417 | \x1b \x1dxS3
D | Set PDF417 code data | \x1b \x1dxD
P | Print PDF417 code | \x1b \x1dxP

■ ESC_FONT , DATA1 , DATA2 , DATA3 (Set two-dimensional code data fonts)

Input data: Characters embedded within user's application. | Output data: Character code which is output from printer driver to printer
--- | ---
Character | Character Code | ESC_FONT | DATA1 | DATA2 | DATA3
Blank | \x20 | \x20 | \x00 | \x60 | \xC0
! | \x21 | \x21 | \x01 | \x61 | \xC1
" | \x22 | \x22 | \x02 | \x62 | \xC2
# | \x23 | \x23 | \x03 | \x63 | \xC3
$ | \x24 | \x24 | \x04 | \x64 | \xC4
% | \x25 | \x25 | \x05 | \x65 | \xC5
& | \x26 | \x26 | \x06 | \x66 | \xC6
‘ | \x27 | \x27 | \x07 | \x67 | \xC7
( | \x28 | \x28 | \x08 | \x68 | \xC8
) | \x29 | \x29 | \x09 | \x69 | \xC9
* | \x2A | \x2A | \x0A | \x6A | \xCA
+ | \x2B | \x2B | \x0B | \x6B | \xCB
, | \x2C | \x2C | \x0C | \x6C | \xCC
- | \x2D | \x2D | \x0D | \x6D | \xCD
. | \x2E | \x2E | \x0E | \x6E | \xCE
/ | \x2F | \x2F | \x0F | \x6F | \xCF
0 | \x30 | \x30 | \x10 | \x70 | \xD0
1 | \x31 | \x31 | \x11 | \x71 | \xD1
2 | \x32 | \x32 | \x12 | \x72 | \xD2
3 | \x33 | \x33 | \x13 | \x73 | \xD3
4 | \x34 | \x34 | \x14 | \x74 | \xD4
5 | \x35 | \x35 | \x15 | \x75 | \xD5
6 | \x36 | \x36 | \x16 | \x76 | \xD6
7 | \x37 | \x37 | \x17 | \x77 | \xD7
8 | \x38 | \x38 | \x18 | \x78 | \xD8
9 | \x39 | \x39 | \x19 | \x79 | \xD9
: | \x3A | \x3A | \x1A | \x7A | \xDA
; | \x3B | \x3B | \x1B | \x7B | \xDB
< | \x3C | \x3C | \x1C | \x7C | \xDC
= | \x3D | \x3D | \x1D | \x7D | \xDD
> | \x3E | \x3E | \x1E | \x7E | \xDE
? | \x3F | \x3F | \x1F | \x7F | \xDF
@ | \x40 | \x40 | \x20 | \x80 | \xE0
A | \x41 | \x41 | \x21 | \x81 | \xE1
B | \x42 | \x42 | \x22 | \x82 | \xE2
C | \x43 | \x43 | \x23 | \x83 | \xE3
D | \x44 | \x44 | \x24 | \x84 | \xE4
E | \x45 | \x45 | \x25 | \x85 | \xE5
F | \x46 | \x46 | \x26 | \x86 | \xE6
G | \x47 | \x47 | \x27 | \x87 | \xE7
H | \x48 | \x48 | \x28 | \x88 | \xE8
I | \x49 | \x49 | \x29 | \x89 | \xE9
J | \x4A | \x4A | \x2A | \x8A | \xEA
K | \x4B | \x4B | \x2B | \x8B | \xEB
L | \x4C | \x4C | \x2C | \x8C | \xEC
M | \x4D | \x4D | \x2D | \x8D | \xED
N | \x4E | \x4E | \x2E | \x8E | \xEE
O | \x4F | \x4F | \x2F | \x8F | \xEF
P | \x50 | \x50 | \x30 | \x90 | \xF0
Q | \x51 | \x51 | \x31 | \x91 | \xF1
R | \x52 | \x52 | \x32 | \x92 | \xF2
S | \x53 | \x53 | \x33 | \x93 | \xF3
T | \x54 | \x54 | \x34 | \x94 | \xF4
U | \x55 | \x55 | \x35 | \x95 | \xF5
V | \x56 | \x56 | \x36 | \x96 | \xF6
W | \x57 | \x57 | \x37 | \x97 | \xF7
X | \x58 | \x58 | \x38 | \x98 | \xF8
Y | \x59 | \x59 | \x39 | \x99 | \xF9
Z | \x5A | \x5A | \x3A | \x9A | \xFA
' | \x5B | \x5B | \x3B | \x9B | \xFB
\ | \x5C | \x5C | \x3C | \x9C | \xFC
] | \x5D | \x5D | \x3D | \x9D | \xFD
^ | \x5E | \x5E | \x3E | \x9E | \xFE
_ | \x5F | \x5F | \x3F | \x9F | \xFF
` | \x60 | \x60 | \x40 | \xA0 | -
a | \x61 | \x61 | \x41 | \xA1 | -
b | \x62 | \x62 | \x42 | \xA2 | -
c | \x63 | \x63 | \x43 | \xA3 | -
d | \x64 | \x64 | \x44 | \xA4 | -
e | \x65 | \x65 | \x45 | \xA5 | -
f | \x66 | \x66 | \x46 | \xA6 | -
g | \x67 | \x67 | \x47 | \xA7 | -
h | \x68 | \x68 | \x48 | \xA8 | -
i | \x69 | \x69 | \x49 | \xA9 | -
j | \x6A | \x6A | \x4A | \xAA | -
k | \x6B | \x6B | \x4B | \xAB | -
l | \x6C | \x6C | \x4C | \xAC | -
m | \x6D | \x6D | \x4D | \xAD | -
n | \x6E | \x6E | \x4E | \xAE | -
o | \x6F | \x6F | \x4F | \xAF | -
p | \x70 | \x70 | \x50 | \xB0 | -
q | \x71 | \x71 | \x51 | \xB1 | -
r | \x72 | \x72 | \x52 | \xB2 | -
s | \x73 | \x73 | \x53 | \xB3 | -
t | \x74 | \x74 | \x54 | \xB4 | -
u | \x75 | \x75 | \x55 | \xB5 | -
v | \x76 | \x76 | \x56 | \xB6 | -
w | \x77 | \x77 | \x57 | \xB7 | -
x | \x78 | \x78 | \x58 | \xB8 | -
y | \x79 | \x79 | \x59 | \xB9 | -
z | \x7A | \x7A | \x5A | \xBA | -
{ | \x7B | \x7B | \x5B | \xBB | -
| | \x7C | \x7C | \x5C | \xBC | -
} | \x7D | \x7D | \x5D | \xBD | -
~ | \x7E | \x7E | \x5E | \xBE | -
< DEL > * | \x7F | \x7F | \x5F | \xBF | -

* Character input is not allowed.
Note: Specified characters will be ignored if they are not supported by the printer.
Back to Top

## Control Fonts

Control fonts can be used to control printer functions.
The control font is used to execute various printer actions, and is not used for printing.

The operations that can be executed through the control font are shown below.

Characters | Function
--- | ---
A | Drive cash drawer 1 (50ms)
B | Drive cash drawer 1 (100ms)
C | Drive cash drawer 1 (150ms)
D | Drive cash drawer 1 (200ms)
E | Drive cash drawer 1 (250ms)
d | Drive cash drawer 2 (200ms)
6 | LF output
7 | CR output
F | Auto cutter: Full-cut
P | Auto cutter: Partial-cut
G | Print NV Bit Image 1 in regular mode
H | Print NV Bit Image 2 in regular mode
I | Print NV Bit Image 3 in regular mode
J | Print NV Bit Image 4 in regular mode print
K | Printer NV Bit Image 5 in regular mode
Q | Print NV Bit Image 1 in double-width mode
R | Print NV Bit Image 2 in double-width mode
S | Print NV Bit Image 3 in double-width mode
T | Print NV Bit Image 4 in double-width mode
U | Print NV Bit Image 5 in double-width mode
V | Print NV Bit Image 1 in double-height mode
W | Print NV Bit Image 2 in double-height mode
X | Print NV Bit Image 3 in double-height mode
Y | Print NV Bit Image 4 in double-height mode
Z | Print NV Bit Image 5 in double-height mode
[ | Print NV Bit Image 1 in 4x mode
] | Print NV Bit Image 2 in 4x mode
^ | Print NV Bit Image 3 in 4x mode
_ | Print NV Bit Image 4 in 4x mode
` | Print NV Bit Image 5 in 4x mode
a | Specify alignment: Align left
b | Specify alignment: Align center
c | Specify alignment: Align right
e | Set new line to 1/8 inch
f | Set new line to 1/6 inch
g | Select international characters: USA
h | Select international characters: France
i | Select international characters: Germany
j | Select international characters: England
k | Select international characters: Denmark I
l | Select international characters: Sweden
m | Select international characters: Italy
n | Select international characters: Spain I
o | Select international characters: Japan
p | Select international characters: Norway
q | Select international characters: Denmark II
r | Select international characters: Spain II
s | Select international characters: Latin America
t | Set black/white inversion print
u | Cancel black/white inversion print
v | Customer display: Start data transfer
w | Customer display: End data transfer
x | Customer display: Display clear

Note: Specified characters will be ignored if they are not supported by the printer.
Back to Top

## Legal Information

Copyright (C) 2018 Star Micronics Co., Ltd. All rights reserved.