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 11 of 14

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

Pages 79 to 88 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 79

[Reference]

• In standard mode, the printer uses the vertical motion unit (y). • When this command is used in page mode, the command functions as follows, depending on the starting position of the printable area. ➀ When the starting position is set to the upper left or lower right of the printable area using ESC T, the vertical motion unit (y) is used. ➁ When the starting position is set to the upper right or lower left of the printable area using ESC T, the horizontal motion unit (x) is used. • The maximum paper feed amount is 40 inches. Even if a paper feed amount of more than 40 inches is set, the printer feeds the paper only 40 inches. GS P

ESC L [Name] [Format]

Select page mode ASCII ESC L Hex 1B 4C Decimal 27 76 [Description] Switches from standard mode to page mode. [Notes] • This command is enabled only when input at the beginning of a line. • This command has no affect in page mode. • After printing by FF is completed or by using ESC S, the printer returns to standard mode. • This command sets the position where data is buffered to the position specified by ESC T within the printing area defined by ESC W. • This command switches the settings for the following commands (in which the values can be set independently in standard mode and page mode) to those for page mode: ➀ Set right-side character spacing: ESC SP ➁ Select 1/6-inch line spacing: ESC 2 ➂ Set line spacing: ESC 3 • Only valve settings is possible for the following commands; these commands are not executed. ➀ Turn 90° clockwise rotation mode on/off: ESC V ➁ Select justification : ESC a ➂ Turn upside-down printing mode on/off : ESC { ➃ Set left margin: GS L ➄ Set printable area width: GS W • The printer returns to standard mode by using the ESC @ or DLE ENQ 2.

Commands 5-21

Page 80

[Reference]

FF, CAN,ESC, FF, ESC S, ESC T, ESC W, GS $, GS\

ESC R n [Name] [Format]

Select an international character set ASCII ESC R n Hex 1B 52 n Decimal 27 82 n [Range] 0 ≤ n ≤ 10 [Description] Selects an international character set n from the following table: n

Character set

0

U.S.A.

1

France

2

Germany

3

U.K.

4

Denmark I

5

Sweden

6

Italy

7

Spain

8

Japan

9

Norway

10

Denmark II

[Default] [Reference] n=0 Character Code Tables

ESC S [Name] [Format]

Select standard mode ASCII ESC S Hex 1B 53 Decimal 27 83 [Description] Switches from page mode to standard mode. [Notes] • This command is effective only in page mode. • Data buffered in page mode are cleared. • This command sets the print position to the beginning of the line. • The printing area set by ESC W are initialized.

5-22 Commands

Page 81

[Reference]

• This command switches the settings for the following commands (in which the values can be set independently in standard mode and page mode) to those for standard mode: ➀ Set right-side character spacing: ESC SP ➁ Select 1/6-inch line spacing: ESC 2 ➂ Set line spacing: ESC 3 FF, ESC FF, ESC L

ESC T n [Name] [Format]

Select print direction in page mode ASCII ESC T n Hex 1B 54 n Decimal 27 84 n [Range] 0≤n≤3 48 ≤ n ≤ 51 [Description] Selects the print direction and starting position in page mode. n specifies the print direction and starting position as follows:

Left to right

Upper left (A in the figure)

1, 49

Bottom to top

Lower left (B in the figure)

2, 50

Right to left

Lower right (C in the figure)

3, 51

Top to bottom

Upper right (D in the figure)

[Notes]

A Printing area B

0, 48

C

Starting Position

Paper feed direction

Print Direction

D n

• When the command is input in standard mode, the printer executes only internal flag operation. This command does not affect printing in standard mode. • This command sets the position where data is buffered within the printing area set by ESC W. • Parameters for horizontal or vertical motion units (X or y ) differ as follows, depending on the starting position of the printing area: ➀ If the starting position is the upper left or lower right of the printing area, data is buffered in the direction perpendiccular to the paper feed direction: Commands using horizontal motion units: ESC SP, ESC $, ESC \ Commands using vertical motion units: ESC 3, ESC J, GS $, GS \

Commands 5-23

Page 82

[Default] [Reference]

➁ If the starting position is the upper right or lower left of the printing area, data is buffered in the paper feed direction: Commands using horizontal motion units: ESC 3, ESC J, GS $, GS \ Cmmands using vertical motion units: ESC SP, ESC $, ESC \ n=0 ESC $, ESC L, ESC W, ESC \, GS $, GS P, GS \

ESC V n [Name] [Format]

Turn 90° clockwise rotation mode on/off ASCII ESC V n Hex 1B 56 n Decimal 27 86 n [Range] 0 ≤ n ≤ 1, 48 ≤ n ≤ 49 [Description] Turns 90° clockwise rotation mode on or off. n is used as follows: n

Function

0, 48

Turns off 90 ° clockwise rotation mode

1, 49

Turns on 90 ° clockwise rotation mode

[Notes]

[Default] [Reference]

• When underline mode is turned on, the printer does not underline 90° clockwise-rotated characters. • Double-width and double-height commands in 90° rotation mode enlarge characters in the opposite directions as from doubleheight and double-width commands in normal mode. • This command has no effect in page mode. • If this command is input in page mode, the printer performs only internal flag operations. n=0 ESC !, ESC -

ESC W xL xH yL yH dxL dxH dyL dyH [Name] [Format]

Set printing area in page mode ASC II ESC W xL xH yL yH dxL dxH dyL dyH Hex 1B 57 xL xH yL yH dxL dxH dyL dyH Decimal 27 87 xL xH yL yH dxL dxH dyL dyH [Range] 0 ≤ xL, xH, yL, yH, dxL, dxH, dyL, dyH ≤ 255 [Description] • The horizontal starting position, vertical starting position, printing area width, and printing area height are defined as x0, y0, dx (inch), dy (inch), respectively. Each setting for the printing area is calculated as follows:

5-24 Commands

Page 83

[Notes] x0 = [(xL + xH ✕ 256) ✕ (horizontal motion unit)] y0 = [(yL + yH ✕ 256) ✕ (vertical motion unit)] dx = [dxL + dxH ✕ 256) ✕ (horizontal motion unit)] dy = [dyL + dyH ✕ 256) ✕ (vertical motion unit)] The printing area is set as shown in the figure below. • If this command is input in standard mode, the printer executes only internal flag operation. This command does not affect printing in standard mode. • If the horizlntal or vertical starting position is set outside the printable area, the printer stops command processing and processes the following data as normal data. • If the printing area width or height is set to 0, the printer stops command processing and processes the following data as normal data. • This command sets the position where data is buffered to the position specified by ESC T within the printing area. • If (horizontal starting position + printing area width) exceeds the printable area, the printing area width is automatically set to (horizontal printable area - horizontal starting position). • If (vertical starting position + printing area height ) exceeds the printable area, the printing area height is automatically set to (vertical printable area - vertical starting position ). • The horizontal and vertical motion unit are specified by GS P. Changing the horizontal or vertical motion unit does not affect the current printing area. • The GS P command can change the horizontal (and vertical) motion unit. However, the value cannot be less than the minimum horizontal movement amount, and it must be in even units of minimum horizontal movement amount. • Use the horizontal motion unit (x) for setting the horizontal starting position and printing area width, and use the vertical motion unit (y) for setting the vertical starting position and printing area height.

