<script language="javascript"> function PrintLabel() { var ccc = 0; var zp = new ActiveXObject('ZebraPrint.ZebraPrintCtl'); zp.TcpConnection('66.55.1.2', '6101'); var i = zp.Print('<?xml version="1.0"?>Test Text</xml>'); alert(i); } </script> <body> <form id="form1"> <div> <asp:Button ID="btnPrint" runat="server" Text="Print" OnClientClick="javascript:PrintLabel();return false;" /> </div> </form> </body>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)