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     Page break in HTML pages
Go
New
Search
Notify
Tools
Reply
  
Page break in HTML pages
 Login/Join
 
Gold member
posted
Hi,

Is there anyway to insert the page break in HTML pages?I Tried using the following ON TABLE SET STYLEMODE PAGED but the problem is I have one of the Column wrapped in my report and STYLEMODE PAGED doesnot work in this case.Any help in this regard is highly appreciated.

Prasanna
WebFocus Developer Studio 7.61
 
Posts: 80 | Registered: March 21, 2007Reply With QuoteReport This Post
Expert
posted Hide Post
Prasanna,
are you wanting the printed output to acknowledge the page-breaks? if so,
are you willing to write your output as separate tables?
If only on screen, then "Set SQUEEZE to OFF and/or WRAP to OFF to ensure that HTML tables are aligned consistently across pages", .
here's the cite

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




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Reply With QuoteReport This Post
Virtuoso
posted Hide Post
My question was along the same lines as Susannah. HTML knows nothing about page-breaks. If it's for visual representation only (i.e. to get column headings at the top of each page, etc.) then you don't need anything special except making sure that PAGE-NUM is not OFF or NOLEAD.

If you're wanting actual page breaks as in you hit the browser print button and want things to print nicely, you're out of luck for HTML. PDF format is the way to go if you are trying to control any printed output. You can approximate how many lines will print on a page and SET LINES, but if one wraps or squeezes and increases the height of a single line, it messes things up.


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Reply With QuoteReport This Post
Expert
posted Hide Post
well, D, i can teach him how to stick a true , printer-respected, page break in html, but its gotta be between tables, so you have to cheat a bit...but cheating is my favorite sport...what are we calling it now? not McGyver, but "Hasselhof", yes that's it, "Hasselhoffing".




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Reply With QuoteReport This Post
Virtuoso
posted Hide Post
susannah,

LOL Big Grin

I like the "Hasselhoffing" term. It is funny but I'd like to hear why Hasselhoff. I assume a reference to David H.


Thanks!

Mickey

FOCUS/WebFOCUS 1990 - 2011
 
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003Reply With QuoteReport This Post
Master
posted Hide Post
TRY ON TABLE SET LINES 55 (OR HOWEVER BIG YOU WANT YOUR PAGE)


Pat
WF 7.6.8, AIX, AS400, NT
AS400 FOCUS, AIX FOCUS,
Oracle, DB2, JDE, Lotus Notes
 
Posts: 755 | Location: TX | Registered: September 25, 2007Reply With QuoteReport This Post
Platinum Member
posted Hide Post
try viewing your html output in the webviewer.
SET WEBVIEWER = ON
SET WEBVIEWTARG = _self


WF 8 version 8.2.04. Windows.
In focus since 1990.
 
Posts: 189 | Location: pgh pa | Registered: October 06, 2004Reply With QuoteReport This Post
Virtuoso
posted Hide Post
I was trying to avoid "cheating", but I have been know to bend the rules (severely) Smiler

If all you want is real page-breaks, just use PDF and avoid the long way around.

Webviewer might be something to play with, but how does that handle printing? It doesn't have its own printer functionality so I don't think it could printan entire report with page-breaks, but you may be able to print a page at a time if the report is short enough.


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Page break in HTML pages

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.