Epson L60IIP - TM B/W Direct Thermal Printer Information Manual page 65

Information guide
Table of Contents

Advertisement

GS P x y
[Name]
Set horizontal and vertical motion units
[Format]
ASCII
Hex
Decimal
[Range]
0
x
255
0
y
255
GS P x y sets the horizontal and vertical motion units to 1/x and 1/y inches, respectively. The
horizontal and vertical motion units indicate the minimum pitch used for calculating the values of
related commands (shown below). The default values are x=180 and y=360. The calculated result
when using this command with other commands is truncated to the minimum value of the
mechanical pitch (1/180 inch horizontal and 1/360 inch vertical) or an exact multiple of that
minimum value. When x and y are set to 0, the default setting of each value is used.
Commands used with the horizontal motion unit (1/x) in standard mode: ESC SP, ESC $, ESC \,
GS L, and GS W.
Commands used with the vertical motion unit (1/y ) in standard mode: ESC 3, ESC J, and GS A.
Commands used with the horizontal and vertical motion units (1/x and 1/y) in page mode (either x
or y can be used, depending on the print direction set with ESC T): ESC SP, ESC $, ESC \, ESC 3,
ESC J, ESC W, GS $, and GS \.
Program Example
PRINT #1, CHR$(&H1D);"P";CHR$(180);CHR$(180);
PRINT #1, CHR$(&H1B);"3";CHR$(30);
PRINT #1, "AAAAA"; CHR$(&HA);
PRINT #1, "BBBBB"; CHR$(&HA);
PRINT #1, CHR$(&H1D);"P";CHR$(180);CHR$(90);
PRINT #1, CHR$(&H1B);"3";CHR$(30);
PRINT #1, "CCCCC"; CHR$(&HA);
PRINT #1, "DDDDD"; CHR$(&HA);
PRINT #1, "EEEEE"; CHR$(&HA);
1-58 Command Descriptions
GS
P
x
x
1D
50
29
80
x
Set line spacing
Set line spacing
y
y
y
Print Sample
AAAAA
BBBBB
30/180-inch line spacing
CCCCC
DDDDD
30/90-inch line spacing
EEEEE
Rev. A

Advertisement

Table of Contents
loading

This manual is also suitable for:

Esc/pos tm-l60iiEsc/pos tm-l60iip

Table of Contents