Re: Two-sided printing
Re: Two-sided printing
- Subject: Re: Two-sided printing
- From: Ruben Smits <email@hidden>
- Date: Wed, 7 Jan 2004 08:43:17 +0100
Hi,
It is possible indeed to hardcode double sided printing. However, I am
not sure if you can do this using Cocoa only, since these methods might
be too limited.
You have to interact with the jobticket, as Nicko indicated. If Cocoa
is too limited indeed, you can use the Carbon Printing Manager function
calls.
On 6-jan-04, at 18:26, email@hidden wrote:
I have a printer which can print two-sided documents.
I have to choose two-sided printing in the print-dialog. Is there a
way I can hard-code that into my application, so the user never have
to think about this?
I don't know for certain but I'd guess that IF you can do this it will
be by setting a key in the NSPrintInfo dictionary, since that is the
mechanism by which the setting would be remembered in from one print
run to another. There is no pre-defined key for double-sided but if
you were to fix your application to dump the contents of the dictionary
after a print run and then run it once in double-sided mode you might
be able to work it out.
Nicko
-----------
Ruben
-----------
_______________________________________________
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.