If this record appears in a file, it indicates that the sheet was printed using the LINE.PRINT() macro function. The LPR record stores options associated with this function.
Record Data
|
Offset |
Name |
Size |
Contents |
|
4 |
grbit |
2 |
Option flags |
|
6 |
cchMargLeft |
2 |
Left margin, expressed as a count of characters |
|
8 |
cchMargRight |
2 |
Right margin, expressed as a count of characters |
|
10 |
cliMargTop |
2 |
Top margin, expressed as a count of lines |
|
12 |
cliMargBot |
2 |
Bottom margin, expressed as a count of lines |
|
14 |
cliPg |
2 |
Number of lines per page |
|
16 |
cch |
1 |
Length of the printer setup string |
|
17 |
rgch |
var |
Printer setup string |
The grbit field contains the option flags listed in the following table.
|
Offset |
Bits |
Mask |
Name |
Contents |
|
0 |
0 |
01h |
fWait |
= 1, alert the user after each sheet is printed |
|
1 |
02h |
fFormatted |
= 1, print headers and footers | |
|
2 |
04h |
fAutoLF |
= 1, write only the carriage return (CR) character (no line feed) at the end of the line | |
|
7–3 |
F8h |
(Unused) | ||
|
1 |
7–0 |
FFh |
(Unused) | |