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     [CLOSED] Print an HTML report in PDF format without header and footer- javascript?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Print an HTML report in PDF format without header and footer- javascript?
 Login/Join
 
Member
posted
I have a report that I output to HTML. When printing in PDF through IE, it will print header with "WebFOCUS Report Page 1 of 1' and footer with url of report.

I am thinking that I might need some javascript that I can integrate in my fex file so user can click on javascript link . I try the following code but it does not work:
PRINTURL/A900= Print ;

-*PRINTURL/A900= greater a href="#" onClick="window.print()" onMouseUP="document.getElementById('header').style.display='None';document.getElementById('footer').style.display='None'"> Print
any suggestions?

thanks

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


Webfocus Focus
Unix
Windows
 
Posts: 13 | Location: NJ, PA, DE | Registered: March 05, 2009Report This Post
Virtuoso
posted Hide Post
Tip: When entering code, do it between the code tags, these will be inserted when you click on the < / > icon.

Now to your print question.
IE does this. You can not control it from outside the browser, because it is a personal preference. When you click on 'File' and then 'Page Setup ..' then you can specify what IE should print as header and/or footer. This is, as far as I know, the only way to change these settings.


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
 
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007Report 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     [CLOSED] Print an HTML report in PDF format without header and footer- javascript?

Copyright © 1996-2020 Information Builders