PSB No: P-0082

Page: 5 of 14

ESC ( C m1 m2 n1 n2 (Set Page Length in Defined Units II

ESC ( C ml m2 nl 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 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 page length is 8.5 inches.

28.5 x 380 = 3060

3.3080 divided by 258 = 11 with a remainder of 244.

4.nl=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”.