Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. manage network printers

manage network printers

Scheduled Pinned Locked Moved C#
csharpdatabasesysadminhelp
4 Posts 4 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    Blue_Boy
    wrote on last edited by
    #1

    How can I manage printers on network, getting their status, ink level, if any printer have any problem then getting problem description,enable/disable printing on specific printer,etc. All these I need to manage programmatically. Regards


    I Love T-SQL "VB.NET is developed with C#.NET" If my post helps you kindly save my time by voting my post.

    M L M 3 Replies Last reply
    0
    • B Blue_Boy

      How can I manage printers on network, getting their status, ink level, if any printer have any problem then getting problem description,enable/disable printing on specific printer,etc. All these I need to manage programmatically. Regards


      I Love T-SQL "VB.NET is developed with C#.NET" If my post helps you kindly save my time by voting my post.

      M Offline
      M Offline
      Mycroft Holmes
      wrote on last edited by
      #2

      I would think that would be determined by the api the printer publishes.

      Never underestimate the power of human stupidity RAH

      1 Reply Last reply
      0
      • B Blue_Boy

        How can I manage printers on network, getting their status, ink level, if any printer have any problem then getting problem description,enable/disable printing on specific printer,etc. All these I need to manage programmatically. Regards


        I Love T-SQL "VB.NET is developed with C#.NET" If my post helps you kindly save my time by voting my post.

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        Check out the System.Printing.PrintQueue and PrintSystemJobInfo classes. The actual status information you get back for a given printer will depend on how well a given printer (driver) integrates with Windows. (If a particular printer has "poor" Windows support, you will need to have access to the printer driver API; usually via a custom .NET dll supplied by the vendor, when available).

        1 Reply Last reply
        0
        • B Blue_Boy

          How can I manage printers on network, getting their status, ink level, if any printer have any problem then getting problem description,enable/disable printing on specific printer,etc. All these I need to manage programmatically. Regards


          I Love T-SQL "VB.NET is developed with C#.NET" If my post helps you kindly save my time by voting my post.

          M Offline
          M Offline
          Mohammad Reza Valadkhani
          wrote on last edited by
          #4

          if your printer is connected directly to the network and support SNMP you can talk to your network printer and get what you want from him! i recommend you check SNMP feature of your printer ( if they have it !)

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups