Page 2 - IMPORTANT - PLEASE READ CAREFULLY
Machine Model: TD-4000/TD-4100N IMPORTANT - PLEASE READ CAREFULLY This documentation (“Documentation”) gives you information that will assist you in controlling your Machine Model. You may use the Documentation only if you first agree to the following conditions. If you do not agree to the following...
Page 5 - Character codes
ESC i V 2D bar code PDF417 ............................................................................. 77 ESC i D 2D bar code DataMatrix control........................................................... 80 ESC i M 2D bar code MaxiCode control .........................................................
Page 6 - Introduction; material only if you accept these terms.
Introduction This material provides the necessary information for directly controlling TD-4000/4100N. This information is provided assuming that the user has full understanding of the operating system being used and basic mastery of RS-232C, USB or Ethernet in a developer's environment. We accept no...
Page 7 - Control Code List
Control Code List Character/style selection ESC R 1B 52 Select international character set ESC q 1B 71 Select character style ESC k 1B 6B Select font ESC t 1B 74 Select character code table Text printing ESC 4 1B 34 Apply italic style ESC 5 1B 35 Cancel italic style ESC E 1B 45 Apply bold style ESC ...
Page 10 - Print area; The printing media are die-cut labels and continuous length label.
Print area The printing media are die-cut labels and continuous length label. The area that can physically be printed on depends on the size and type of the print media. <<Die-cut>> Top margin Bottom margin Unprintable area Unprinted area Print area Top margin position (TOF position) Lef...
Page 12 - Characters
Characters This system uses single-byte character codes and is installed with five bit-map fonts (Brougham, Letter Gothic bold, Brussels, Helsinki, and San Diego), and 3 out-line fonts (Letter Gothic, Brussels and Helsinki). Fixed pitch or proportional pitch (PS pitch) can be specified for any of th...
Page 13 - Character sizes
Character sizes Each font is available in full size, reduced size (half width), double width, double height and half width, double height, and quadruple size. Double Double height Quadruple size height Half and Full size Double width width half width The actual character size is slightly smaller tha...
Page 14 - a b c
Pitch Pitch refers to the spacing between neighboring characters. When characters are arranged with a fixed pitch, they will be evenly spaced. If characters extend over several lines, they will align in straight rows. When characters are arranged with a proportional pitch, the spacing will vary depe...
Page 15 - Print position
Print position The print position is the standard position for printing characters, bitmaps, and bar codes. There is a horizontal print position and vertical print position, which are the reference points for vertical position movement and horizontal position movement. Characters are arranged with t...
Page 17 - Line feed amount
Line feed amount The amount of line feed is the amount of vertical movement from the print position of one line to the print position of the next line. HHHHHHHHHHHHH HHHHHHHHHHHHH HHHHHHHHHHHHH The line feed amount is set with ESC 0, ESC 2, ESC A, and ESC 3. ・ Within the same line of text, the talle...
Page 18 - Document creation flow
Document creation flow Below is an explanation of the flow for creating documents. ddd 18 A Switch command mode (ESC i a) Initialize (ESC @) B Format Settings 1. Select landscape orientation (ESC i L) 2. Specify page length (ESC ( C) 3. Specify print area Specify page format (ESC ( c) Left/right mar...
Page 20 - Control command details; Character/style selection commands
Control command details Character/style selection commands ESC R Select international character set [ASCII] ESC R n [Decimal] 27 82 n [Hexadecimal] 1B 52 n [Parameters] 0 ≤ n ≤ 13,64 [Description] ・ Selects the international character set and changes some of the character codes in the code table acc...
Page 21 - A C
ESC q Select character style [ASCII] ESC q n [Decimal] 27 113 n [Hexadecimal] 1B 71 n [Parameters] 0 ≤ n ≤ 3 [Description] ・ Selects the character style. n=0: Cancel (normal characters) n=1: Outline n=2: Shadow n=3: Shadow and outline [Example] Code ABC ESC q 02h ABC ESC q 00h ABC FF Print result AB...
Page 23 - DEF
Text printing commands ESC 4 Apply italic style [ASCII] ESC 4 [Decimal] 27 52 [Hexadecimal] 1B 34 [Parameters] None [Description] ・ Applies italic character style. ・ This command is valid anywhere in a text line. ESC 5 Cancel italic style [ASCII] ESC 5 [Decimal] 27 53 [Hexadecimal] 1B 35 [Parameter]...
Page 26 - Wid; A B; Full width
ESC P Specify pica pitch [ASCII] ESC P [Decimal] 27 80 [Hexadecimal] 1B 50 [Parameters] None [Description] ・ Prints subsequent data with pica pitch (10 characters/inch). ・ The character spacing is 30 dots (=300 dots/10 characters). ・ If the character width is 30 dots or less, the character spacing i...
Page 52 - Left alignment
ESC J Forward paper feed [ASCII] ESC J n [Decimal] 27 74 n [Hexadecimal] 1B 4A n [Parameters] 0 ≤ n ≤ 255 [Description] ・ Ends input for the current line and moves the vertical print position forward by n/300 inch (=1 dot). ・ If the bottom margin setting is exceeded, printing starts. ・ With left ali...
Page 54 - ABCD; performed
VT Apply vertical tab [ASCII] VT [Decimal] 11 [Hexadecimal] 0B [Parameters] None [Description] ・ Moves the print position to the nearest vertical tab position down from the input position. ・ The next horizontal print position is the beginning of the line. ・ If the next vertical tab position exceeds ...
Page 63 - As a result, the image is sized depending on the value of m as follows:
. One dot of the image data is enlarged as follows according to the value of m. ・ As a result, the image is sized depending on the value of m as follows: m = 32 48 dots vertically x (n1 + n2 *256) * 6 dots horizontally m = 33 48 dots vertically x (n1 + n2 *256) * 3 dots horizontally m = 38 48 dots v...
Page 74 - With QR codes, there are linkage settings.; set of bar code data]; What is exclusive OR’ing in bytes?; Summary
<> Supplement What is the QR code linkage setting? With QR codes, there are linkage settings. A long character string can be partitioned into 2 to 16 partitions and printed. With the ESC/P command, it is necessary to input only the number of partitions. For example, if the print data is partit...
Page 86 - section exceeding the print area is deleted.; Enter downloaded image; Example: Normal size
・ As with text, if the image data does not all fit on the current line, an automatic line feed is performed, and the data is placed at the beginning of the next line. At that time, the section exceeding the print area is deleted. 86 Abcdefg 1. Enter text. Abcdefg Abcdefg 2. Enter downloaded image af...
Page 87 - Since the image does; Enter; downloaded
・ If the result of pasting in the downloaded image exceeds the bottom margin position, it is pasted in after a page feed. However, if the downloaded image is larger than the entire area between the top and bottom margins, the entire image is ignored. 87 Abcdefg WLMBGOr Dabfdifpdzra BGHJgmfg gfdslrt ...
Page 112 - Standard character code table for ESC/P codes; ” 2 B R b r é; DEL; ” indicates that a space is printed.
Character codes Standard character code table for ESC/P codes 0 1 2 3 4 5 6 7 8 9 A B C D E F 0 SP 0 @ P ` p Ç É á ░ └ α 1 ! 1 A Q a q ü æ í ▒ ┴ β ± 2 ” 2 B R b r é Æ ó ▓ ┬ 3 # 3 C S c s â ô ú │ ├ ¾ 4 $ 4 D T d t ä ö ñ ┤ ─ 5 % 5 E U e u à ò Ñ ┼ § 6 & 6 F V f v å û a ¯ µ 7 ’ 7 G W g w ç ù o ¯ 8...
Page 114 - Western European character code table (Windows 1252)
Western European character code table (Windows 1252) 0 1 2 3 4 5 6 7 8 9 A B C D E F 0 SP 0 @ P ` p € ° À Ð à ð 1 ! 1 A Q a q ~ ‘ ¡ ± Á Ñ á ñ 2 ” 2 B R b r , ’ ¢ ² Â Ò â ò 3 # 3 C S c s ƒ “ £ ³ Ã Ó ã ó 4 $ 4 D T d t „ ” ¤ ´ Ä Ô ä ô 5 % 5 E U e u … • ¥ µ Å Õ å õ 6 & 6 F V f v † - | ¶ Æ Ö æ ö 7 ’ ...