Focal Point
[SOLVED] Removing 'WebFOCUS Report' & 'Page' from HTML Page

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

March 18, 2009, 03:51 PM
getit
[SOLVED] Removing 'WebFOCUS Report' & 'Page' from HTML Page
Hi,

I am creating a HTML output. When I print the report I see 'WebFOCUS Report' on the top left most corner of the page and 'Page X of Y' on the top right most corner of the page. I am also getting my server URL on the bottom left corner and date on the bottom right corner.
Is there a way to turn these things off.

Thanks in advance.

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


App Studio Version 8202
windows Platform
SQL Server 2008/2012
March 18, 2009, 05:20 PM
getit
I have learnt that the 'Header & Footer' on the Page SETUP in IE needs to be blank. Otherwise the code will display the unwanted header and footer info while printing the HTML output report to printer.

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


App Studio Version 8202
windows Platform
SQL Server 2008/2012
March 19, 2009, 04:42 AM
GamP
You have found the one and only place where this can be done. You can't direct IE to not do this from the webfocus side of the equation.


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
March 19, 2009, 11:34 AM
Francis Mariani
To remove 'WebFOCUS Report' from the web browser window name:

TABLE FILE CAR
SUM
SALES
BY COUNTRY
ON TABLE HOLD AS H001 FORMAT HTMTABLE
END
-RUN

-HTMLFORM BEGIN
<HTML>
<HEAD>
<TITLE>.</TITLE>
</HEAD>
<BODY>
!IBI.FIL.H001;
</BODY>
</HTML>


It seems for IE, you need a non-blank character in the TITLE tag, so I'm using a . here. I don't know how you're getting 'Page' - I don't think I've ever seen it.


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
March 19, 2009, 12:25 PM
nubi
i think the 'page' reference is the default print footer


Developer Studio 7.64
Win XP
Output: mostly HTML, also Excel and PDF

"Never attribute to malice that which can be adequately explained by stupidity." - Heinlein's Razor
March 20, 2009, 06:59 AM
ChannyS
What about using TITLETEXT in the stylesheet to set the browser title as you wish instead of WebFOCUS Report?


Release: WebFOCUS 7.6.8
OS: Windows
Output formats: HTML, PDF, Excel, csv
March 20, 2009, 04:33 PM
Francis Mariani
Good Idea


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
March 23, 2009, 04:49 AM
GamP
But there isn't anything to instruct IE not to print page number and url, is there?


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
March 26, 2009, 01:54 PM
Greg
I had this same issue. I just went to page setup in the IE file menu and removed everything from the header and footer boxes.


prod: WF 7.7.03 platform IIS on Windows 2007, databases: Oracle, , MSSQL

April 01, 2009, 04:56 PM
getit
This issue has been resolved. Thanks for the helpful answers.


App Studio Version 8202
windows Platform
SQL Server 2008/2012
January 25, 2012, 03:19 PM
Enigma006
Hi get it

Can you let me know you solved this?
Thank u
quote:
Originally posted by getit:
This issue has been resolved. Thanks for the helpful answers.



8.1.05
HTML,PDF,EXL2K, Active, All