开发者

Delphi: EnumPrinterData example

开发者 https://www.devze.com 2023-01-02 04:05 出处:网络
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 EnumPrinter

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

精彩评论

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

关注公众号