开发者

Delphi: EnumPrinterData example

Can you p开发者_高级运维lease provide an example of using EnumPrinterData function in Delphi to get a list of printers in system?


To get a simple list of installed printers, you don't need EnumPrinterData. You can use TPrinter.Printers property:

for I := 0 to Printer.Printers.Count - 1 do
  Writeln(Printer.Printers[I]);
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