条码打印机问题
使用斑马TLP 3742条码打印机作为缺省打印机,程序:
Printer.Print "N"
Printer.Print "B30,30,0,3,3,7,200,B," + Trim(txtSampleNo)
Printer.Print "P1"
Printer.NewPage
Printer.EndDoc
运行时出现
HP 7586B: Please insert new sheet of paper
检查:条码纸一直在打印机里,打印机已打开,并且用其配套软件可以打印。
问题:1、用上述命令为什么不行?
2、有没有直接打印一个文本文件的方法?我可以将上述内容转到文本文件中打印。已经试过 shell "copy test.txt lpt1" 不成功,找不到 copy 这个文件。