<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=gb2312">
<title>Web sockets test</title>
<style type="text/css">
.container
{
font-family: "Courier New";
width: 680px;
height: 300px;
overflow: auto;
border: 1px solid black;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<h1>Web打印SDK</h1>
<div id='LogContainer' class='container'></div>
<br />
<div id='SendDataContainer'>
<textarea id="DataToSend" class='container'>{"setting":[{"action":"preview","template":"report.fr3","type":"local"}],"rows":[{"paytime":"2018-10-17","sn":"11011","membername":"张小白","alipay":"admin@nbnat.com","shopname":"我的商店","mobile":"13888888888","postname":"郭大侠","postadd":"桃花岛","descript":"来个大的","diy_sn":"778899","diy_productname":"其实就是个马桶","diy_detail":"来个大点的其它的不重要"}]}
</textarea>
<button id='SendData' type="button" οnclick='SendDataClicked();' disabled = true>发送</button>
<button οnclick='SendDataClicked();'> 打印预览</button>
</div>
<br />
</form>
</body>
</html>