This topic has been archived. It cannot be replied.
-
工作学习 / 专业技术讨论 / 求教,如何把HTTPServletResponse的 outputStream 直接导向到browserprinter?i have a pdf file, in HttpServletResponse.outputStream, I need to direct it to browsers' printer, without calling any client side code like javascript something like pdf.print().
Is that possible? thx a lot in advance!
-michaellucad(michaellucad);
2006-4-12
{223}
(#2901391@0)
-
I don't think it's pissible. Why don't you use javaScript?
-maplew2008(maplew);
2006-4-12
(#2901637@0)
-
pcl 格式的据说可以..JAVASCRIPT就要用到PDF的PLUGIN,ACTIEX,老板不让用....
-michaellucad(michaellucad);
2006-4-12
(#2902189@0)
-
我觉得不可能。开发浏览器的人不会这么做。不经用户同意,直接就打印出来,没有人敢用这样的浏览器。如果有这样的技术,那些垃圾网站肯定早就用了,还用什么弹出窗口,直接打上一百页广告。
-holdon(again);
2006-4-13
(#2902746@0)