May 20, 2009, 02:57 AM
saggyGap Between lines for text data in PDF
I have a PDF report in which one of the column's data looks some thing like below.
I get additional space between two lines of the data.How can we remove this, i have tweaked with XXXXgaps & XXXXmargins
----Sample Data------
1.Hi, this is sagar
have you reported it before?[121]
----End Of Sample data---
And the Styling currently applied in my report for the PDF format is something like this
ON TABLE SET STYLE *
UNITS=IN, PAGESIZE='Letter',
LEFTMARGIN=0.150,
RIGHTMARGIN=0.15,
TOPMARGIN=0.150,
BOTTOMMARGIN=0.150,
SQUEEZE=OFF,
ORIENTATION=LANDSCAPE,$
TYPE=REPORT,
GRID=OFF,
LEFTGAP=0.04,RIGHTGAP=0.03,
FONT='ARIAL',SIZE=8,COLOR='BLACK',
STYLE=NORMAL,JUSTIFY=LEFT,
BACKCOLOR='NONE',$
Can any body help me on this ...
May 20, 2009, 04:09 AM
GamPAnd what does the rest of your fex look like?
In particular, what fields are printed and how?
It would be best to make your code as small as possible while still showing the problem, and then post it in it's entirety between the
< / > code tags.
May 20, 2009, 09:38 AM
Francis MarianiHave you tried SQUEEZE=ON? Perhaps a field is being wrapped, though I can't see that from the code you've posted.
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
May 20, 2009, 12:55 PM
DougWhat is the format of the field that's wrapping?
May 21, 2009, 05:02 AM
saggyits a compute variable being printed as a column
SRDIR and TRMDIR are COMPUTE variables as well
COMPUTE MAT/A800V = SRDIR||'.'||CAR|' '||'['||TRIMDIR||']';AS 'my col'
and the styling for this in the report is
TYPE=REPORT,COLUMN=N5,WRAP=1.95,$