| Author |
Printing PDF Document created by my servelt
|
Ram Thirumangalam
Greenhorn
Joined: Aug 28, 2003
Posts: 20
|
|
Hi I have this wiered issue. I create a PDF on the fly dynamically in my servlet and open it using Adobe within the browser window. (setting the response content type to PDF). I was able to print the same once it is opened using Adobe 5 or lower. If I install Adobe 6, I am able to open the document within the browser window but for some reason, I am not able to print it. It says, print job could not be started. But at the same time, If I save it to my hard disk and try to open it using adobe 6 and print it, it works fine. Is is somehting that has got to do with my thread? I issue a thread.join() after I start the thread. Any help would be greatly appreciated. Thanks Ramkumar.
|
 |
Mike Curwen
Ranch Hand
Joined: Feb 20, 2001
Posts: 3695
|
|
Is is somehting that has got to do with my thread? I issue a thread.join() after I start the thread. Unlikely? Those threads operate server-side. Once your PDF is delivered to your browser, it's entirely in the hands of the plugin. Or are you delivering a huge, multi-page document that is somehow being streamed and marshalled to the plugin, as needed? Either way, it sounds like a plugin problem.
|
 |
Ram Thirumangalam
Greenhorn
Joined: Aug 28, 2003
Posts: 20
|
|
Thanks Mike. I am just trying to send in a two page document. I agree that it has got to do with the plug-ins but what baffles me is that the printing works fine if I save the same document to my hard disk and then open it within the browser. Thanks for your quick response!
|
 |
 |
|
|
subject: Printing PDF Document created by my servelt
|
|
|