Commands 5-25

Page 84

• When the horizontal starting position , vertical starting position, printing area width, and printing area height are defined as X, Y, Dx, and Dy respectively, the printing area is set as show in the figure on the next page.

(0, 0)

Paper feed direction paper

(x, y)

Dx

Dy

Printing area

(X+DX-1, *Y + Dy=1)

[Default] [Reference]

• The printable area for this printer is 512/180 inches in the horizontal direction and 1662/360 inches in the vertical direction. xL = xH = yL = yH = 0 dxL = 0, dxH = 2, dyL = 126, dyH = 6 CAN, ESC L, ESC T, GS P

ESC \ nL nH [Name] [Format]

Set relative print position ASCII ESC \ nL nH Hex 1B 5C nL nH Decimal 27 92 nL nH [Range] 0 ≤ nL ≤ 255 0 ≤ nH ≤ 255 [Description] Sets the print starting position based on the current position by using the horizontal or vertical motion unit. • This command sets the distance from the current position to [(nL + nH ✕ 256) ✕ horizontal or vertical motion unit] [Notes] • Any setting that exceeds the printable area is ignored. • When pitch N is specified to the right: nL+ nH ✕ 256 = N When pitch N is specified to the left (the negative direction), use the complement of 65536. When pitch N is specified to the left: nL+ nH ✕ 256 = 65536 - N

5-26 Commands

Page 85

[Reference]

