Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
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?
Go
New
Search
Notify
Tools
Reply
  
[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, 2009Reply With QuoteReport 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 7 - IE11.
in Focus since 1988
 
Posts: 1960 | Location: Netherlands | Registered: September 25, 2007Reply With QuoteReport This Post
  Powered by Social Strata  
 

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-2018 Information Builders, leaders in enterprise business intelligence.