34
Chapter
2
Configuring The ANSI Emulation
Forms Length, Top Margin, Bottom Margin
ASCII Code
ESC [
p1
;
p2
;
p3
r
Hex Code
1B 5B
p1
3B
p2
3B
p3
72
Dec Code
27 91
p1
59
p2
59
p3
114
Expression
CHR$(27); “[
p1
;
p2
;
p3
r”;
Purpose
Defines the form.
p1
= Form length (in decipoints). Maximum allowable length is
22 inches (15,840 decipoints)
p2
= Top margin from top of page. Top of page to first print line.
p3
= Bottom margin from end of page. The last print line to
bottom of page.
The default parameters are for a 12 inch long form with a top
margin of zero and a bottom margin of zero.
Discussion
The printer keeps track of these vertical positions to the nearest
half point (5 decipoints).
1 decipoint = 1/720 inch
1 point = 10 decipoints (10/720 inch)
1/2 point = 5 decipoints (5/720 inch)
Examples
ESC [r
default values of 12 inch form length, zero top and bottom
margins
ESC [8280r 11.5 inch form length, default top and bottom margins of zero
ESC [;720r default length of 12 inches, top margin of one inch, default
bottom margin of zero
ESC [;;720r default length of 12 inches, default top margin of zero and a one-
inch bottom margin
ESC [7920;360;360r
11 inch form length, 1/2 inch top and bottom margins
Содержание P7000 H-Series
Страница 1: ...ANSI Programmer s Reference Manual ...
Страница 2: ......
Страница 3: ...Programmer s Reference Manual ANSI Printers ...
Страница 8: ...Table of Contents ...
Страница 22: ...22 Chapter 1 Installing Printer Emulations ...
Страница 60: ...60 Chapter 2 Oversize Character Font Option ...
Страница 76: ...76 Chapter 3 ANSI EVFU ...
Страница 78: ...78 Appendix A ...
Страница 86: ...86 Appendix B ...
Страница 102: ...102 Appendix C ...
Страница 106: ...106 ...
Страница 107: ......