- [NSPrintOperation setJobStyleHint:NSPrintPhotoJobStyleHint]
- [NSPrintOperation setJobStyleHint:NSPrintPhotoJobStyleHint]
- Subject: - [NSPrintOperation setJobStyleHint:NSPrintPhotoJobStyleHint]
- From: Gonzalo Castro <email@hidden>
- Date: Thu, 8 Aug 2002 15:16:31 -0400
I am trying to use the new-in-Jaguar feature of Printing Presets.
The Jaguar 6C115 release notes, mention the new function
- [NSPrintOperation setJobStyleHint:NSPrintPhotoJobStyleHint]
So, I've added this to my code. and the print dialog that comes
up in fact has several presets listed in the Presets popup below
the ever present "Standard".
However, when I print from my application and select any of the
presets, eg, "Photo on Photo Paper - Fine", the Print Center utility
reports "Opening Printer Connection" and printing goes no further.
If I then run iPhoto, select and image, print and select the same
printing preset ("Photo on Photo Paper - Fine") the image prints
just fine.
Then, curiously, I go back and run my app, print, select the same
preset ("Photo on Photo Paper - Fine") and printing ensues
perfectly well.
Here's my relevant code;
NSPrintOperation *printOp = [NSPrintOperation
printOperationWithView:myView];
[printOp setJobStyleHint:NSPrintPhotoJobStyleHint];
[printOp setShowPanels:YES];
[printOp runOperation];
Am I missing anything? Thanks for any pointers.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.