Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
PDF Workflow PMDestinationType 5
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PDF Workflow PMDestinationType 5



Hi,

I have a print spool application that processes PDF files through PDF Workflow. As part of the setup (and so that I don't have to annoy the user with a Print Settings dialog all the time) I capture a PMPrintSettings object and save it in the user preferences. I then use this for each job in the queue.

One of my users inadvertently dismissed this Print Settings dialog by choosing my application out of the PDF Workflow popup. So when I went to print, I ended up processing the PDF file and then sending it back to myself.

Now when I check for this condition, I use PMSessionGetDestinationType on my PMPrintSettings object and get a type of "5". I have two problems with this:

1) This value is not documented as far as I can see.

2) There may be a legitimate need for the user to select a "next destination" application in the PDF Workflow popup menu. I just don't want the user to select _my_ application from that menu.

The net effect of this is that I can't just compare the destination value to "5". I really need a way of finding out which application was selected and warn the user if my application was chosen.

Does anyone know of a way to detect which application was selected from the PDF Workflow popup? Also, is there any additional documentation about the constants returned from PMSessionGetDestinationType?

Thanks,
Bill

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Printing mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.