COMMAND DESCRIPTION 1.1 PRINT DIRECTION The printer has two print modes, selectable through the control characters: normal and reverse. TK100 Desk printer (Fig.1.1) Normal mode Reverse mode 1.2 COMMAND DESCRIPTIONS The table 1.1 shows the commmands list, ordered by their hexadecimal value.
Page 4
Given below are more detailed descriptions of each command. TK100 - Commands Reference...
Page 5
See “Autofeed in setup” parameter. [Reference] [Example] [Name] Real-time status transmission [Format] ASCII Decimal 1 ≤ n ≤ 4, n = 20 [Range] [Description] Transmits the selected printer status specified by n in real time according to the following Commands Reference - TK100...
Page 6
- f f n i l . f f n=2: Off-line status . f f t n i . f f n=3: Error status . f f . f f . ) y , y t TK100 - Commands Reference...
Page 7
FULL status (6 bytes) 1° Byte = $10 (DLE); 2° Byte = $0F; 3° Byte = paper status . t u . t u 4° Byte = User status n i l n i l Commands Reference - TK100...
Page 8
• The $1D $50 command can change the horizontal (and vertical) motion unit. However, the value cannot be less than the minimum horizontal movement amount. • In standard mode, the horizontal motion unit is used. • The maximum right side character spacing is 32 mm. [Default] n = 0 TK100 - Commands Reference...
Page 9
Sets the distance from the beginning of the line to the position at which subsequent characters are to be printed. The distance from the beginning of the line to the print position is [(nL + nH × 256) × (vertical or horizontal motion unit)] inches. Commands Reference - TK100...
Page 10
• If c2 < c1, the command is not executed. • d is the dot data for the characters. The dot pattern is in the horizontal direction starting from the left. Any remaining dots on the right remain blank. TK100 - Commands Reference...
Page 11
• d indicates the bit image data. Set a corresponding bit to 1 to print a dot, or to 0 to not print the dot. • If the value of m is outside the specified range, nL and data following it are processed as normal data. Commands Reference - TK100...
Page 12
• When underline mode is turned off by setting the value of n to 0 or 48, the data which follows is not underlined. • Underline mode can also be turned on or off by using $1B $21. Note, however, that the last received command is the effective one. [Default] [Reference] $1B $21 [Example] TK100 - Commands Reference...
Page 13
= 1, n = 3 Printer Enable n = 2 Printer Disabled [Notes] • When the printer is disabled, it ignores all transmitted data until the printer is enabled through this command. [Default] n = 1 [Reference] [Example] Commands Reference - TK100...
Page 14
• Up to 32 tab positions ( k = 32) can be set. Data exceeding 32 tab positions is processed as normal data. • Send [ n ] k in ascending order and place a 0 NUL code at the end. When [ n ] k is less TK100 - Commands Reference...
Page 15
[Example] [Name] Print and paper feed [Format] ASCII Decimal 0 ≤ n ≤ 255 [Range] Prints the data in the print buffer and feeds the paper [ n × (vertical or horizontal motion [Description] unit)] inches. Commands Reference - TK100...
Page 16
Selects characters font. [Notes] [Default] [Reference] $1B $C1 [Example] [Name] Select an international character set [Format] ASCII Decimal 0 ≤ n ≤ 10 [Range] [Description] Selects the international character set n according to the table below: TK100 - Commands Reference...
Page 17
• This command is not available in Page mode. • If this command is entered in Page mode, the printer all the same save the setting. Default] n = 0 [Reference] $1B $21, $1B $2D [Example] Commands Reference - TK100...
Page 18
• This command is only enabled when inserted at the beginning of a line. • Lines are justified within the specified printing area. • Spaces set by $1B $24 and $1B $5C will be justified according to the previously- entered mode. [Default] n = 0 [Reference] TK100 - Commands Reference...
Page 19
) ] l ) ] l t i s [Notes] [Default] n = 0 [Reference] See character code tables [Example] For printing Euro symbol (•), the command sequence is: 1B, 74, 13, D5 Commands Reference - TK100...
Page 20
• This command is valid only if entered at the beginning of a line. • In upside-down printing mode, the printer rotates the line to be printed 180° and then prints it. [Default] n = 0 [Reference] [Example] Upside-down printing Off Upside-down printing On ABCDEFG 0123456 Printing direction TK100 - Commands Reference...
Page 21
256 ) +1 dotline. [Default] [Reference] [Example] [Name] Transmit graphic page to communication port [Format] ASCII Decimal Transmits [nL + (nH × 256)] word of graphic page used at the moment to the communica- [Description] tion port. [Default] Commands Reference - TK100...
Page 22
[Example] [Name] Transfer RAM into flash bank [Format] ASCII Decimal 1 ≤ n ≤ 3 [Range] [Description] Transfers the RAM used at the moment into the flash bank (65520 bytes); n selects the bank as follows: TK100 - Commands Reference...
Page 23
-$15 if the barcode is not read (the [BARCODE DATA] is empty); is the barcode’s characters read. [Notes] • $06 corresponds to ACK character. • $15 corresponds to N ACK character. [Default] [Reference] [Example] Ticket facsimile with barcode : Commands Reference - TK100...
Page 24
Value); -$15 if the barcode is not read (the [BARCODE DATA] is empty); is the barcode’s characters read. [Notes] • $06 corresponds to ACK character. • $15 corresponds to N ACK character. [Default] [Reference] [Example] TK100 - Commands Reference...
Page 25
96 ≤ n ≤ 103, 112 ≤ n ≤ 119 [Description] Selects character height and width, as follows: • Bits 0 to 3: to select character height (see table 2). • Bits 4 to 7: to select character width (see table 1). Commands Reference - TK100...
Page 26
• The downloaded bit image definition is cleared when: 1) $1B $40 is executed. 2) $1B $26 is executed. Printer is reset or the power is turned off. • The following figure shows the relationship between the downloaded bit image and the printed data. TK100 - Commands Reference...
Page 27
2) If the printing area width cannot be extended toward the right side, because there’s no more printing area, the left margin is reduced to accommodate the bit image. [Reference] $1D $2A [Example] Commands Reference - TK100...
Page 28
= 0 [Reference] $1D $66, $1D $6B [Example] [Name] Transmit printer ID [Format] ASCII Decimal 1 ≤ n ≤ 3, 49 ≤ n ≤ 51 [Range] [Description] Transmits the printer ID specified by n follows: TK100 - Commands Reference...
Page 29
• If the left margin + printing area width is greater than the printable area, the printing area width is set at maximum value. • The horizontal and vertical motion unit are specified by $1D $50. Changing the horizontal or vertical motion unit does not affect the current left margin. Commands Reference - TK100...
Page 30
• If the right margin is greater than the printable area, the printing area width is set at maximum value. • If the printing area width = 0, it is set at the maximum value. • The horizontal and vertical motion units are specified by $1D $50. Changing the TK100 - Commands Reference...
Page 32
• When the bar code system used is EAN13, the printer prints the bar code data after receiving 12 (without check digit) or 13 (with check digit) bytes bar code data. • When the bar code system used is EAN8, the printer prints the bar code data after TK100 - Commands Reference...
Page 33
$1D $48, $1D $66, $1D $68, $1D $77 [Example] Example of print the Bar Code 39 1D 6B 04 54 45 53 54 00 Example of print the Bar Code 39 1D 6B 45 04 54 45 53 54 Commands Reference - TK100...
Page 34
Set bar code width [Format] ASCII Decimal 1 ≤ n ≤ 6 [Range] [Description] Sets the horizontal size of the bar code. n specifies the bar code width as follows: [Notes] [Default] n = 3 [Reference] $1D $6B TK100 - Commands Reference...
Page 35
[Default] 11mm [Reference] $1D$F8 [Example] [Name] Ticket align at cut [Format] ASCII Decimal [Description] Set the print head alignment at the following notch so it’s easy to tear away the printed ticket. [Notes] [Reference] $1D$F6 [Example] Commands Reference - TK100...
Need help?
Do you have a question about the TK100 and is the answer not in the manual?
Questions and answers