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. Web Development
  3. ASP.NET
  4. How to get printer response in ASP.NET

How to get printer response in ASP.NET

Scheduled Pinned Locked Moved ASP.NET
csharpasp-nethelptutorialquestion
6 Posts 5 Posters 0 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.
  • P Offline
    P Offline
    payback
    wrote on last edited by
    #1

    Hi, Anybody know how to get response from a printer to check for any printer error? thx

    C 1 Reply Last reply
    0
    • P payback

      Hi, Anybody know how to get response from a printer to check for any printer error? thx

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      You can't.

      Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

      P 1 Reply Last reply
      0
      • C Christian Graus

        You can't.

        Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

        P Offline
        P Offline
        payback
        wrote on last edited by
        #3

        thx Chris. Can we do it through Javascript?Or any other way you can suggest? The requirement is to trigger emails to the Administrator through a wepApp if there is any problem with the printer attatched to the machine in which that Wepapp is browsed. rgds

        E N V 3 Replies Last reply
        0
        • P payback

          thx Chris. Can we do it through Javascript?Or any other way you can suggest? The requirement is to trigger emails to the Administrator through a wepApp if there is any problem with the printer attatched to the machine in which that Wepapp is browsed. rgds

          E Offline
          E Offline
          Expert Coming
          wrote on last edited by
          #4

          ASP.NET doesn't have access to the client machine like that. You might be able to with an ActiveX control...

          The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo

          1 Reply Last reply
          0
          • P payback

            thx Chris. Can we do it through Javascript?Or any other way you can suggest? The requirement is to trigger emails to the Administrator through a wepApp if there is any problem with the printer attatched to the machine in which that Wepapp is browsed. rgds

            N Offline
            N Offline
            N a v a n e e t h
            wrote on last edited by
            #5

            payback wrote:

            Can we do it through Javascript?Or any other way you can suggest?

            There is no way for this. ASP.NET or Javascript is not built for this. Javascript works inside the browser and executed by the browser. So you don't have permission to access devices like printer.

            All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions

            1 Reply Last reply
            0
            • P payback

              thx Chris. Can we do it through Javascript?Or any other way you can suggest? The requirement is to trigger emails to the Administrator through a wepApp if there is any problem with the printer attatched to the machine in which that Wepapp is browsed. rgds

              V Offline
              V Offline
              Vasudevan Deepak Kumar
              wrote on last edited by
              #6

              Try using Meadco ScriptX. It also has a free edition. That should limited interaction with the printer. www.meadroid.com/scriptx/ [^]

              Vasudevan Deepak Kumar Personal Homepage
              Tech Gossips
              A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson

              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