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 ENDThis message has been edited. Last edited by: Kerry,
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,