Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
obartelt  
#1 Posted : Saturday, December 1, 2007 7:26:17 PM(UTC)
obartelt

Rank: Member

Groups: Member
Joined: 11/30/2007(UTC)
Posts: 7

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...
Alex Kon  
#2 Posted : Tuesday, December 4, 2007 2:07:55 PM(UTC)
Alex Kon

Rank: Advanced Member

Groups: Administration
Joined: 1/31/2005(UTC)
Posts: 458

Was thanked: 5 time(s) in 5 post(s)
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 ;)
obartelt  
#3 Posted : Tuesday, December 4, 2007 5:43:57 PM(UTC)
obartelt

Rank: Member

Groups: Member
Joined: 11/30/2007(UTC)
Posts: 7

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.
Alex Kon  
#4 Posted : Thursday, December 6, 2007 3:57:32 PM(UTC)
Alex Kon

Rank: Advanced Member

Groups: Administration
Joined: 1/31/2005(UTC)
Posts: 458

Was thanked: 5 time(s) in 5 post(s)
Hello,

Could you test Printing sample which is installed with Graphics Mill for .NET? Does it work correctly on your machine?
obartelt  
#5 Posted : Thursday, December 6, 2007 7:55:02 PM(UTC)
obartelt

Rank: Member

Groups: Member
Joined: 11/30/2007(UTC)
Posts: 7

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?
Alex Kon  
#6 Posted : Thursday, December 6, 2007 9:36:54 PM(UTC)
Alex Kon

Rank: Advanced Member

Groups: Administration
Joined: 1/31/2005(UTC)
Posts: 458

Was thanked: 5 time(s) in 5 post(s)
Hello,

Could you submit case with a sample project which illustrates the problem?

Edited by user Thursday, May 22, 2008 3:10:08 PM(UTC)  | Reason: Not specified

Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.