Hello all,

I have a form that submits to an action page containing a CFDocument tag in
a new window. The action page sends the PDF output directly to a printer
using CFPrint, soI end up with a new blank window.

I have been trying *unsuccessfully* to close that new blank window
programmatically so that I don't have to train users to do it. Any ideas?

What I have tried is to set a javascript timer in the submitting page to
close the child window after x number of seconds. I have also tried using
cfthrow in the action page to catch a custom error that could then use
javascript to close the window.

btw, cfprint is a workaround to allow printing to a non-AirPrint device
from Safari on an iPad.


Thanks,
Billy Cox


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351843
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to