|
|
Rank: Member Groups: Member
Joined: 12/1/2007 Posts: 7 Points: 0
|
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...
|
|
Rank: Advanced Member Groups: Administration
, Member
Joined: 1/31/2005 Posts: 388 Points: 409
|
Hello, It looks like the printer cannot be accessed from your application. Sometimes it happens with network printers (see Some Error Messages When Printing in Windows). 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 ;)
Best wishes, Alex.
|
|
Rank: Member Groups: Member
Joined: 12/1/2007 Posts: 7 Points: 0
|
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.
|
|
Rank: Advanced Member Groups: Administration
, Member
Joined: 1/31/2005 Posts: 388 Points: 409
|
Hello,
Could you test Printing sample which is installed with Graphics Mill for .NET? Does it work correctly on your machine?
Best wishes, Alex.
|
|
Rank: Member Groups: Member
Joined: 12/1/2007 Posts: 7 Points: 0
|
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?
|
|
Rank: Advanced Member Groups: Administration
, Member
Joined: 1/31/2005 Posts: 388 Points: 409
|
Hello, Could you submit case with a sample project which illustrates the problem?
Best wishes, Alex.
|
|
|
Guest |