I am writing a PDE whose contents should differ for simplex and duplex
jobs. While I can usually get the value by getting the print ticket from
the print session, then getting the duplex value from the print ticket:
error = GetTicketRef(inPrintSession, kPDE_PMPrintSettingsRef,
&printSettingsTkt);
if (!error)
error = PMTicketGetSInt32(printSettingsTkt, kPMTopLevel, kPMTopLevel,
kPMDuplexingKey, &duplexValue);
While GetSInt32 usually returns a 0, sometimes it returns -9589
(kPMKeyNotFound). Anyone know why the duplex key would be missing from the
print ticket, or (better yet) if it's not missing, how to get it?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Printing mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/printing/email@hidden
This email sent to email@hidden