Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show installed printers at the PC details tabs #676

Closed
DjMagicFingers opened this issue Aug 31, 2021 · 10 comments
Closed

Show installed printers at the PC details tabs #676

DjMagicFingers opened this issue Aug 31, 2021 · 10 comments
Assignees
Labels
question Further information is requested

Comments

@DjMagicFingers
Copy link

DjMagicFingers commented Aug 31, 2021

Knowing about the installed printers and getting as many details about them as possible, like is the printer online or offline, details about ink or toner levels would be a great time saver.

image

Additional information about the printers that I would love to know about:

  • Printer name
  • Printer IP address
  • Ink or toner levels
  • Online / Offline state
  • Drum life
  • Quantity of printed items
  • Is the printer shared
  • Last printed item
  • and more...

Other related features I think would be lovely to have:

  • Set an alert for toner life, x% before it turns to 0
  • Send periodic printing report to specific email address with on / off button to this feature
  • Send an alert for drum life x% before it turns 0
  • Send an alert for empty paper tray
@dinger1986
Copy link
Collaborator

That's a massive job to implement that!!

Too list printers would be easy enough but to get details on printers you would need SNMP or something similar.

@DjMagicFingers
Copy link
Author

DjMagicFingers commented Aug 31, 2021

Using SNMP is a good way to get the details if we scan the network (I have already published my dream feature from my wishlist here).
But this current feature request is about extracting as much info as possible from Windows - I guess things like IP address, TCP/UDP port and more such information about the installed printer would be available even without using SNMP.
Basically, the suggestion is to get information about already installed devices (like TacticalRMM does with display cards for example) rather than scan the network for devices that live outside the PC.

@dinger1986
Copy link
Collaborator

dinger1986 commented Aug 31, 2021

Yeah theres a difference between a displaycard (part of the pc) and a printer which is really independent. A collector script would maybe be the answer though? Or written to notes? EG powershell "Get-Printer" shows alot of info about printers. Or even "Get-Printer | Format-List Name,DriverName,PortName,Shared,DeviceType"

@DjMagicFingers
Copy link
Author

I am no expert, but it makes sense to me that if we can ask Windows about the installed drivers it has for any internal device (VGA, CPU, HD etc), it should be at least as easy to ask it for any other, already installed, external devices that are also connected to the PC - not to an internal slot, sure, but through the network - but still, Windows do know about them and does possess a lot of information that in my opinion would be stored with the installed driver - wouldn't it?

@dinger1986
Copy link
Collaborator

Yeah thats fine, Like I said "Get-Printer | Format-List Name,DriverName,PortName,Shared,DeviceType" would get all of that info and could be output to notes, please try it and let me know

@silversword411 silversword411 added the question Further information is requested label Sep 21, 2021
@vantzs
Copy link

vantzs commented Oct 4, 2021

Just by the by, I added a custom field called printers, I have an onboarding automation policy that collects data for custom fields and I literally run @dinger1986 script and it outputs this:
image

@dinger1986
Copy link
Collaborator

If we add that as a community script with a guide can be consider this closed?

@vantzs
Copy link

vantzs commented Oct 9, 2021

Another option you could run to get printer data would be this

get-WmiObject -class Win32_printer | fl *

@silversword411 silversword411 self-assigned this Feb 6, 2022
@silversword411
Copy link
Collaborator

I'll be adding community script and closing this soon.

@dinger1986
Copy link
Collaborator

amidaware/community-scripts#3

This is implemented as a community script now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants