Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Blank space on top of PDF's

Status
Not open for further replies.

PeterG5

Programmer
Apr 29, 2003
68
IE
Hi All,

I'm trying to squeeze a report onto one A4 page but I find
that no matter how much I reduce the top/bottom margins in the stylesheet, there is still about 2 cm of blank space on the top of the page - and my report is needlessly going to 2 pages.
Is there a setting somewhere which I can change in order to
be able to utilize this free space? The same thing happens when I generate a postscript file and distill it later, so it must(?) be a Focus setting somewhere.....

Any hints greatly appreciated, Thanks, Peter.
 
Check out SET PAPER=xxx (physical lines per page) and SET LINES=yyy (printed lines per page)
 
Thanks, Focwizard.

These had been set to the defaults but, coincidentally,
I changed them yesterday to PAPER=72 and LINES=66 to solve
another problem. This, however, has not cleared up the issue.I understood that if you were using stylesheets, as I am, that all these settings are ignored anyway and that the stylesheet is used instead. I enclose a copy of the stylesheet below.
In word processing, there is often a 'header' area at the top of the page which can be reduced, if required. Is Focus
recognising such an area and inserting it into the PDF and
PS files?

Thanks, Peter.

stylesheet:
UNITS=IN, PAGESIZE=A4, LEFTMARGIN=0.1000, RIGHTMARGIN=0.1000,
TOPMARGIN=0.2000, BOTTOMMARGIN=0.0001, SQUEEZE=ON,
ORIENTATION=PORTRAIT,$
TYPE=REPORT, FONT='Bookman', SIZE=7, COLOR=BLACK, BACKCOLOR=NONE,
STYLE=NORMAL, $

TYPE=REPORT, COLUMN = CUMUL_SQTY, SIZE=7, STYLE = +BOLD+ITALIC, $
TYPE=REPORT, COLUMN = BUD_QPERC3, SIZE=7, STYLE = +BOLD+ITALIC, $
TYPE=REPORT, COLUMN = PRV_QPERC4, SIZE=7, STYLE = +BOLD+ITALIC, $
TYPE=REPORT, COLUMN = CUMUL_SVAL, SIZE=7, STYLE = +BOLD+ITALIC, $
TYPE=REPORT, COLUMN = BUD_VPERC3, SIZE=7, STYLE = +BOLD+ITALIC, $
TYPE=REPORT, COLUMN = PRV_VPERC4, SIZE=7, STYLE = +BOLD+ITALIC, $

TYPE=HEADING, FONT='Bookman', COLOR=RGB(240 118 0), SIZE=9, STYLE=BOLD,$
TYPE=TITLE, FONT='Bookman', COLOR=RGB(156 48 26),$
TYPE=SUBHEAD, FONT='Bookman', COLOR=SIENNA, SIZE=9,$
TYPE=SUBTOTAL, FONT='Bookman', COLOR=ORANGE RED, STYLE=BOLD,$
TYPE=GRANDTOTAL, FONT='Bookman', COLOR=BLACK, STYLE=BOLD,$
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top