Focal Point
[CLOSED] Supress first page count and start page count from second page pdf

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

September 12, 2019, 04:39 AM
venkatesh emandi
[CLOSED] Supress first page count and start page count from second page pdf
I had two pdf layouts one is my cover page and other is data sheet, I would like to suppress page count in first page and start from second page.

example : I had a total of 6 pages, which includes first page as cover page and other is data sheet, i would like to start the page number form second page and get the count as 5 not as 6.
 COMPOUND LAYOUT PCHOLD FORMAT PDF
UNITS=IN, $
SECTION=section1, LAYOUT=ON, METADATA='prop_with_names^Margins_Left=0.5^Margins_Top=0.5^Margins_Right=0.5^Margins_Bottom=0.5^thumbnailscale=4', MERGE=OFF, ORIENTATION=LANDSCAPE, PAGESIZE=Letter, SHOW_GLOBALFILTER=OFF, $
PAGELAYOUT=1, NAME='Page layout 1', text='Page layout 1', TOC-LEVEL=1, BOTTOMMARGIN=0.5, TOPMARGIN=0.5, METADATA='BOTTOMMARGIN=0.5,TOPMARGIN=0.5,LEFTMARGIN=0,RIGHTMARGIN=0,', $
COMPONENT='report1', TEXT='report1', TOC-LEVEL=2, POSITION=(0.500 0.625), DIMENSION=(9.938 7.315), BYTOC=0,  ARREPORTSIZE=DIMENSION, METADATA='left: 0.5in; top: 0.625in; width: 9.938in; height: 7.315in; position: absolute; z-index: 1;', $
PAGELAYOUT=2, NAME='Page layout 2', text='Page layout 2', TOC-LEVEL=1, BOTTOMMARGIN=0.5, TOPMARGIN=0.5, METADATA='BOTTOMMARGIN=0.5,TOPMARGIN=0.5,LEFTMARGIN=0,RIGHTMARGIN=0,', $
COMPONENT='report2', TEXT='report2', TOC-LEVEL=2, POSITION=(0.500 0.708), DIMENSION=(9.896 7.219), BYTOC=0,  ARREPORTSIZE=DIMENSION, METADATA='left: 0.5in; top: 0.708in; width: 9.896in; height: 7.219in; position: absolute; z-index: 1;', $
OBJECT=STRING, NAME='text3', TEXT='<font face="ARIAL " size=6>Page <ibi-page-number/> of <ibi-total-pages/></font>', POSITION=(10 7.9), MARKUP=ON, WRAP=OFF, DIMENSION=(3.00 0.200),  METADATA='left: 5.3in; top: 8in; width: 10in; height: 0.2in; font-family: Arial; font-size: 6pt; position: absolute; z-index: 3; -ms-word-wrap: break-word;', $
 
END
SET COMPONENT='report1'
SET PAGE-NUM =OFF
-*component_type report
TABLE FILE CAR 
SUM RC DC
ON TABLE PCHOLD FORMAT PDF
END
SET COMPONENT='report2'
-*component_type report
TABLE FILE CAR
SUM RC DC
BY COUNTRY
BY CAR
ON COUNTRY PAGE-BREAK
ON TABLE PCHOLD FORMAT PDF
END
COMPOUND END
 

This message has been edited. Last edited by: FP Mod Chuck,
September 13, 2019, 10:33 AM
pav
Hello,
Place this command in your second fex
"ON TABLE SET FOCFIRSTPAGE 1"
September 13, 2019, 12:07 PM
venkatesh emandi
it didn't work.
September 13, 2019, 02:10 PM
pav
Hello Venkatest,
Try the below code,
Consider fex one is your cover sheet and second fex is your data sheet.


TABLE FILE CAR 
PRINT RC DC
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE PCHOLD FORMAT PDF OPEN 
END


-*component_type report
TABLE FILE CAR
SUM RC DC
BY COUNTRY
BY CAR
ON TABLE SET FOCFIRSTPAGE 1
ON TABLE PCHOLD FORMAT PDF CLOSE
END