Printers¶
Query printer installations, optionally limited to locally attached devices.
Note
Printer driver names can be set by the user or installation utility. There does not exist a foolproof way to find out the actual printer model.
Parameters¶
| Name | Type | Description |
|---|---|---|
| Organizations | list | Select one or multiple organizations. The number in parantheses is the number of machines in the organization. |
| Local printers only | bool | |
| Driver filter | string | This input field supports SQL like wildcards. |
| Name filter | string | This input field supports SQL like wildcards. |
Fields¶
| Name | Type | Visible | Description |
|---|---|---|---|
| Organization ID | numeric | false | Internal ID that references the Organization entity (Foreign Key) |
| Organization Guid | guid | false | |
| Organization | string | true | Name of the organization |
| Organization Description | string | false | Description |
| Environment ID | numeric | false | Internal ID that references the Environment entity (Foreign Key) |
| Environment | string | false | Name of the Environment |
| Organization Custom Field1 | string | false | Available for custom data, not used by OctoSAM Inventory |
| Organization Custom Field2 | string | false | Available for custom data, not used by OctoSAM Inventory |
| Organization Custom Field3 | string | false | Available for custom data, not used by OctoSAM Inventory |
| Organization Custom Field4 | string | false | Available for custom data, not used by OctoSAM Inventory |
| Object State ID | numeric | false | Internal ID that references the ObjectState entity (Foreign Key) |
| Object State | string | false | Object state name |
| Object State Octopus Id | string | false | Octopus technical name of this state |
| Machine Guid | guid | false | A unique ID that can be used to link to this machine object by external applications |
| Machine ID | numeric | false | Internal ID for the Machine entity (Primary Key) |
| Machine Name | string | false | Machine name (computer name) |
| Machine | string | true | Use this name in reports for consistency and to avoid having to build the printable name from its parts |
| Alternate Name | string | false | Contains the computer name for systems that may have different host and computer names, such as macOS |
| Fully Qualified Domain Name | string | false | Fully qualified domain name as seen by the scanner through reverse lookup of the network address |
| Machine Description | string | false | Description attribute of the directory service or manually entered during offline scan |
| Alternate Description | string | false | Alternate description field specific to the scanned machine type. For example locally entered description in macOS. |
| Domain Name | string | false | Windows NETBIOS Domain Name |
| Site | string | false | Active Directory Site that the machine belongs to |
| Location | string | false | Active Directory location attribute |
| Sid | string | false | Computer SID |
| Operating System | string | true | Full name of the OS |
| Operating System Publisher | string | false | Publisher of the OS. |
| Operating System Family | string | false | A short name to identify different operating system families |
| Operating System Server | bool | false | True if this OS is a server version |
| Operating System Version | string | false | Additional version information about the OS |
| Operating System Display Version | string | false | DisplayVersion for operating systems that support this attribute. Newer Windows versions use this instead of ReleaseID. |
| Operating System Edition | string | false | An OS specific edition marker |
| Operating System Bits | numeric | false | 32 or 64 bit |
| Last Scan Guid | guid | false | GUID of the last imported .scan file for this entity. |
| First Scan | date | false | Date/Time of first scan of this machine |
| Deleted In Directory | bool | false | True, if directory check detects that the machine is no longer found in directory |
| Deleted In Directory First Detected | date | false | Date/Time the delete flag was set |
| Directory Path | string | false | Path where the machine was found in the directory service. Usually an LDAP path. |
| Directory Container Path | string | false | Path to the container of this object. Provided for grouping or export to other applications. |
| Scanned Distinguished Name | string | false | Distinguished computer name as seen locally from the scanner. This is collected using the AdsiInfo COM object and may differ from the DirectoryPath field. |
| Manufacturer ID | numeric | false | Internal ID that references the Manufacturer entity (Foreign Key) |
| Manufacturer | string | false | Normalized hardware manufacturer name |
| Directory Last Logon Timestamp | date | false | LastLogonTimestamp attribute from Active Directory (updated on import and on housekeeping). Resolution: 14days. |
| Directory Last Logon Last Scan Diff | numeric | false | |
| Directory When Created | date | false | WhenCreated attribute from Active Directory |
| Directory Disabled | bool | false | True if the UserAccountControl attribute has the disable bit set |
| Custom Field1 | string | false | Available for custom data for this machine, not used by OctoSAM Inventory |
| Custom Field2 | string | false | Available for custom data for this machine, not used by OctoSAM Inventory |
| Custom Field3 | string | false | Available for custom data for this Machine, not used by OctoSAM Inventory |
| Custom Field4 | string | false | Available for custom data for this Machine, not used by OctoSAM Inventory |
| Notes | string | false | Available for custom notes about this entity |
| Virtual Machine | bool | false | True if this is a virtual machine |
| Virtualization Host | bool | false | True if this machine hosts virtual machines |
| Mapping Tag | string | false | This field can be used for custom mapping logic |
| Last Scanner Tag | string | false | Command-line tag that was specified on the last scan of this machine |
| Last Scan | date | false | Date/Time of the last imported scan for this machine as reported by the machine (may be out of sync) |
| Printer Name | string | true | Printer name as reported by WMI |
| Default Printer | bool | true | True if the printer is the default printer of its machine |
| Printer Port | string | true | Printer port |
| Printer Driver | string | true | Printer driver name |
| Printer Comment | string | false | Printer comment |
| Printer Description | string | false | Printer description |
| Local | bool | true | True if the printer appears to be locally attached to the machine |
| Current Date Time | date | false | Date and time the query was run. For reference if you use and save query results. |
Main entities referenced from this query¶
Query information¶
| Property | Value | Description |
|---|---|---|
| Query Guid | df79a980-12d5-11de-8c30-0800200c9a66 | The internal id of the query. Must be unique |
| SupportsDesktop | true | If true, the query can be started from the OctoSAM Windows GUI |
| SupportsWeb | true | If true, the query can be started from the OctoSAM Web UI |
| LastUpdate | 2025-09-16 22:02:14 | Last change to this document |
| Build | 1.11.7.11 | OctoSAM build that last changed this document |