Margins

Use the Forms Setup command, page 2-39, to set vertical margins.

Commands

Description

 

ESC [(p1);6 (p2)s

SET LEFT AND RIGHT MARGIN

 

Sets the left and right margin in decipoints; p1 is the left margin and p2 is the

 

right. Distances are measured from the left print reference. This command

 

takes effect following the next line terminator (you cannot set margins for the

 

current line).

 

 

EXAMPLE: Set the left margin at 0.4 inch and right margin at 6.9 inches,

 

making a 6.5-inch print line.

 

Dec 27 91 50 56 56 59 52 57 54 56 115

 

Hex 1B 5B 32 38 38 3B 34 39 36 38 73

 

 

ESC [s

ASSIGN MARGIN DEFAULTS

 

Assigns the default parameters. Sets the left margin to zero, right margin to

 

maximum print line width of the printer. This command takes effect following the

 

next line terminator.

 

 

Dec 27 91 115

Hex 1B 5B 73

 

 

 

7265 Programmer’s Manual

25

Copyright © 2004 TallyGenicom

Chapter 2 ANSI

Page 29
Image 29
Tally Genicom Matrix Printer manual Margins, SET Left and Right Margin, Assign Margin Defaults