Skip to main content

1E SDK

Device.GetInboundPrinters

Method

GetInboundPrinters

Module

Device

Library

Core

Action

Retrieves information about any connected shared printer servers

Parameters

None

Return values

A table containing a row per attached printer

    • Attributes (string): Some operating system details about the printer

      • "queued", "direct", "default", "shared", "hidden", "enable devq", "keep printed jobs", "do complete first", "work offline", "enable bidi", "raw only", "published", "fax"

    • Location (string): Whether the printer is "local" or "remote"

    • Port (string): The port associated with the printer. If local then this will be the physical port on this device, if remote then it is the IP Address of the server.

    • PrinterName (string): The name of the printer unique to the device

    • ServerName (string): The server that the attached remote printer is shared from.

    • ShareName (string): The name under which the printer is shared from this device

Example

Device.GetInboundPrinters();

Platforms

  • Windows

Notes