Welcome Guest Search | Active Topics | Members

Bug printing from print preview Options
obartelt
Posted: Sunday, December 02, 2007 3:26:17 AM
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...
Alex Kon
Posted: Tuesday, December 04, 2007 10:07:55 PM
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.
obartelt
Posted: Wednesday, December 05, 2007 1:43:57 AM
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.
Alex Kon
Posted: Thursday, December 06, 2007 11:57:32 PM
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.
obartelt
Posted: Friday, December 07, 2007 3:55:02 AM
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?
Alex Kon
Posted: Friday, December 07, 2007 5:36:54 AM
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.
Users browsing this topic
Guest


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.

Main Forum RSS : RSS

YAFVision Theme Created by Jaben Cargman (Tiny Gecko)
Yet Another Forum.net version 1.9.1.6 running under Cuyahoga.
Copyright © 2003-2006 Yet Another Forum.net. All rights reserved.