Epson C107001 Product Support Bulletin(s) - Page 6

ESC v m1 m2 n1 n2 Set Relative

Page 6 highlights

PSB No: P-0082 Page: 6 of 14 1 ESC ( v m1 m2 n1 n2 (Set Relative Verticai~~~ ESC l v ml m2 nl 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 nl and n2 perform the following steps. 1. Determine the desired vertical motion dii 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. 2 1x360=360 3. 36Odiidedby256=1witharemainderofl04. 4. nl=lO4 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.

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16

PSB No: P-0082
Page: 6 of 14
1
ESC ( v m1 m2 n1 n2 (Set Relative
Verticai~~~
ESC
l
v ml
m2
nl
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
nl
and
n2
perform the following steps.
1.
Determine the desired vertical motion dii 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.
2
1x360=360
3.
36Odiidedby256=1witharemainderofl04.
4.
nl=lO4
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.