Genicom GEK 00031B Printer User Manual


 
GEK-00029A 5000 Series Programmer’s Manual
189
P8: Bar code Rotation
0 no rotation (default)
1 no rotation
2 270 degrees rotation
3 90 degrees rotation
4 180 degrees rotation
P9: Human Readable Input (HRI) Font
0 No human readable characters printed;
1 No human readable characters printed;
2
Special bar code HRI font;
Decimal: 27 71 P1 ; P2 ; ... ; P9 ' q
Hex: 1B 5B P1 3B P2 3B … P9 27 71
BASIC: CHR$(27);"[";P1;";";P2;";"; ... ;P9;"'q";
DECSTBM Set Top and Bottom Margins:
Sets the top and bottom margins, and
the page home line. Pn1 sets the top margin and the page home line.
Pn2 sets the bottom margin. The top margin defines the first
printable line on a page. The bottom margin defines the last printable
line. The page home line is the position of the first printable line on
the page after a form feed.
General Command Syntax
ESC [ Pn1 ; Pn2 r
Decimal: 27 71 Pn1 ; Pn2 86
Hex : 1B 5B Pn1 3B Pn2 72
BASIC: CHR$(27);"[";Pn1;";";Pn2;"r";
Indeterminate Conditions
If Pn1 is 0 or omitted, the top margin is unchanged.
If Pn2 is 0 or omitted, the bottom margin is unchanged.
If Pn2 is greater than the form length, the bottom margin is set at the
bottom of form.
If the active position is less than the new top margin, the active
position is set to the new top margin. If the active line is greater than
the new bottom margin, the next printable character causes a form
feed.
If the sequence sets the top margin below the bottom margin, the
command is ignored.
If the form length is changed, the printer sets the top margin to line 1
and the bottom margin to the form length.