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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

spaces between column in pdf

Status
Not open for further replies.

frask

Programmer
Aug 31, 2005
5
ES
Hello.

I try to get a format pdf report, but the columns have some space between them and some columns are displyed in a second page.
How can I reduce the width of the columns in order they match in only one page?
I have tried the wrap attribute, but it reduces the size of the data, nevertheless the spaces between columns are allways the same.

Thanks
 
Are you squeezing it?

ON TABLE SET ORIENTATION LANDSCAPE
ON TABLE SET STYLE *
TYPE = REPORT, SQUEEZE=ON, SIZE=7, FONT=ARIAL, $
ENDSTYLE
 
I have tried, it reduces the whidth of the column but keeps the spaces between columns.
 
The default is to have 2 positions between columns. you can override this by SET SPACES=1, which will set the default to 1 position between columns.
 
I've often had this problem and have been occasionally able to solve it by reducing the the size of the column headings which may have been wider that the actual column contents.
Also, try reducing the margins on each side of the page, possibly by setting the stylesheet margin parameters, for example, to: UNITS=CM, PAGESIZE=A4, LEFTMARGIN=0.10, RIGHTMARGIN=0.10
 
Try LeftGap and RightGap:
TYPE=REPORT, ORIENTATION=LANDSCAPE, SIZE=8, FONT='COURIER',GRID=OFF,RIGHTGAP=0.03, LEFTGAP=0.03,$
TYPE=HEADING, STYLE=BOLD, SIZE=8, $


---------------------------------------
The customer may not always be right, but the customer is ALWAYS the customer.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top