Announcement

Collapse
No announcement yet.

PrinterState / Status

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • PrinterState / Status

    Hi all

    I was inspired by this post but I can't get it to check for low toner.

    What item should be used to get this? And what do each of the numbers that are returned mean? PrinterState returns 0 as ready and 1 as paused but a printer can be ready and have low toner. Any ideas?

    Thanks
    Server 2000 MCP
    Development: ASP, ASP.Net, PHP, VB, VB.Net, MySQL, MSSQL - Check out my blog http://tonyyeb.blogspot.com

    ** Remember to give credit where credit is due and leave reputation points sigpic where appropriate **

  • #2
    Re: PrinterState / Status

    Google is great, spent all morning searching for printerstate, printerstate low toner etc....

    Then searched for get low toner vbs and found this:

    http://www.cramsession.com/articles/...12003-0936.asp

    Case "0" CurStatus="Online"
    Case "1" CurStatus="Paused"
    Case "2" CurStatus="Pending Deletion"
    Case "3" CurStatus="Error"
    Case "4" CurStatus="Paper Jam"
    Case "5" CurStatus="Paper Out"
    Case "6" CurStatus="Manual Feed"
    Case "7" CurStatus="Paper Problem"
    Case "8" CurStatus="Offline"
    Case "256" CurStatus="IO Active"
    Case "512" CurStatus="Busy"
    Case "1024" CurStatus="Printing"
    Case "2048" CurStatus="Output Bin Full"
    Case "4096" CurStatus="Not Available"
    Case "8192" CurStatus="Waiting"
    Case "6384" CurStatus="Processing"
    Case "32768" CurStatus="Initializing"
    Case "65536" CurStatus="Warming Up"
    Case "131072" CurStatus="Toner Low"
    Case "262144" CurStatus="No Toner"
    Case "524288" CurStatus="Page Punt"
    Case "1048576" CurStatus="User Intervention"
    Case "2097152" CurStatus="Out of Memory"
    Case "4194304" CurStatus="Door Open"
    Case "8388608" CurStatus="Server Unknown"
    Case "16777216" CurStatus="Power Save"
    Server 2000 MCP
    Development: ASP, ASP.Net, PHP, VB, VB.Net, MySQL, MSSQL - Check out my blog http://tonyyeb.blogspot.com

    ** Remember to give credit where credit is due and leave reputation points sigpic where appropriate **

    Comment

    Working...
    X