crystalized
Programmer
Hi All,
I am modifying an exsiting report. The report used the following things to set up the printer
For part of the printed output of the report I would like to adjust the font size. The docs indicate that I should use alter-printer, but it errors out when used in conjunction with the printer-init etc.
So I made an attempt to replace the printer-init and the printer procedure listed above with declare-printer and declare-layout settings in the setup section. But it seems no matter what combination of declare-printer etc I use I am ending up with the output completely messed up.
The problem is that the output file instead of printing nice and neat as before is now printing large gaps between each line (I would say approximately double spaced).
Does anyone have any thoughts on this.
Thanks in advance,
Crystal
--------------------------------------------------
Experience is one thing you can't get for nothing.
-Oscar Wilde
I am modifying an exsiting report. The report used the following things to set up the printer
Code:
begin-setup
printer-init <27>E<27>&l0O<27>&l2S<27>(s16.66H
#define PAGE_MAX_COLS 120
#define PAGE_MAX_LINES 177
#define page_orientation portrait
page-size 177 150
end-setup
.
.
.
begin-procedure Init-Printer_PS10
declare printer
type = HPLASERJET
orientation = portrait
top-margin = 0.30
left-margin = 0.1
font = 5
point-size = 10
end-procedure Init-Printer
For part of the printed output of the report I would like to adjust the font size. The docs indicate that I should use alter-printer, but it errors out when used in conjunction with the printer-init etc.
So I made an attempt to replace the printer-init and the printer procedure listed above with declare-printer and declare-layout settings in the setup section. But it seems no matter what combination of declare-printer etc I use I am ending up with the output completely messed up.
The problem is that the output file instead of printing nice and neat as before is now printing large gaps between each line (I would say approximately double spaced).
Does anyone have any thoughts on this.
Thanks in advance,
Crystal
--------------------------------------------------
Experience is one thing you can't get for nothing.
-Oscar Wilde