Focal Point
[CLOSED] Printing Headings on Pages 1.X etc

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

June 02, 2010, 11:35 AM
Jeff Moses
[CLOSED] Printing Headings on Pages 1.X etc
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
June 02, 2010, 11:55 AM
Francis Mariani
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
June 02, 2010, 11:58 AM
njsden
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.
June 02, 2010, 11:59 AM
njsden
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.
June 02, 2010, 12:02 PM
Francis Mariani
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
June 02, 2010, 12:50 PM
Jeff Moses
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