DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

How can tables across multiple pages be printed?

I've got DIAdem 9.0. I have a table on a report that has so much data it spans several pages. I can scroll through the tables with in DIAdem REPORT but I can only print one page at a time. Does anyone know how to print all the pages from script? Is there a way to print the page number like "Page 3 of 10". Thanks!
0 Kudos
Message 1 of 2
(3,125 Views)
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
0 Kudos
Message 2 of 2
(3,125 Views)