I am creating a report in code using iPrint and I want to get the total number of pages in the report.
So I put iPreview(iPDF, PrinterFileName) before doing the real printing so I can get the number of pages. (PrinterFileName is a local variable that is filled before the call to iPreview)
I check the return value of iPreview and it is true, but the file is not created.
Has anyone else had this happen?