L linxia Unregistered / Unconfirmed GUEST, unregistred user! 2001-11-08 #1 怎样确认打印机是否准备好了, 如果好了就打印, 不好就显示消息
卷 卷起千堆雪tyn Unregistered / Unconfirmed GUEST, unregistred user! 2001-11-08 #3 if Printer.Printers.Count=0 then begin ShowMessage('请首先安装打印机'); Exit; //跳出N11Click end; if not MainPrintDialog.Execute then Exit else begin with Printerdo begin begin Doc; ............//你的打印操作 EndDoc; end; end;
if Printer.Printers.Count=0 then begin ShowMessage('请首先安装打印机'); Exit; //跳出N11Click end; if not MainPrintDialog.Execute then Exit else begin with Printerdo begin begin Doc; ............//你的打印操作 EndDoc; end; end;
L linxia Unregistered / Unconfirmed GUEST, unregistred user! 2001-11-08 #4 我要检测打印现在是联机,还是故障,或者是缺纸, 可以吗?
L linxia Unregistered / Unconfirmed GUEST, unregistred user! 2001-11-08 #11 卷起千堆雪tyn Printer.Printers.Count 里头的Printer控件在哪儿