manuals.online logo
Brands
  1. Home
  2. •
  3. Brands
  4. •
  5. Epson
  6. •
  7. Printer
  8. •
  9. Epson LQ-1170 Dimensions

Epson LQ-1170 Dimensions

Other manuals for LQ-1170

2

Other Epson Printer manuals

Epson Stylus 1500 Quick start guide

Epson

Epson Stylus 1500 Quick start guide

Epson EcoTank Pro M15180 Series User manual

Epson

Epson EcoTank Pro M15180 Series User manual

Epson LQ-2080 User manual

Epson

Epson LQ-2080 User manual

Epson surecolor t series User manual

Epson

Epson surecolor t series User manual

Epson 875DC - Stylus Photo Color Inkjet Printer User manual

Epson

Epson 875DC - Stylus Photo Color Inkjet Printer User manual

Epson Stylus Pro 9000 - Print Engine User manual

Epson

Epson Stylus Pro 9000 - Print Engine User manual

Epson ET-8700 User manual

Epson

Epson ET-8700 User manual

Epson WorkForce EC-C7000 Instruction Manual

Epson

Epson WorkForce EC-C7000 Instruction Manual

Epson FX-880+ User manual

Epson

Epson FX-880+ User manual

Epson SC-B7000 Series User manual

Epson

Epson SC-B7000 Series User manual

Epson SP7900HDR - Stylus Pro 7900 Color Inkjet... User manual

Epson

Epson SP7900HDR - Stylus Pro 7900 Color Inkjet... User manual

Epson Stylus Photo EX User manual

Epson

Epson Stylus Photo EX User manual

Epson SC-V7000 Installation guide

Epson

Epson SC-V7000 Installation guide

Epson Stylus Photo R3000 Series Instruction Manual

Epson

Epson Stylus Photo R3000 Series Instruction Manual

Epson WorkForce Enterprise WF-C17590 Operating instructions

Epson

Epson WorkForce Enterprise WF-C17590 Operating instructions

Epson Small-in-One XP-520 User manual

Epson

Epson Small-in-One XP-520 User manual

Epson ET-M16680 Series User manual

Epson

Epson ET-M16680 Series User manual

Epson Stylus Photo PX700W User manual

Epson

Epson Stylus Photo PX700W User manual

Epson TM-J7000 Series User manual

Epson

Epson TM-J7000 Series User manual

Epson Stylus NX430 Small-in-One User manual

Epson

Epson Stylus NX430 Small-in-One User manual

Epson LX-810 User manual

Epson

Epson LX-810 User manual

Epson WF-5110 User manual

Epson

Epson WF-5110 User manual

Epson SL-D500 Series User manual

Epson

Epson SL-D500 Series User manual

Epson M1100 Series Instruction Manual

Epson

Epson M1100 Series Instruction Manual

Popular Printer manuals by other brands

Evolis Elypso user guide

Evolis

Evolis Elypso user guide

Lexmark 522n - C Color Laser Printer Service manual

Lexmark

Lexmark 522n - C Color Laser Printer Service manual

Panduit COUGAR LS9Q Operator's manual

Panduit

Panduit COUGAR LS9Q Operator's manual

Olivetti PG L2140 Operation guide

Olivetti

Olivetti PG L2140 Operation guide

Samsung SL-M2820DW user manual

Samsung

Samsung SL-M2820DW user manual

Kyocera FS-9530DN specification

Kyocera

Kyocera FS-9530DN specification

Canon LASER SHOT LBP-1210 Specifications

Canon

Canon LASER SHOT LBP-1210 Specifications

Canon PIXMA PRO-1 Series Getting started

Canon

Canon PIXMA PRO-1 Series Getting started

Canon LBP113w Getting started

Canon

Canon LBP113w Getting started

Lexmark Infoprint 1332 user manual

Lexmark

Lexmark Infoprint 1332 user manual

TransAct POSJET 1500 Spare parts

TransAct

TransAct POSJET 1500 Spare parts

Telpar MTP-1500 user manual

Telpar

Telpar MTP-1500 user manual

Star DP8340 SERIES user manual

Star

Star DP8340 SERIES user manual

MGI JETVARNISH 3DS user manual

MGI

MGI JETVARNISH 3DS user manual

Kyocera TASKalfa PA4500ci Operation guide

