×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

spaces between column in pdf

spaces between column in pdf

spaces between column in pdf

(OP)
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

RE: spaces between column in pdf

Are you squeezing it?

ON TABLE SET ORIENTATION LANDSCAPE
ON TABLE SET STYLE *
TYPE = REPORT, SQUEEZE=ON, SIZE=7, FONT=ARIAL, $
ENDSTYLE

RE: spaces between column in pdf

(OP)
I have tried, it reduces the whidth of the column but keeps the spaces between columns.

RE: spaces between column in pdf

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.

RE: spaces between column in pdf

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

RE: spaces between column in pdf

(OP)
Thanks a lot

RE: spaces between column in pdf

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.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close