Epson ActionPrinter 5500 - ActionPrinter-5500 Impact Printer Bollettino di assistenza prodotti - Pagina 5
Sfoglia online o scarica il pdf Bollettino di assistenza prodotti per Accessori per stampanti Epson ActionPrinter 5500 - ActionPrinter-5500 Impact Printer. Epson ActionPrinter 5500 - ActionPrinter-5500 Impact Printer 14. Understanding and using escp/2 commands and syntax
Anche per Epson ActionPrinter 5500 - ActionPrinter-5500 Impact Printer: Manuale di montaggio (8 pagine)
ESC ( C m1 m2 n1 n2 (Set Page Length in Defined Units
ESC ( C m1 m2 n1 n2 is the command for setting the page length in units where ml,
m2, n1 and n2 are variables. The "unit' is usually 1/360 of an inch unless defined
otherwise by the "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 page length in inches.
2
Multiply the page length by 360.
Divide the result by 256 using long division.
3.
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.
n1=244
4.
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$(12), or by pressing the "FF button on the
control panel while the printer is "Off Line".
PSB No: P-0082
Page: 5 of 14