Kyocera

Kyocera TASKalfa PA4500ci Operation guide

Emaar EP-360 user manual

Emaar

Emaar EP-360 user manual

Fujitsu DL7400 user manual

Fujitsu

Fujitsu DL7400 user manual

Centronics 101A Technical manual

Centronics

Centronics 101A Technical manual

manuals.online logo
manuals.online logoBrands
  • About & Mission
  • Contact us
  • Privacy Policy
  • Terms and Conditions

Copyright 2025 Manuals.Online. All Rights Reserved.

EPSON AMERICA INC.
EPSON
Product Support Bulletin
Subject:
Understanding and Using
ESCP/2
Commands and Syntax
Date: 12/4/91
Page(s): 1 of 14
PSB No: P-0082
Originator: JW
This bulletin provides detailed explainations and illustrations for some of the more
commonly used printer commands used in ESC/P2 Listed below are the
commands discussed in this bulletin.
Command Command Name
PSB Page
ESC X m
nl
n2
Select Pitch and Point Size 2
ESC ( C ml
m2
nl
nl
Set Page Length in Defined Units
5
ESC(vm1
m2nl
n2
Set Relative Vertical Position
6
ESC(Vm1
m2nl
n2 Set Absolute Vertical Position
8
ESCtn
Select Character Table
9
ESC ( t nl
n2
dl
d2
d3
Assign Character Table
10
ESC(
A
nln2d,.
.
.&
Print Data as Characters
14
PSB No: P-0082
Page: 2 of 14
ESC X m n1 n2
(Select Pitch and Point Size)
C X m n1
a
is the command for selecting pitch and point size
where
m,
nl
and
n2
are variables. The
vadable
W
is used
to
select
the pitch, which is the character
spacing.
The
variable
W”
selects the point size and the variable
“n2”,
at this time,
will
aiways
be
0 (zero).
The
variables In” and
91’
ate
explained below.
Thevaluesusedfor’m’ateO,l,18,21,24,30,36,4248,60,and72
tf’o”is
usedasthevaluefor”m”,therewillbenochangeinpit~.
lf”l”isusedasthe
value
for
W,
the character pitch will be proportional spacing. To determine the
character pitch for all other values of
%I”,
divide 360 by
91”.
For example, if
rn=W
then 360
divided
by 60 equals 6 and the character pitch is 6 characters per inch. If
m=30,
the character pitch is 12 characters per inch.
FortheRomanandSansSerifforrts,thevaiueausedfor’nimare0,l6,20,TI,24,
26,3238,40,42,44,48,5238,80and64.
ForaUotherfonts,thevaluesusedfor
“nlBare0,21,and42
l’heactualpointsbthatwillprintisnl
diidedby2 For
example, if
nl=20,
the point size is 10.
tf
nl=48,
the
point
size is 24.
NOTE:
When
selectina
a
Doirft
size
laraer
than 24
(the
value for nl is treater than
48L
select
Drof3ortional
wacina
tm=ll
for the
character
me&.
In the Basic programming language, the command would look like this.
LPRlf+lT
cHR$(n);*xll;CHRS(l);CHR$(48);~~~(o);”~his is
24
pointproportional
spaced”
Ch6(27)
is ESC,
&6(l)
selects
proportional spacing,
chr$(48)
selects 24 point
character size. At this time,
n2
is
m
zero (0).
PSB No: P-0082
Page: 3 of 14
10 INPUT “Point Siie”;A$
20 B=VAL(A$)*2
21
RESTORE 70
22FORX=l
TO16
23READY
24
IF B=Y THEN GOT0
30
25NMTX
26CLS
27 PRINT A$
”
is not a valid point size choice.”
26
GOT0 10
30
C=VAL(A$)
40
LPRfNT
CHR$(27);“X”;CHR$(l);CHR$(B);CHR$(O);”n‘lese
are
“;A$;”
point
characters”
50
LPRtNT
CHR$(27);“(V”;CHR$(2);CHR$(O);CHR$(C);CHR$(o)
60
GOT0 10
70
DATA
0,16,20,21,24,28,32,36,40,4~44,48,52,56,60,64
Line 10
-
allows you to specify the point size desired.
Line 20
-
computes the value for
“nl”
in the ESC X command.
tine 21
-
check to ensure that a valid point size was input
ff
the point size is
valid, the program jumps to line 30. If the point size is not valid, the
program prints a message on the screen and starts over again.
Line 30 - computes the value for
“nl
”
for advancing paper using the ESC ( v
command.
Line 40
-
sends the “Set Pitch and Point Size” command to the printer. (Note: The
pitch is set for proportional spacing for
ail
point sizes to ensure proper
character spacing regardless of the point size.)
Line 50
-
sends the “Set Relative Vertical Position” command to the printer. This
command advances the paper in preparation for printing the next line.
Line 60-
causes the program to start again at the beginning.
NOTE: To halt the program, hold down the “Ctrl” key and press the “c” key.
PSB No: P-0082
Page: 4 of 14
tkma
uo
8
paint
chnctur
These are 10 point characters
These are 10.5 point characters
These are 12 point characters
These are 14 point characters
These are 16 point characters
These are 18 point characters
These
are 20 point characters
These are 21 point characters
These are 22 point characters
These are 24 point characters
These are 26 point characters
These are 28 point characters
These are 30 point characters
These are 32 point characters
PSB No: P-0082
Page: 5 of 14
ESC ( C m1 m2 n1 n2 (Set Page Length in Defined Units
II
ESC ( C m1 m2 n1 n2 is the command for setting the page length in units where ml,
m2,
nl and
n2
are variables. The
“uniV’
is usually
l/380
of an inch unless defined
othenwise
by the “ESC (
l.Y
command. Currently, the values for ml and
m2
MUST be
ml
=2
and
m2=0.
To determine the values for n1 and n2 perform the following steps.
1.
Determine the desired page length in inches.
2
Multiply the page length by 380.
3.
Divide the result by 258 using long division.
4.
The remainder in the quotient from step 3 is the value for n1.
5.
The whole number in the quotient from step 3 is the value for n2.
EXAMPLE
1.
The page length is 8.5
inches.
2
8.5 x 360 = 3060
3.
3060 divided by 256 =
11 with
a
remainder of 244.
4.
n1=244
5.
n2=11
In the Basic programming language, the command would look like this.
This command, as listed in the line above, will set the page length to 8.5 inches.
NOTE: The current line becomes the top of form. This command cancels any
previously set top and bottom margin settings. If you wish to set the top and bottom
margins via software command, the commands must be issued AFTER the “Set Page
Length in Defined Units” command. The proper page length setting can be confirmed
by issuing a “Form Feed” command,
chr$(l2),
or by pressing the “FF" button on the
control panel while the printer is
“Cff
Line”.
PSB No: P-0082
Page: 6 of 14
1
ESC ( v m1 m2 n1 n2 (Set Relative
Verticai~~~
ESC
l
v ml
m2
n1
a
is the command for advancing the print position
verticaiiy
in
unitswhereml,m2nl
andn2arevariables.
The5nCisusually1/36Oofaninch
unless defined otherwise by the “ESC (
U
command. Currently, the values for ml
and
IT@
MUST be ml
=2
and m2=0.
To determine the values for n1 and n2 perform the following steps.
1.
Determine the desired vertical motion distance in inches.
2
Multiply the distance by 360.
3.
Divide the result by 256 using long division.
4.
The remainder in the quotient from step 3 is the value for n1.
5.
The whole number in the quotient from step 3 is the value for n2
EXAMPLE
1.
The desired distance is 1 inch.
21x360=360
3.
36Odiidedby256=1witharemainderofl04.
4.
n1=104
5.
n2=1
In the Basic programming language, the command would look like thii.
Thiscommand,aslistedintheiineabove,willfeedthepaperuplinchfromthe
ament
line. The current print column (horizontal position) IS NOT changed.
‘Reverse” paper feed less than
l/2
inch can be performed with this command. To
accompliih
Wvers#
paper feeding requires the following steps.
1.
Determine the desired vertical motion dice in inches.
2
Multiply the distance by 360.
3.
Divide the result by 256 using long division.
4.
Subtract the remainder in the quotient computed in step 3 from 256.
5.
The result from step 4 is the value for n1.
6.
Thevaluefofn2willahnfaysbe255.
PSB No: P-0082
Page: 7 of 14
EXAMPLE
1.
The desired distance is 1/4 inch.
2.
1/4 x 360 = 90
3.
90 divided by 256
=
0
with
a
remainder
of
90.
4.
256-90=166
5.
n1=166
6.
n2=255
In the Basic programming language, the command would look like this.
LPRlNT
CHR$(27);“(v”;CHR$(2);CHR$(O);CHR$(166);CHR$(255)
This command, as listed in the line above, will feed the reverse feed the paper
l/4
inch
from the current line. The current print column (horizontal position) IS NOT changed.
PSB No: P-0082
Page: 8 of l4
C
( V m1 m2 n1 n2 is the command for changing the print position vertically (with
respect to the Top of Form position) in units where m1, m2, n1 and n2 are variables.
TheZlnit”isuswllyl/~afaninchunlessdefinedatherwisebythe”ESC(U
command.
Currently, the values for m1 and m2 MUST be m1 =2 and m2=0.
To determine the values for n1 and n2 perform the following steps.
1.
Determine the desired vertical distance from the Top of Form in inches.
2. Multiply the dice by 360.
3.
Divide the result by 258 using long division.
4.
The remainder in the quotient from step 3 is the value for n1.
5.
The whole number in the quotient from step 3 is the value for n2
EXAMPLE
1.
The desired dice from the Top of Form is 1 inch.
21x360=360
3.
36Odiidedby258==
1
witharemainderof104.
4.
n1=104
5.
n2=1
In the Basic programming language, the command would look like this.
Thiscommand,as~~~brthelineabwg.willpositionthepaperl
inchfromthe
current Top of Form setting. For example, if the Top of Form setting is the top edge
of the paper, the paper will be positioned so that the printer is ready to print 1 inch
down from the top edge of the paper.
PSB No: P-0082
Page: 9 of
14
ESC t n is the command for selecting a character table to be used for printing where
n is a variable. The following table lists the values for n and the character table
associated with the value.
II
n
I
Table
II
II
3I PC437 (US)
II
Table 1
NOTE: 1. Character tables other than those listed above can be assigned by using
the ESC ( t command (Assign Character Table).
2
The value used for n can be either the ASCII value OR the ASCII character
(i.e.
chr$(l)
or
“1”).
In the Basic programming language, the command would look like this.
Lf’RlNT
CHR$(n);Y:CHR$(O);
CHR$(27)
is ESC and
CHR$(O)
selects table
4%
(italic).
PSB No: P-0082
Page:
10
of
14
ESC ( t n1 n2 d1 d2 d3 (Assign Character Table)
ESC ( t n1 n2 d1 d2 d3 is the command for assigning character tables where nl,
n2,
dl,d2,andd3arevariables.
CurrenUy,variabknl,n2andd3MlJSTbenl=3,
n2=0,
and
d3=0.
Variable dl is a number corresponding to one of
the
four tables
selectable with the ESC t n command. This is the table that will be replaced. Valid
valuesford
areO,1,2,and3(seeTabtel
below). Variabled2isanurnbar
corresponding to a registered table.
lhii
is the table that
will
replace
the table
indicated by Variable dl. Valid Values for d2 are 0,
1,3,7,8,
and 9 (see Table 2
MOW).
1
d1
t
SeIectabIeTabIe
#
I
0
-1
Italic
1
Table 1
IO
Iwic
I 3
IPC95O(Intemationa0
I
II
9
I
I
Table2
After using the ESC ( t command, the ESC t n command MUST be sent to select the
table before printing from the new table.
For example, the command ESC ( t 3 0 1 3
0 is sent (assign Registered Table 3
(PC950)
to Selectable Table 1
(PC437).
In order
to print the
Q
character (ASCII
245),
the command ESC t 1 must be sent. In the Basic
programming language, the sequence would be as follows:
t.PRtNT
CHR$(27);“CT);CHR$(3);CHR$(O);CHR$(l);CHR$(3);CHR$(O);
LPRINT
CHR$(27);7’;CHR$(l);
LPRINT
CHR$(245)
Some ESC/P2 documentation may illustrate as many as 22 different Registered
Tables. The Registered Tables are a part of the character set, therefore, they are
contained in the Character Generator ROM. The CG ROM differs based upon the
destination country. For this reason, only the above Registered Tables are available
on LQ-570, LQ-1070, LQ-870 and LQ-1170 printers sold for the U.S. market. Foreign
Character Generator ROMs ARE NOT available in the United States. The following