When I try to call ImagePrintDocument.Print() from a print preview I get the error "StartDocPrinter call was not issued". Works fine with a standard .NET PrintDocument...
Please, could describe your problem in more detail? What printer do you use (local/network), what version of .NET framework do you use? And it will be great to have a small sample application which reproduces the issue 😉
I used the local Fax and XPS printers from Windows Vista x64 (Application runs as 32 bit). When printing from the preview using a standard .NET PrintDocument, everything works fine.
BTW, I forgot the mention that printing the ImagePrintDocument directly (without a preview shown first) works fine. Just printing from the preview doesn't work.
The sample seems to work, though I copied the code from there and I think the problem ocurred with multi-page TIFF files and your sample only prints/previews the first page. Maybe the problem has something to do with that?
BTW, is it normal that when I cancel the print job with Microsoft's XPS printer when the Save File-dialog is shown, I get an exception about not enough data was sent to the print job?