• The print starting position moves from the current position to [N ✕ horizontal or vertical motion unit] • The horizontal and vertical motion unit are specified by GS P. • The GS P command can change the horizontal (and vertical) motion unit. However, the value cannot be less than the minimum horizontal movement amount, and it must be in even units of the minimum horizontal movement amount. • In standard mode, the horizontal motion unit is used. • In page mode, the horizontal or vertical motion unit differs as follows, depending on the starting point of the printing area: ➀ When the starting position is set to the upper left or lower right of the printable area using ESC T, the horizontal motion unit (x) is used. ➁ When the starting position is set to the upper right or lower left of the printable area using ESC T, the vertical motion unit (y) is used. ESC $, GS P

ESC a n [Name] [Format]

Select justification ASCII ESC a n Hex 1B 61 n Decimal 27 97 n [Range] 0 ≤ n ≤ 2, 48 ≤ n ≤ 50 [Description] Aligns all the data in one line to the specified position. n selects the type of justification as follows: n

Justification

0, 48

Left justification

1,49

Centering

2, 50

Right justification

[Notes]

[Default] [Example]

• The command is enabled only when input at the beginning of the line. • If this command is input in page mode, the printer performs only internal flag operation. • This command does not affect printing in page mode. • Lines are justifiedwithin the specified printing area. • Spaces set by HT, ESC $, and ESC \ are all justified. n=0

Commands 5-27

Page 86

Left justification

Centering

Right justification

ABC

ABC

ABC

ABCD

ABCD

ABCD

ABCDE

ABCDE

ABCDE

ESC c 3 n [Name] [Format]

Select paper sensor(s) to output paper end signals ASCII ESC c 3 n Hex 1B 63 33 n Decimal 27 99 51 n [Range] 0 ≤ n ≤ 255 [Description] selects paper sensor(s) to output paper end signals, using n as follows: Bit Off/On

Hex

Decimal

Function

Off

00

0

Paper roll near-end sensor disabled.

On

01

1

Paper roll near-end sensor enabled.

Off

00

0

Paper roll near-end sensor disabled.

On

02

2

Paper roll near-end sensor enabled.

Off

00

0

Paper roll end sensor disabled.

On

04

4

Paper roll sensor enabled.

Off

00

0

Paper roll end sensor disabled.

On

08

8

Paper roll end sensor enabled.

Off

00

0

Undefined.

On

10

16

Undefined.

Off

00

0

Undefined.

On

20

32

Undefined.

Off

00

0

Undefined.

On

40

64

Undefined.

Off

00

0

Undefined.

On

80

128

Undefined.

0

1

2

3

4

5

6

7

5-28 Commands

Page 87

[Notes]

[Default]

• It is possible to select multiple sensors to output signals. Then, if any of the sensors detects a paper end, the paper end signal is output. • This command is available only with a parallel interface and is ignored with a serial interface. • Sensor is switched when executing this command. Because of this, the paper-out signal switching may delay depending on the receive buffer state. n = 15

Commands 5-29

Page 88

ESC c 4 n [Name] [Format]

Select paper sensor(s) to stop printing ASCII ESC c 4 n Hex 1B 63 34 n Decimal 27 99 52 n [Range] 0 ≤ n ≤ 255 [Description] Selects the paper sensor(s) used to stop printing when a paper-end is detected, using n as follows: Bit

Off/On

Hex

Decimal

Function

Off

00

0

Paper roll near-end sensor disabled.

On

01

1

Paper roll near-end sensor enabled.

Off

00

0

Paper roll near-end sensor disabled.

On

02

2

Paper roll near-end sensor enabled.

2

-

-

-

Undefined.

3

-

-

-

Undefined.

4

-

-

-

Undefined.

5

-

-

-

Undefined.

6

-

-

-

Undefined.

7

-

-

-

Undefined.

0

1

[Notes]

[Default]

• When a paper end is detected, printing stops after printing the current line and feeding the paper. • The printer goes off-line after printing stops. • The paper roll near-end sensor is enabled when either bit 0 or 1 is 1. n=0

ESC c 5 n [Name] [Format]

Enable/disable panel buttons ASCII ESC c 5 n Hex 1B 63 35 n Decimal 27 99 53 n [Range] 0 ≤ n ≤ 255 [Description] Enables or disables the panel buttons. • When the LSB of n is 0, the panel buttons are enabled. • When the LSB of n is 1, the panel buttons are disabled.

5-30 Commands