Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 14 of 14

TM-T85/T85P Thermal Line Printer Operator's Manual: Chapter 5 Commands, pages 109 to 115

Pages 109 to 115 of 115, from TM-T85/T85P Thermal Line Printer Operator's Manual

The original document is the PDF (2.6 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Epson TM-T85

Page 109

[Description] Selects a font for the HRI characters used when printing a bar code. n selects a font from the following table: n

Font

0, 48

Font A (12 × 24)

1, 49

Font B (9 × 24)

[Note] [Default] [Reference]

• HRI indicates Human Readable Interpretation. • HRI characters are printed at the position specified by GS H. n=0 GS H, GS K

GS h n [Name] [Format]

Select bar code height ASCII GS h n Hex 1D 68 n Decimal 29 104 n [Range] 0 ≤ n ≤ 255 [Description] Selects the height of the bar code. n specifies the number of dots in the vertical direction. [Default] n = 162 [Reference] GS K ➀ GS k m d1...dk NUL ➁ GS k m n d1...dn [Name] [Format]

Print bar code ➀ASCII GS k m d1...dk NUL Hex 1D 6B m d1...dk 00 Decimal 29 107 m d1...dk 0 ➁ASCII GS k m n d1...dn Hex 1D 6B m n d1...dn Decimal 29 107 m n d1...dn ➀ 0 ≤ m ≤ 6 (k and d depends on the bar code system used) [Range] ➁ 65 ≤ m ≤ 73 (n and d depends on the bar code system used) [Description] Selects a bar code system and prints the bar code.

Commands 5-51

Page 110

m selects a bar code system as follows: m

Bar Code System

Number of Characters

Remarks

0

UPC-A

11 ≤ k ≤ 12

48 ≤ d ≤ 57

1

UPC-E

11 ≤ k ≤ 12

48 ≤ d ≤ 57

2

JAN13 (EAN)

12 ≤ k ≤ 13

48 ≤ d ≤ 57

3

JAN 8 (EAN)

7 ≤ k ≤ 8

48 ≤ d ≤ 57

4

CODE39

1≤k

48 ≤ d ≤ 57, 65 ≤ d ≤ 90, 32, 36, 37, 43, 45, 46, 47

5

ITF

1 ≤ k (even number)

48 ≤ d ≤ 57

6

CODABAR

1≤k

48 ≤ d ≤ 57, 65 ≤ d ≤ 68 , 36, 43, 45, 46, 47, 58

65

UPC-A

11 ≤ n ≤ 12

48 ≤ d ≤ 57

66

UPC-E

11 ≤ n ≤ 12

48 ≤ d ≤ 57

67

JAN13 (EAN)

12 ≤ n ≤ 13

48 ≤ d ≤ 57

68

JAN 8 (EAN)

7 ≤ n ≤ 8

48 ≤ d ≤ 57

69

CODE39

1 ≤ n ≤ 255

48 ≤ d ≤ 57, 65 ≤ d ≤ 90, 32, 36, 37, 43, 45, 46, 47 d1 = dk = 42 ([1)

70

ITF

1 ≤ n ≤ 255 (even number)

48≤ d ≤ 57

71

CODABAR

1 ≤ n ≤ 255

48 ≤ d ≤ 57 65 ≤ d ≤ 68 , 36, 43, 45, 46, 47, 58

72

CODE93

1 ≤ n ≤ 255

0 ≤ d ≤ 127

73

CODE128

2 ≤ n ≤ 255

0 ≤ d ≤ 127

➀

➁

[Description for ➀] • d indicates the character code to be printed and k indicates the number of characters to be printed. [Description for ➁] • n indicates the number of bar code data, and the printer processes n bytes from the next character data as bar code data. • d indicates the character code to be printed. [Notes for ➀] • This command ends with a NUL code.

5-52 Commands

Page 111

• When the bar code system used is UPC-A or UPC-E, the printer prints the bar code data after receiving 12 bytes bar code data and processes the following data as normal data. • When the bar code system used is JAN13, the printer prints the bar code after receiving 13 bytes bar code data and processes the following data as normal data. • When n the bar code system used is JAN8, the printer prints the bar code after receiving 8 bytes bar code data and processes the following data as normal data. • The number of data for ITF bar code must be even numbers. When an odd number of data is input, the printer ignores the last received data. [Notes for ➁] • If n is outside of the specified range, the printer stops command processing and processes the following data as normal data. [Notes in standard mode] • If d is outside of the specified range, the printer only feeds paper and processes the following data as normal data. • If the horizontal size exceeds printing area, the printer only feeds the paper. • This command feeds as much paper as is required to print the bar code, regardless of the line spacing specified by ESC 2 or ESC 3. • This command is enabled only when no data exists in the print buffer. When data exists in the print buffer, the printer processes the data following m as normal data. • After printing bar code, this command sets the print position to the beginning of the line. • This command is not affected by print modes (emphasized, double-strike, underline, or character size), except for upsidedown mode. [Notes in page mode] • This command develops bar code data in the print buffer, but does not print it. After processing bar code data, this command moves the print position to the right side dot of the bar code. • If d is out of the specified range, the printer stops command processing and processes the following data as normal data. In this case the data buffer position does not change. • If bar code width exceeds the printing area, the printer does not print the bar code but moves the data buffer position to the left side out of the printing area. • Refer to Figure 3.12.3 for bar code data buffer position. [Reference]

GSH, GS f, GS h, GS w

GS r n [Name] [Format]

Transmit status ASCII GS r n

Commands 5-53

Page 112

Hex 1D 72 n Decimal 29 114 n [Range] 1 ≤ n ≤ 2, 49 ≤ n ≤ 50 [Description] Transmits the status specified by n as, follows: n

Function

1, 49

Transmits paper sensor status (same as ESC v)

2, 50

Transmits drawer kick-out connector status (same as ESC u 0)

[Notes]

• When DTR/DSR control is selected, the printer transmits only 1 byte after confirming the host is ready to receive data (DSR signal is SPACE). If the host computer is not ready to receive data (DSR signal is MARK), the printer waits until the host is ready. When XON/XOFF control is selected, the printer transmits only 1 byte without confirming the condition of the DSR signal. • This command is executed when the data in the receive buffer is developed. Therefore, there may be a time lag between receiving this command and transmitting the status, depending on the receive buffer status. • When Auto Status Back (ASB) is enabled using GS a, the status transmitted by GS r and the ASB status must be differentiated. • The status types to be transmitted are shown below: Paper sensor status (n = 1, 49): Bit

Off/On

Hex

Decimal

Status for ASB

0

Off

00

0

Paper roll near-end sensor. Paper adequate.

1

On

03

3

Paper near-end is detected by the paper roll near-end sensor.

2

Off

00

0

Paper end is not detected by the paper roll end sensor.

3

On

(0C)

(12)

Paper end is detected by the paper roll end sensor.

4

Off

00

0

Not used. Fixed to Off.

5

Off

-

-

Undefined.

6

Off

-

-

Undefined.

7

Off

00

0

Not used. Fixed to Off.

Bits 2 and 3:

5-54 Commands

When the paper roll end sensor detects a paper end, the printer goes off-line and does not execute this command. Therefore, bits 2 and 3 do not transmit the status of paper end.

Page 113

Drawer kick-out connector status (n = 2, 50): Bi t

Off/On

Hex

Decimal

Status for ASB

Off

00

0

Drawer kick-out connector pin 3 is LOW.

On

01

1

Drawer kick-out connector pin 3 is HIGH.

1

-

-

-

Undefined

2

-

-

-

Undefined.

3

-

-

-

Undefined.

4

Off

00

0

Not used. Fixed to Off.

5

-

-

-

Undefined.

6

-

-

-

Undefined.

7

Off

00

0

Not used. Fixed to Off.

0

[Reference]

DLE EOT, ESC u, ESC v, GS a

GS w n [Name] [Format]

Set bar code width ASCII GS w n Hex 1D 77 n Decimal 29 119 n [Range] 2≤n≤6 [Description] Set the horizontal size of the bar code. n specified the bar code width as follows::

n

Module Width (mm) for

Multi-level Bar Code

Binary-level Bsar Code Thin element width

Thick element width

(mm)

(mm)

2

0.282

0.282

0.706

3

0.423

0.423

1.129

4

0.564

0.564

1.411

5

0.706

0.706

1.834

6

0.847

0.847

2.258

• Multi-level bar codes are as follows: UPC-A, UPC-E, JAN13, JNA8, CODE93, CODE128 • Binary-level bar codes are as follows:

Commands 5-55

Page 114

[Default] [Reference]

5-56 Commands

CODE39, ITF, CODABAR n=3 GS k

Page 115 read from a scan by OCR; it may hold reading errors

Printed in Japan 1999.12