Comments (2)
@ bezik46 Thank you for the detailed issue notes. I have not worked on this repo in 8 years nor have i used the code in roughly that amount of time. It is entirely possible that the hooks into the version of SharpSnmplib are not correct with the current version and that would need updated or that the library . If you have an HP or a Konica printer you could validate with that.
Other than the library hooks potentially being incorrect I see in your snmpWalk command you are starting at 4.60
and ending at 4.63
but the code you are using 61
and 63
are you sure that those are the correct OIDs for the page counts?
Recommended Solution
It looks like there is a Powershell gallery function that can be used to just get the SNMP OID that is using more current information than this legacy code.
- https://www.powershellgallery.com/packages/Proxx.SNMP/1.0.1.2/Content/Invoke-SnmpGet.ps1
- Usage: https://www.reddit.com/r/sysadmin/comments/4trz5m/snmp_oid_for_color_pages_printed/?rdt=48533
from powershell.
Yes, values are correct (confirmed on my printers)
https://www.copytechnet.com/forums/sharp/176375-get-total-pages-counters-snmp.html#google_vignette
And yes, using Proxx.SNMP which does work fine
Will cobble own script, but do not like inventing wheel when one might already exist
from powershell.
Related Issues (2)
- DLL and XML file HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from powershell.