S smallfox Unregistered / Unconfirmed GUEST, unregistred user! 2007-08-02 #1 如何获取系统中的打印机列表 就是说我要知道系统中有几台打印机,并把每台的机器列出来
B bjaman Unregistered / Unconfirmed GUEST, unregistred user! 2007-08-02 #2 var i : integer; pstr : string; begin //枚举系统当前安装的打印机 Memo1.Lines.Clear; for i := 0 to printer.Printers.Count -1do begin pstr := printer.Printers.Strings; Memo1.Lines.Add(pstr);//枚举 end; end;
var i : integer; pstr : string; begin //枚举系统当前安装的打印机 Memo1.Lines.Clear; for i := 0 to printer.Printers.Count -1do begin pstr := printer.Printers.Strings; Memo1.Lines.Add(pstr);//枚举 end; end;
S smallfox Unregistered / Unconfirmed GUEST, unregistred user! 2007-08-05 #4 peizmbj大侠 帮帮我吧 wham_lin@hotmail.com