Returning the name and number of available printersΒΆ
EnumPrinters() |
Return names and number of available printers |
SYNTAX
EnumPrinters(printer_names)
Returns the number of printers available to the machine on which the current program is running. The names of the printers are stored in printer_names, which should be an alphanumeric array field.
EXAMPLE
!temp NumPrinters,,u1
!temp PrinterNames,,a30[24]
NumPrinters = EnumPrinters(PrinterNames)
RELATED TOPICS |