首页 > 代码库 > ARGOX 力象 OS-214Plus 条码打印机 B/S 打印

ARGOX 力象 OS-214Plus 条码打印机 B/S 打印

官网demo下载地址:

http://www.argox.com.cn/servicedev/5/c

页面中嵌入activeX控件:

    <object id="ArgoxPrinter" classid="clsid:D7617E8A-D164-419D-BBC6-D8F8CC46FA5A"></object>
    <input type="button" value="开始打印" style="width: 95px" onclick="Print()" />
<script type="text/javascript">
    function Print() {
        ArgoxPrinter.A_OpenUSBPort();

        //ArgoxPrinter.A_Draw_Box_A("A", 10, 10, 390, 140, 3, 3);
        //ArgoxPrinter.A_Draw_Line_A("A", 220, 10, 3, 140);
        //ArgoxPrinter.A_Bar2d_QR(235, 100, 1, "3", 10, "N", 0, "1234567");
        ArgoxPrinter.A_Prn_Barcode_1D(20, 60, 1, "E", 0, 0, 20, "N", 0, "Brsn-abcd-001");
        //ArgoxPrinter.A_Prn_Text_TrueType_A(280, 110, 35, "宋体", 1, 600, 0, 0, 0, "CC", "固定资产标签", 1);
        ArgoxPrinter.A_Print_Out(1, 1);
        ArgoxPrinter.A_CloseUSBPort();
    }
</script>

 

 

 

 

参考地址:

http://lydawen.iteye.com/blog/1894684

http://blog.csdn.net/yuliyige/article/details/48437225

网页ActiveX控件注意的地方:

http://www.argox.com.cn/serviceqa/70

 

ARGOX 力象 OS-214Plus 条码打印机 B/S 打印