How To Authenticate Clients to Printing From Server Using ASP.NET C#
-
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?
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
-
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
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?
-
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?
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
-
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
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.
-
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.
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
-
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
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.
-
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.
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:
- 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 )
-
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
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 )
-
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 )
Well Thanks 2 navneeth & christian
-
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 )
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