Jacob,

You are right in that it seems simple, unfortunately, it's not as simple
as it should be *grin*. In my research into this problem, I found
several methods that either used to work or couldn't be implemented when
using CFDocument.  One that seems to work but can't be used from within
CFDocument is using embedded JavaScript in the PDF to fire the print
window.  You could possibly use PdfStamper (iText) to create the
JavaScript in the existing PDF document after you create it, but I
haven't tried.  I don't know which version you'd need to use.  I do know
CF's version is not the latest.  

http://threebit.net/mail-archive/itext-questions/msg00139.html 

We originally used PDFPrint to accomplish this functionality but a
security update from Microsoft killed the application (it had previously
been discontinued, so there is no support for it).

The only way I found to automagically print PDF documents created with
CFDocument with the level of control I needed was to create an
application that automatically prints PDFs.  We created a Java App that
would print PDFs whenever it was handed one.  Then we associated the App
with a new extension ppdf (which stood for print PDF -- Clever eh?)
Whenever I want an automagically printed document I rename the document
to have the extension ppdf and it will print for our users. 

Thanks!
Christine Davis
ColdFusion Lead
Nations Technical Services
Prairie Village, KS
913-748-8044 ext 4703
[EMAIL PROTECTED]



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271648
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to