Z
zqssoft
Unregistered / Unconfirmed
GUEST, unregistred user!
请问如何通过USB接口的POS58打印机开钱箱,用并口打印机控制钱箱的如下代码可以吗?USB和并口POS打印机开钱箱命令代码一样通用吗?procedure TForm1.Button1Click(Sender: TObject);var F:TextFile;pdStr:string;begin pdStr:=#27+#112+#0+#100+#100; assignFile(F, 'LPT1'); //端口自己改.... Rewrite(F); Write(F,pdStr); CloseFile(F);end;