Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Compressing PDF files..!

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Compressing PDF files..!
 Login/Join
 
Member
posted
I need some help about compressing PDF Files.

When I generate a report in webfocus in PDF format with a size of 30 MB (500 sheet approximately) they go through Web site and the bandwidth is saturated.

The question is:
Is there a way to include in the classes that generates the PDF or in the objects where is the procedure that turns PDF files in a routine of compression of the PDF file to generate?

The previous thing based on which that exists many routines free with which this compression can be made.

Somebody who can help me please..!
Thanks..!
 
Posts: 24 | Location: El Salvador | Registered: March 28, 2006Report This Post
Member
posted Hide Post
Hi to all!
Can someone help me to understand PDF format compression?
When I produce a report in that format I have a PDF file with a size of about 40 Mb; but, if I compress this file (i.e. with WinZip), I obtain a file with a size of about 300 Kb.
Is there a method to produce directly that file "already compressed" (with WebFocus 7.1.4) with a size of 300 Kb?
Thanks in advance.

Andrea Corti
 
Posts: 2 | Registered: November 15, 2005Report This Post
Expert
posted Hide Post
Andrea,

You could always use a DOS program call using the (for example) winzip command line processor that will compress your file within your code.

Check out the help files on SYSTEM and DOS or SHELL commands.

For winzip (etc.) command line processing check out the respective web site or accompanying documentation.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Member
posted Hide Post
Thank you very much Tony.
I already compress my pdf file with a DOS command in the focexec (i.e. DOS PKZIP ...); my "problem" is that I want to produce a PDF file already compressed (usually you "cannot" compress a PDF file because it's already compressed).
I think that if I can compress a PDF file, it means that file is not "optimized", so I could remove something from that file at the "beginning" (i.e. when I'm using the style sheets of WebFocus)...

Andrea
 
Posts: 2 | Registered: November 15, 2005Report This Post
Guru
posted Hide Post
One more thought on compression - and admittedly it might not work here: run the jobs through Report Caster and distribute the job as compressed.


Sandy Kadish
Dev: 8.2.04- PostgreSQL
Test: 8.2.04 - PostgreSQL
Prod: 8.2.04 - PostgreSQL
 
Posts: 238 | Location: Atlanta, GA/Rehovot, Israel | Registered: May 06, 2003Report This Post
Expert
posted Hide Post
Andrea,

Not sure that you will achieve that as PDF files are generally created still with spaces contained within them and this is where the compression savings are made. I think that the PDF format is fairly rigid as well when it comes to the reader.

Have you thought about using an alternative file type that might not suffer from space problems? Try .doc or .ps etc.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Compressing PDF files..!

Copyright © 1996-2020 Information Builders