Hi DIAdemon,
Before issuing the PicPrint() command, you can set a couple of DIAdem variables in order to control what prints:
To print all sheets:
PrintRangeType = "AllPages"
Call PicPrint("WinPrint")
To print some sheets (for instance only sheets 2 to 4):
PrintRangeType = "PageEnums"
PrintFromPage = 2
PrintToPage = 4
Call PicPrint("WinPrint")
Also, you can insert text on each DIAdem-REPORT sheet that uses DIAdem variables to dynamically display page number information on each sheet:
Page @GraphSheetCurrNo@ of @GraphSheetCount@
This will display the "Page 3 of 10" syntax that you wanted. Note that if you insert a new DIAdem-REPORT sheet, you will have to click View >> Refresh to get the page number information updated
on all sheets.
David Mc.
NI Applications Engineer