1 ©Copyright 2011 BROTHER INDUSTRIES, LTD. Version 1.03 Model Name: PT-9800PCN/PT-9700PC Created by: Brother Industries, Ltd
10 Characters <Overseas> This system uses single-byte character codes and is installed with two bitmap fonts (Letter Gothic and Helsinki). Ea
11 Print position The print position is the standard position for printing characters, bitmaps and bar codes. With the print position, there is a h
12 Line feed amount The line feed amount is the amount of vertical movement from the print position of one line to the print of the next line. HH
13 Document creation flow The flow for creating documents is shown below. A Switch command mode (ESC i a) and Initialize
14 E Bit image (ESC *, ESC K, ESC L, ESC Y and ESC Z) Bar code (ESC i B) 2D bar code (ESC i Q, ESC i V and ESC i D) Download
15 Control command details Character/style selection commands ESC R Select international character set [ASCII] ESC R n [Decimal] 27 82 n [Hexa
16 [Example] Code 5Ch ESC R 08h 5Ch FF Print result \¥
17 ESC k Select font [ASCII] ESC k n [Decimal] 27 107 n [Hexadecimal] 1B 6B n [Parameters] 0≤n≤1 [Description] ・Selects the font. Bitmap fon
18 Text printing commands ESC 4 Apply italic style [ASCII] ESC 4 [Decimal] 27 52 [Hexadecimal] 1B 34 [Parameters] None [Description] ・Applies the
19 ESC F Cancel bold style [ASCII] ESC F [Decimal] 27 70 [Hexadecimal] 1B 46 [Parameters] None [Description] ・Cancels the bold style. [Example]
2 Machine Model: PT-9800PCN/PT-9700PC IMPORTANT - PLEASE READ CAREFULLY This documentation (“Documentation”) gives
20 ESC W Specify double-width characters [ASCII] ESC W n [Decimal] 27 87 n [Hexadecimal] 1B 57 n [Parameters] n=0 and 1 or 48 and 49 [Descrip
21 DC2 Cancel compressed characters [ASCII] DC2 [Decimal] 18 [Hexadecimal] 12 [Parameters] None [Description] ・Cancels compressed characters specif
22 ESC ! Global formatting [ASCII] ESC ! n [Decimal] 27 33 n [Hexadecimal] 1B 21 n [Parameters] 0≤n≤255 [Description] ・Specifies a combination o
23 ESC X Specify character size [ASCII] ESC X n [Decimal] 27 88 n [Hexadecimal] 1B 58 n [Parameters] 0≤n≤6 or 30h≤n≤36h [Description] ・Specifies
24 DEL Delete one character [ASCII] DEL [Decimal] 127 [Hexadecimal] 7F [Parameters] None [Description] ・The immediately preceding character within
25 Line feed commands ESC 0 Specify line feed of 1/8 inch [ASCII] ESC 0 [Decimal] 27 48 [Hexadecimal] 1B 30 [Parameters] None [Description] ・Spec
26 ESC A Specify line feed of n/60 inch [ASCII] ESC A n [Decimal] 27 65 n [Hexadecimal] 1B 41 n [Parameters] 0≤n≤255 [Description] ・Specifi
27 Horizontal movement commands CR Carriage return [ASCII] CR [Decimal] 13 [Hexadecimal] 0D [Parameters] None [Description] ・Performs a line feed o
28 ESC \ Specify relative horizontal position [ASCII] ESC \ n1 n2 [Decimal] 27 92 n1 n2 [Hexadecimal] 1B 5C n1 n2 [Parameters] 0≤n1≤255
29 Vertical movement commands LF Line feed [ASCII] LF [Decimal] 10 [Hexadecimal] 0A [Parameters] None [Description] ・Performs the same line feed op
3 [Contents] Control code list...6
30 Paper formatting ESC i l Specify label length [ASCII] ESC i l n1 n2 [Decimal] 27 105 108 n1 n2 [Hexadecimal] 1B 69 6C n1 n2 [Para
31 Printer control commands ESC @ Initialize [ASCII] ESC @ [Decimal] 27 64 [Hexadecimal] 1B 40 [Parameters] None [Description] ・Resets all pa
32 Graphics commands ESC * Select bit image [ASCII] ESC * m n1 n2 data [Decimal] 27 42 m n1 n2 data [Hexadecimal] 1B 2A m n1 n2 data [
33 When m=0, 1, 2, 3, 4 or 6 ・n1 and n2 indicate the number of dot positions. n1: The remainder from dividing the number of dot positions by 256
34 When m=32, 33, 38, 39 or 40 ・n1 and n2 indicate the number of dot positions. n1: The remainder from dividing the number of dot positions by 2
35 ・One dot of the image data is enlarged according to the value of m, as shown below. ・As a result, the image is sized depending on the value of
36 ・First, the data is lined up in six rows as shown below. ・One dot of the image data is enlarged according to the value of m, as s
37 ESC K 8-dot single-density bit image [ASCII] ESC K n1 n2 data [Decimal] 27 75 n1 n2 data [Hexadecimal] 1B 4B n1 n2 data [Parameters]
38 ESC L 8-dot double-density bit image [ASCII] ESC L n1 n2 data [Decimal] 27 76 n1 n2 data [Hexadecimal] 1B 4C n1 n2 data [Parameters]
39 ESC Y 8-dot double-speed double-density bit image [ASCII] ESC Y n1 n2 data [Decimal] 27 89 n1 n2 data [Hexadecimal] 1B 59 n1 n2 data
4 CR Carriage return... 27 ESC $ Specify absolute horizontal
40 Kanji commands FS Y Specify kanji size [ASCII] FS Y n [Decimal] 28 89 n [Hexadecimal] 1C 59 n [Parameters] 0≤n≤6 or 30h≤n≤36h [Description]
41 FS SI Specify half-width characters [ASCII] FS SI [Decimal] 28 15 [Hexadecimal] 1C 0F [Parameters] None [Description] ・Same as SI FS DC2 Canc
42 Advanced commands ESC i B Bar code [ASCII] ESC i [parameters] B or b [bar code data] backslash [Decimal] 27 105 [parameters] 66
43 48 ≤ height ≤ 384 If height < 48, height = 48. If height > 384, height = 384. However, with tc, the height is as described below. 141 ≤ heig
44 * Note: ・ Both 00H through 09H and 30H through 39H are recognized as the parameter numbers 0 through 9. ・ Parameter types a and b are recognized
45 If “?” is entered, "?” is treated as bar code data. ④ Backslash: End of bar code data [With protocols CODE39, ITF (I-2/5), EAN-8, EAN-13,
46 ESC i Q 2D bar code (QR Code) [ASCII] ESC i Q data [Decimal] 27 105 81 data [Hexadecimal] 1B 69 51 data ・Format ESC i Q [par
47 (*2) With Micro QR, error correction level 4 is invalid, and the default setting is used. ◆ Supplement: About QR Code linkage setting QR Codes ha
48 ・No linkage ESC i Q 0x04 0x02 0x00 0x00 0x00 0x00 0x02 0x00 “123456789”\\\ ・With linkage (separated into three partitions) (The parit
49 characters * Note: The number of characters that can be entered (listed above) is for an error correction level at a high-density level of L 7%.
5 ESC i U B Specify baud rate ...69 ESC i U b Specify bit length ...
50 ESC i P Specify QR Code version [ASCII] ESC i P n [Decimal] 27 105 80 n [Hexadecimal] 1B 69 50 n [Parameters] 0≤n≤40 [Description] ・The ba
51 ESC i V 2D bar code (PDF417) [ASCII] ESC i V data [Decimal] 27 105 86 data [Hexadecimal] 1B 69 56 data ・Format ESC i V [p
52 * 0 and 1 to 4 with Micro PDF417 7. Symbol size in Y direction [1-byte decimal] 0 [1-byte decimal] 3 to 90 * 0 and 4 to 44 with MicroPDF417
53 capacity is set to the lowest level. The number of characters that can be entered may decrease, depending on the error correction capacity value.
54 [With symbol type Micro PDF417] Maximum of 250 alphanumeric characters, maximum of 366 numerals, maximum of 150 bytes of binary data However, the
55 ESC i D 2D bar code (DataMatrix) [ASCII] ESC i D data [Decimal] 27 105 68 data [Hexadecimal] 1B 69 44 data ・ Format ESC i D [
56 [1-byte decimal] 72 [1-byte decimal] 80 [1-byte decimal] 88 [1-byte decimal] 96 [1-byte decimal] 104 [1-byte decimal] 120 [1-byte deci
57 * Note: The number of characters that can be entered (as listed above) is for the maximum vertical × horizontal cell settings (144 cells × 144 ce
58 ESC i M 2D bar code (MaxiCode) [ASCII] ESC i M data [Decimal] 27 105 77 data [Hexadecimal] 1B 69 4D data ・Format
59 characters that can be entered may decrease, depending on the characters that are used. 2 When the symbol type is the structured carrier message
6 Control code list Character/style selection ESC R 1B 52 Select international character set ESC k 1B 6B Select font ESC t 1B 74 Select char
60 ESC i F Print transferred data [ASCII] ESC i F P n [Decimal] 27 105 70 80 n [Hexadecimal] 1B 69 46 50 n [Parameters] n: File header
61 ・As with text, if the image data does not all fit in the current line, an error occurs. Abcdefg 1. Enter text.
62 ・If the result of pasting the transferred image exceeds the bottom margin position, the image is pasted in after a page feed. However, if the tran
63 ・There are limits on the amount of image data that can be stored on the main unit. The storage capacity for PT-9800PCN is 6,784 KB, and the capaci
64 ESC i a Switch command mode [ASCII] ESC i a n [Decimal] 27 105 97 n [Hexadecimal] 1B 69 61 n [Parameters] n: Command mode 0=ESC/P 1=R
65 ESC i S Request printer status [ASCII] ESC i S [Decimal] 27 105 83 [Hexadecimal] 1B 69 53 [Parameters] None [Description] ・Requests the pr
66 (number of bytes) 25 24 8 Spare Fixed at 00H (*1) With PT-9800PCN (*2) With PT-9700PC Error information 1 Flag Mask Definition Bit 0 0x01
67 Non-laminated tape 03H HG tape 09H Incompatible tape FFH Status type Status type Value Reply to status request 00H Printing completed 01H
68 ESC i L Apply/cancel rotated printing [ASCII] ESC i L n [Decimal] 27 105 76 n [Hexadecimal] 1B 69 4C n [Parameters] n=0 and 1 or 48 and 4
69 ESC i U B Specify baud rate [ASCII] ESC i U B n [Decimal] 27 105 85 66 n [Hexadecimal] 1B 69 55 42 n [Parameters] 0≤n≤12 [Descriptio
7 Vertical movement LF 0A Line feed FF 0C Page feed ESC J 1B 4A Forward paper feed Paper formatting ESC i l 1B 69 6C Specify label length ES
70 ESC i U P Specify parity setting [ASCII] ESC i U P n [Decimal] 27 105 85 80 n [Hexadecimal] 1B 69 55 50 n [Parameters] 0≤n≤2 [Descri
71 Character code Appendix CG list (for overseas) Standard character code table for ESC/P codes 0 1 2 3 4 5 6 7 8 9 A B C D E F0 SP 0 @ P `
72 Eastern European character code table (Windows 1250) 0 1 2 3 4 5 6 7 8 9 A B C D E F0 SP 0 @ P ` p € tˇ ° Ŕ Đ ŕ đ 1 ! 1 A Q a q À ‘
73 Western European character code table (Windows 1252) 0 1 2 3 4 5 6 7 8 9 A B C D E F0 SP 0 @ P ` p € ° À Ð à ð 1 ! 1 A Q a q ~ ‘ ¡ ±
74 International character set Compatible characters in each language when the international character set is switched n 23 24 40 5B 5C 5D 5E 60 7B
75 BROTHER PT-9800PCN/9700PC ESC/P specifications Print mode Raster (PCBP mode) ESC/P mode P-touch Template mode Maximum printing length 1 m Resol
8 Advanced commands ESC i B 1B 69 42 Bar code ESC i Q 1B 69 51 2D bar code (QR Code) ESC i P 1B 69 50 Specify QR Code version ESC i V 1B 69 5
9 Print area The print area for each tape width is listed below. Width (①) (tape width) Printable area Length (④) (label length)Top margin(③) Bo
Comments to this Manuals