Focal Point
PDF Page counter

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

February 27, 2008, 01:06 PM
tlbrydie2
PDF Page counter
I have a request to create some new reports in PDF formats. My Question is how do I go about getting the page counter at the bottem of the report.

example: Page 1 of 10
Page 2 of 10

Thanks,

Timothy




Prod: WebFOCUS 7.6.10 MRE
Oracle/Sybase
Test: DevStudio 7.6.6
WF Server 7.6.6
Report Caster 7.6.6
Web Server - Tomcat
MS Windows XP SP2
Output: HTML, Excel 2000 , PDF, CSV, DOC

February 27, 2008, 01:29 PM
Darin Lee
FOOTING BOTTOM
"Page <TABPAGENO of <TABLASTPAGE "


TABPAGENO and TABLASTPAGE are basically system variables that are available to be printed in headings/footings


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
February 27, 2008, 01:35 PM
ypatel
You need to use
FOOTING
"Page
Here is an example

TABLE FILE CAR
PRINT CAR MODEL
BY COUNTRY
ON COUNTRY PAGE-BREAK
ON TABLE SET STYLE *
TYPE=REPORT, ORIENTATION=LANDSCAPE,$
ENDSTYLE
ON TABLE PCHOLD FORMAT PDF
FOOTING
"Page END

Hope it helps !!

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


-Yogesh Patel
------------------------------------------------------------------------
PROD: WF 764 on Linux Apache tomcat v5.5
DEV: WF 768 on Linux
February 27, 2008, 01:38 PM
tlbrydie2
Thanks for the infor ypatel and Darin...


I appreciate your assistance.

Timothy




Prod: WebFOCUS 7.6.10 MRE
Oracle/Sybase
Test: DevStudio 7.6.6
WF Server 7.6.6
Report Caster 7.6.6
Web Server - Tomcat
MS Windows XP SP2
Output: HTML, Excel 2000 , PDF, CSV, DOC

February 27, 2008, 01:43 PM
ypatel
Page
For some reason the TABPAGENO and TABLASTPAGE disappeared from my post. Anyways you got the answer from Darin , it's the same thing I sent.


-Yogesh Patel
------------------------------------------------------------------------
PROD: WF 764 on Linux Apache tomcat v5.5
DEV: WF 768 on Linux
February 27, 2008, 01:49 PM
Darin Lee
Yogesh,
Whenever you're posting information that begins with a left bracket, the web display assumes it's an HTML tag and tries to display as such. That's why it disappears. As a standard practice, include your code in
[code]
[/code] markers.


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