[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?