Focal Point
[SOLVED] HTML & PDF Formats

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/283101151

June 15, 2009, 04:32 AM
kingfish1
[SOLVED] HTML & PDF Formats
Hi all,

I have a wide WebFOCUS report that can be displayed in both HTML and PDF formats. On the HTML display format, it looks fine. However, on the PDF display format, it displays in three pages.

How can I make the PDF format to display in one page?

Thanks,
Steven

This message has been edited. Last edited by: Kerry,


7.6.4
OS is Windows
HTML, Excel, and PDF


June 15, 2009, 10:00 AM
Francis Mariani
Change the page size... Change the page orientation... Reduce the font size... Reduce the gap between columns... Turn SQUEEZE on... Use SQUEEZE or WRAP to wrap a wide column... Read the manual... Search on FocalPoint...


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
June 15, 2009, 11:26 AM
Darin Lee
If it takes three pages to print out the report in PDF format, you're just trying to fit too much stuff on one page. That being said, my finance people always want reports like this - 30 columns and it all has to fit on one page. Screens scroll, paper doesn't - so you've got to physically resize and arrange things, as Tony mentions, to fit onto the paper. Sometimes this may require font size 5 and an attached magnifying glass! Anyway, it may require you to use separate stylesheets or completely separate blocks of code. You can check the desired output format and branch using Dialogue Manager code to the appropriate code.


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
June 15, 2009, 05:32 PM
Waz
Change the page size of the PDF report in the stylesheet.

PAGESIZE=E

E is 34x44 inches

TABLE FILE CAR
PRINT *
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
 PAGESIZE=E, ORIENTATION=PORTRAIT, $
-* PAGESIZE=A0, ORIENTATION=PORTRAIT, $
ENDSTYLE
END


There are many page sizes available, have a look at the documentation.

Acrobat will resize to print, all depends on what printer you have and what size paper it prints on.

This message has been edited. Last edited by: Waz,


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

June 17, 2009, 08:40 AM
kingfish1
I did research before posting the new discussion. I learned much about pagesize, orientation, squeeze ....etc.

What I actually want to know is is there any specific tag for line breaks in PDF such as
in HTML?

Thanks


7.6.4
OS is Windows
HTML, Excel, and PDF


June 17, 2009, 08:43 AM
kingfish1
The '
' code disappears in the previous post so I am putting qoutes around it.

What I actually want to know is is there any specific tag for line breaks in PDF such as
'
' in HTML?


7.6.4
OS is Windows
HTML, Excel, and PDF


June 17, 2009, 08:45 AM
kingfish1
It disappears again.

It should look something like " < b r > "


7.6.4
OS is Windows
HTML, Excel, and PDF


June 17, 2009, 09:29 AM
mgrackin
Renee Teatro did a presentation at Summit that included techniques on how to force linebreaks into data for PDFs. See the PPT file at the link below starting on silde 29.

http://www.informationbuilders...18576205236116944937

You may also want to look at FOLD-LINE or the usage of OVER. There are a number of ways to "wrap" information on a page in WebFOCUS. I'm not sure exactly what you are looking for so take a look at these to see if one of them gets you what you need.


Thanks!

Mickey

FOCUS/WebFOCUS 1990 - 2011
June 17, 2009, 10:55 AM
Francis Mariani
kingfish1, you MUST always use
[code]
[/code]
tags, easily added by clicking on the </> button while composing your FocalPoint post.


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
June 18, 2009, 08:20 AM
kingfish1
Hi Mickey,

Thank you for your help and the link to the document. I was able to make it to work.

Thanks


7.6.4
OS is Windows
HTML, Excel, and PDF