I'm now trying to print a PDFDocument that I am constructing from a series of 
images. In case it matters, I'm doing all of this from within a Mozilla plugin.

I create the PDFDocument, and put it into a PDFView, then I call

[printView printWithInfo: [NSPrintInfo sharedPrintInfo] autoRotate: YES];
The print dialog comes up (as a separate window, instead of panel. I assume 
that that comes from being inside a mozilla window, so I wasn't too worried 
about it. The dialog shows my document, and I can page through it correctly, 
and everything looks good.

However, when I hit "Print" the dropdown with "Layout" etc becomes empty, and 
the view under that becomes empty. The window doesn't disappear, and the 
document doesn't print. Hitting Cancel does exactly the same thing. The only 
thing I can do then is force-quit Mozillla.

I based the program off of PDFKitLinker2 from the apple dev site, and that 
program works. But I can't see any significant differences between it and my 
version.

Any suggestions on where to look?

thanks.


Brian Postow
Senior Software Engineer
Acordex Imaging Systems

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to