Epson TM-T20II Bedienungsanleitung

Stöbern Sie online oder laden Sie Bedienungsanleitung nach Drucken & Scannen Epson TM-T20II herunter. TM-T20II ESC/POS Quick Reference Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 4
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 0
ESC/POS® Command System
EPSON ESC/POS is a proprietary POS printer command system based on the
escape sequence and includes patented or patent pending commands. ESC/POS is
compatible with most type of EPSON POS printers and displays.
ESC/POS is designed to reduce the processing load on the host computer in POS
environments. It comprises a set of highly functional and ecient commands and
also oers the exibility to easily make future upgrades.
Aim of the Quick Reference
Quick Reference is a guide to using ESC/POS command to control the printer.
Command Notation
• RT : real-time command (executed as soon as received)
• fn= : function number of the command
• Numbers are written in decimal numeral.
• n species 1 byte parameter in the range 0–255.
• n
L
, n
H
specify 1 word (2 bytes) parameter as (n
L
+ n×256) in the range
0–65,535.
• p
L
, p
H
specify the number of parameters aer p
H
as (p
L
+p
H
×256) in the range
1–65,535
• p1, p2, p3, p4 specify the number of parameters aer p4 as
(p1+p2×256+p3×65,536+p4×16,777,216) in the range 1–4,294,967,295.
• kc1, kc2 specify key code (2 bytes) of NV graphics or download graphics. Each
range of kc1 and kc2 is 32–126.
• Control codes are as follows:
name code
NUL 0
EOT 4
ENQ 5
HT 9
LF 10
FF 12
CR 13
DLE 16
DC4 20
CAN 24
ESC 27
FS 28
GS 29
No part of this document may be reproduced, stored in a retrieval system, or transmitted in any
form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without the
prior written permission of Seiko Epson Corporation.
e contents of this document are subject to change without notice. Please contact us for the latest
information.
While every precaution has been taken in the preparation of this document, Seiko Epson
Corporation assumes no responsibility 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 aliates shall be liable to the purchaser of this product
or third parties for damages, losses, costs, or expenses incurred by the purchaser or third parties
as a result of: accident, misuse, or abuse of this product or unauthorized modications, repairs,
or alterations 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 in Japan and other
countries/regions.
ESC/POS Quick Reference
M00068700
Copyright© 2013 Seiko Epson Corporation. All rights reserved.
Print Commands
• In page mode, these commands only move the print position and do not
execute actual printing.
LF
Prints data and feeds one line.
CR
Functions the same as LF when auto line feed is
enabled.
CR is ignored when auto line feed is disabled
or when the serial interface model is used.
ESC J n
Prints data and feeds paper n dots.
ESC d n
Prints data and feeds paper n lines.
Line Spacing Commands
ESC 2
Selects default line spacing.
ESC 3 n
Sets line spacing to n dots.
Character Commands
ESC SP n
Sets right-side character spacing to n dots.
ESC − n
Selects underline.
n = 0: underline o, n = 1: 1-dot width, n = 2: 2-dot width
ESC E n
Turns emphasized character On or O.
n = odd: On, n = even: O
ESC G n
Turns double-strike character On or O.
n = odd: On, n = even: O
ESC M n
Selects a character font.
n = 0, "0": Font A, n = 1, "1": Font B
GS ! n
Selects character size (height/width magnication).
Upper 4 bits of n: width magnication
Lower 4 bits of n: height magnication
e both can be set 0(×1) to 7(×8)
GS b n
Turns smoothing On or O for magnied characters.
n = odd: On, n = even: O
GS B n
Turns white/black reverse print On or O for characters.
n = odd: On, n = even: O
ESC { n
Turns upside-down print mode On or O in standard
mode.
n = odd: On, n = even: O
ESC V n
Turns 90° clockwise rotation On or O for characters in
standard mode.
n = 1, 2, "1", "2": On, n = 0, "0": O
ESC & 3 c1 c2 [x1 d1...d(3 × x1)]...[xk d1...d(3 × xk)]
Denes user-dened characters for character code: c1
to c2 of the current font.
x = width of the dened pattern
d1...d(3×x) = pattern data for a character
ESC % n
Selects or cancels user-dened character set.
n = odd: Select, n = even: Cancel
Character Commands (continued)
ESC ? n
Cancel the user-dened character and return the font
pattern to the resident one for the current font.
n = character code to be cleared the user-dened font
ESC t n
Selects page n from the character code table.
n code table
0 PC437: USA, Standard Europe
1 Katakana
2 PC850: Multilingual
3 PC860: Portuguese
4 PC863: Canadian-French
5 PC865: Nordic
11 PC851: Greek
12 PC853: Turkish
13 PC857: Turkish
14 PC737: Greek
15 ISO8859-7: Greek
16 WPC1252
17 PC866: Cyrillic #2
18 PC852: Latin2
19 PC858: Euro
20 KU42: ai
21 TIS11: ai
26 TIS18: ai
30 TCVN-3: Vietnamese
31 TCVN-3: Vietnamese
32 PC720: Arabic
33 WPC775: Baltic Rim
n code table
34 PC855: Cyrillic
35 PC861: Icelandic
36 PC862: Hebrew
37 PC864: Arabic
38 PC869: Greek
39 ISO8859-2: Latin2
40 ISO8859-15: Latin9
41 PC1098: Farsi
42 PC1118: Lithuanian
43 PC1119: Lithuanian
44 PC1125: Ukrainian
45 WPC1250: Latin2
46 WPC1251: Cyrillic
47 WPC1253: Greek
48 WPC1254: Turkish
49 WPC1255: Hebrew
50 WPC1256: Arabic
51 WPC1257: Baltic Rim
52 WPC1258: Vietnamese
53 KZ-1048: Kazakhstan
255 User-dened page
ESC R n
Selects an international character set by n.
n country
0 USA
1 France
2 Germany
3 U.K.
4 Denmark I
5 Sweden
6 Italy
7 Spain I
8 Japan
n country
9 Norway
10 Denmark II
11 Spain II
12 Latin America
13 Korea
14 Slovenia/ Croatia
15 China
16 Vietnam
17 Arabia
Print Position Commands
HT
Moves print position to the next horizontal tab position.
ESC D n1...nk NUL
Sets tab stops at n1 to nk character columns.
GS L n
L
n
H
Sets left margin in standard mode.
n
L
+ n
H
×256: number of dots for le margin
GS W n
L
n
H
Sets print area width in standard mode.
nL + nH×256: number of dots for print area width
ESC a n
Aligns all data in one line to the selected layout in
standard mode.
n = 0, "0": Le justication
n = 1, "1": Centering
n = 2, "2": Right justication
Seitenansicht 0
1 2 3 4

Inhaltsverzeichnis

Seite 1 - ESC/POS Quick Reference

ESC/POS® Command System EPSON ESC/POS is a proprietary POS printer command system based on the escape sequence and includes patented or patent pending

Seite 2

ESC $ nL nHMoves print position from the left edge of print area.nL + nH×256: absolute print positionESC \ nL nHMoves the print position from current

Seite 3

FS ( E 6 0 60 2 c "CLR"fn=60Clears set values in NV memory for top or bottom logo printing.c = "0": Top logo, c = "1"

Seite 4 - Other Commands

GS ( H 6 0 48 48 d1 d2 d3 d4fn=48Transmits process ID specied by (d1, d2, d3, d4) after execution of prior print or command.d=32–126: visible charact

Kommentare zu diesen Handbüchern

Keine Kommentare