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 Authenticate Clients to Printing From Server Using ASP.NET C#

How To Authenticate Clients to Printing From Server Using ASP.NET C#

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netsysadminsecuritytutorial
11 Posts 3 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.
  • A ashish bhakhar

    How To Authenticate Clients to printing From Server Using ASP.NET C# hello i have one server in which the printer is installed, the clients are printing from server. So, i want to authenticate those clients before printing using asp.net? can anyone give me idea or code for print authentication from client computer to server?

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

    You totally missed the concept. AFAIK, ASP.NET can't print anything. It's handled by the browser where the pages are displayed.

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

    A 1 Reply Last reply
    0
    • N N a v a n e e t h

      You totally missed the concept. AFAIK, ASP.NET can't print anything. It's handled by the browser where the pages are displayed.

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

      A Offline
      A Offline
      ashish bhakhar
      wrote on last edited by
      #3

      hello brother navaneeth i am talking about print authentication using asp.net means if in server client architecture of any company, clients are printing from any type of application like word, power point, excel or even from web browser, i want to stop them to printing unlimited prints, one asp.net application is currently running, clients logins are also available in it, so using those login i want to give rights for printing. i am talking about system printing from any application and authenticate them using asp.net application. if it's possible?

      N 1 Reply Last reply
      0
      • A ashish bhakhar

        hello brother navaneeth i am talking about print authentication using asp.net means if in server client architecture of any company, clients are printing from any type of application like word, power point, excel or even from web browser, i want to stop them to printing unlimited prints, one asp.net application is currently running, clients logins are also available in it, so using those login i want to give rights for printing. i am talking about system printing from any application and authenticate them using asp.net application. if it's possible?

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

        As I said, you can't do this with ASP.NET. It is a server side scripting language which emits HTML tags to the browser. You can't set permissions to a printer using ASP.NET. Also the printing is handled by your browser, not ASP.NET. ASP.NET just renderer the tags into appropriate HTML and sends to browser via HTTP/HTTPS protocols. Buy a beginner level ASp.NET book and learn how it is working.

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

        A 1 Reply Last reply
        0
        • N N a v a n e e t h

          As I said, you can't do this with ASP.NET. It is a server side scripting language which emits HTML tags to the browser. You can't set permissions to a printer using ASP.NET. Also the printing is handled by your browser, not ASP.NET. ASP.NET just renderer the tags into appropriate HTML and sends to browser via HTTP/HTTPS protocols. Buy a beginner level ASp.NET book and learn how it is working.

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

          A Offline
          A Offline
          ashish bhakhar
          wrote on last edited by
          #5

          thank u for giving me sugession but i want to system programming using asp.net it is possible but u r saying that it's not possible but if u don't know, doesn't matter. but if u can find solution please give me. and if also possible using VB or VB.Net, then if u having idea then give me , & last thing i am working on expert level programming, just for ur knowledge, so i don't need to review asp.net beginner book. thank u for giving me replies.

          N 1 Reply Last reply
          0
          • A ashish bhakhar

            thank u for giving me sugession but i want to system programming using asp.net it is possible but u r saying that it's not possible but if u don't know, doesn't matter. but if u can find solution please give me. and if also possible using VB or VB.Net, then if u having idea then give me , & last thing i am working on expert level programming, just for ur knowledge, so i don't need to review asp.net beginner book. thank u for giving me replies.

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

            ashish bhakhar wrote:

            hank u for giving me sugession

            You are welcome.

            ashish bhakhar wrote:

            but i want to system programming using asp.net it is possible

            Nope. ASP.NET is for web development.

            ashish bhakhar wrote:

            & last thing i am working on expert level programming, just for ur knowledge, so i don't need to review asp.net beginner book.

            That sounds strange. If you were an expert level programmer, you won't post such an odd question.

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

            A C 2 Replies Last reply
            0
            • N N a v a n e e t h

              ashish bhakhar wrote:

              hank u for giving me sugession

              You are welcome.

              ashish bhakhar wrote:

              but i want to system programming using asp.net it is possible

              Nope. ASP.NET is for web development.

              ashish bhakhar wrote:

              & last thing i am working on expert level programming, just for ur knowledge, so i don't need to review asp.net beginner book.

              That sounds strange. If you were an expert level programmer, you won't post such an odd question.

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

              A Offline
              A Offline
              ashish bhakhar
              wrote on last edited by
              #7

              Navneet:If you were an expert level programmer, you won't post such an odd question. Ashish: U R right. But, this is the requirement of our client, through their web app, they requires printing authentication using this. And this is one type of challenge for me to give them best from my side. i am looking forward about this problem, that three things can help me 1) timer 2) threading 3) spooling & shell32.dll currently i am looking on these three things to develop 'print auth' app. u can focus on these thing and can make any sol So, if u can find ur best, then it's 'hats off' to you from my side. thank you.

              C 1 Reply Last reply
              0
              • A ashish bhakhar

                Navneet:If you were an expert level programmer, you won't post such an odd question. Ashish: U R right. But, this is the requirement of our client, through their web app, they requires printing authentication using this. And this is one type of challenge for me to give them best from my side. i am looking forward about this problem, that three things can help me 1) timer 2) threading 3) spooling & shell32.dll currently i am looking on these three things to develop 'print auth' app. u can focus on these thing and can make any sol So, if u can find ur best, then it's 'hats off' to you from my side. thank you.

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

                ashish bhakhar wrote:

                But, this is the requirement of our client, through their web app, they requires printing authentication using this.

                Well, your job, if you have any idea at all, is to educate your client on technical possibilities. The fact that you ask the same questions here over and over b/c you don't like the answers, shows you are far from an 'expert'.

                ashish bhakhar wrote:

                1. timer 2) threading 3) spooling & shell32.dll

                If you had the slightest clue about how ASP.NET works, you'd know why these things are not going to help you. I second the recommendation that you buy a beginners book on ASP.NET and read it. You can run a .NET control inside the browser, but I doubt even then you can get that sort of access to the system. It's possible that would work, but it means your users will need to give your site full trust. At this point, your code would have nothing to do with ASP.NET, obviously.

                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 )

                1 Reply Last reply
                0
                • N N a v a n e e t h

                  ashish bhakhar wrote:

                  hank u for giving me sugession

                  You are welcome.

                  ashish bhakhar wrote:

                  but i want to system programming using asp.net it is possible

                  Nope. ASP.NET is for web development.

                  ashish bhakhar wrote:

                  & last thing i am working on expert level programming, just for ur knowledge, so i don't need to review asp.net beginner book.

                  That sounds strange. If you were an expert level programmer, you won't post such an odd question.

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

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

                  Isn't this the same guy you were struggling with yesterday ?

                  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 )

                  A N 2 Replies Last reply
                  0
                  • C Christian Graus

                    Isn't this the same guy you were struggling with yesterday ?

                    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 )

                    A Offline
                    A Offline
                    ashish bhakhar
                    wrote on last edited by
                    #10

                    Well Thanks 2 navneeth & christian

                    1 Reply Last reply
                    0
                    • C Christian Graus

                      Isn't this the same guy you were struggling with yesterday ?

                      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 )

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

                      Ha ha, he didn't came today. This is a newbie to CP

                      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
                      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