Message: 1
Date: Fri, 31 Dec 2004 18:07:08 -0700
From: Bill Peters <email@hidden>
Subject: PDF Workflow PMDestinationType 5
To: email@hidden
Message-ID: <a06020402bdfba23f67cb@[10.0.1.2]>
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
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