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] Printing Headings on Pages 1.X etc
Go
New
Search
Notify
Tools
Reply
  
[CLOSED] Printing Headings on Pages 1.X etc
 Login/Join
 
Member
posted
Hi I am working on a PDF report that contians many columns and I know it will span multiple pages, I need to have the Heading print on every page, when you look at the following code you can see that the Heading prints on page 1.1 and doesn't print on 1.2 etc Is it possible to print on all pages?

TABLE FILE CAR
PRINT
CAR
MODEL
CAR
MODEL
CAR
MODEL
HEADING
" "
" I WANT THIS LINE IN ALL PAGES"
" "
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
PAGESIZE='LETTER', LEFTMARGIN=0.5, RIGHTMARGIN=0.025, TOPMARGIN=0.1000,
BOTTOMMARGIN=0.4000, SQUEEZE=OFF, UNITS=IN, ORIENTATION=LANDSCAPE, TOPGAP=0.05, BOTTOMGAP=0.05,$
ENDSTYLE
END

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


PROD: WF 7.6.4/Solaris
NON-PROD: WF 7.6.11/Solaris
 
Posts: 4 | Location: Boston,MA | Registered: July 24, 2007Reply With QuoteReport This Post
Expert
posted Hide Post
I think this may be the only way to do this. Repeat the text in the heading line, using <+0> to separate the text into two items. Then use styling to position the text by measurement or over a particular column.

TABLE FILE CAR
PRINT
CAR
MODEL
CAR
MODEL
CAR
MODEL

HEADING
" "
" I WANT THIS LINE IN ALL PAGES <0X
<+0>I WANT THIS LINE IN ALL PAGES "
" "

ON TABLE PCHOLD FORMAT PDF

ON TABLE SET STYLE *
PAGESIZE='LETTER', LEFTMARGIN=0.5, RIGHTMARGIN=0.025, TOPMARGIN=0.1000,
BOTTOMMARGIN=0.4000, SQUEEZE=OFF, UNITS=IN, ORIENTATION=LANDSCAPE, TOPGAP=0.05, BOTTOMGAP=0.05,$
TYPE=HEADING, ITEM=2, POSITION=10.5, $
ENDSTYLE
END


Or

TYPE=HEADING, ITEM=2, POSITION=MODEL(3), $


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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Reply With QuoteReport This Post
Virtuoso
posted Hide Post
Take a look at this post: Footer on Every page of PDF which is, in nature, very similar to what you are asking and in which Darin provided a very gracious technique to implement what you need. You don't specify which version of WebFOCUS you are using but if it's 7.6.11, Ginny's suggestion might be of interest to you as well.

By the way, please update the signature in your user profile and specify which platforms and versions you currently use so we can be better equipped to give a hand as not every solution is compatible across all versions of the product.

- Neftali.

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



Prod/Dev: WF Server 8008/Win 2008 - WF Client 8008/Win 2008 - Dev. Studio: 8008/Windows 7 - DBMS: Oracle 11g Rel 2
Test: Dev. Studio 8008 /Windows 7 (Local) Output:HTML, EXL2K.
 
Posts: 1533 | Registered: August 12, 2005Reply With QuoteReport This Post
Virtuoso
posted Hide Post
Or ... take a look at the suggestion provided by Francis whose fingers are much, much faster than mine Wink



Prod/Dev: WF Server 8008/Win 2008 - WF Client 8008/Win 2008 - Dev. Studio: 8008/Windows 7 - DBMS: Oracle 11g Rel 2
Test: Dev. Studio 8008 /Windows 7 (Local) Output:HTML, EXL2K.
 
Posts: 1533 | Registered: August 12, 2005Reply With QuoteReport This Post
Expert
posted Hide Post
A combination of Firefox with tabs and the "ReloadEvery" add-on helps in responding quickly!


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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Reply With QuoteReport This Post
Member
posted Hide Post
Ok thks. I will give a try. I actually have 7.6.11 in non-prod.


PROD: WF 7.6.4/Solaris
NON-PROD: WF 7.6.11/Solaris
 
Posts: 4 | Location: Boston,MA | Registered: July 24, 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] Printing Headings on Pages 1.X etc

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