lodop如何获取打印机名称
1 var LODOP; 2 //获取打印机设备数,用于进行遍历 3 var count = LODOP.GET_PRINTER_COUNT();//获取打印机个数 4 window.onload=function print() { 5 for (var i = 0; i < count; i++) { 6 //根据设备序号获取设备名 7 var msg = LODOP.GET_PRINTER_NAME(i); 8 console.log(LODOP.GET_PRINTER_NAME(i)); 9 } 10 }