applet批量打印无效

楼主
我是社区第39322位番薯,欢迎点我头像关注我哦~
<html>        
<head>      
<title>FineReport Demo</title>      
<script type="text/javascript" src="/WebReport/ReportServer?op=emb&resource=finereport.js"></script>        
<link rel="stylesheet" type="text/css" href="/WebReport/ReportServer?op=emb&resource=finereport.css"/>        
<script type="text/javascript">            
    function doPrint(){     //通过sessionid打印      
        var printurl="http://localhost:8075/WebReport/ReportServer?__cumulatepagenumber__=false";   
        var reportlets = FR.cjkEncode("[{reportlet: '/JXTJ3202.4-2014.cpt'}, {reportlet:'/JXTJ3202.4-2014.cpt'}]");   
                var config = {   
                url : printurl,   
                isPopUp : false,   
                data : {   
                    reportlets: reportlets   
                }   
        };   
        FR.doURLAppletPrint(config);
    }   
</script>        
</head>        
<body>        
<form name="report" width="200" height="200">      
    <input type="button" value="doPrint"><br>
多个文件批量打印,每份文件的页码错误
</form>        
<body>        
</html>
分享扩散:

沙发
发表于 2014-12-24 09:46:02
转测试
板凳
发表于 2014-12-26 11:51:20
楼主能说明一下是为什么无效吗,比如是点击没反应还是弹出失败对话框
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

5回帖数 1关注人数 3511浏览人数
最后回复于:2014-12-26 23:15

返回顶部 返回列表