Click here to Skip to main content
15,920,030 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dears,

I made a small web application (ASP.NET) that use the DocumentPrint.Print() to use a printer that connected on the server and when run it from the visual studio its work well and print the document correctly, Hint : the address will be : http://localhost:8080/ but when use the iis server (http://localhost/TestPrintingWebSite) the printer never work and then the website didnt effect to the server printer.

is there any setting must be on the iis to let me able to use the server printer ???

please your help guys ;)

thanks alot
Posted

1 solution

6 days ago you asked the same question here:
http://stackoverflow.com/questions/6973535/using-documentprint-in-asp-net[^]

And the answer I would give you is the same you got there.

If you have problems understanding impersonation, then you should ask about whatever your problem you have understanding impersonation.

Here is some articles on The Code Project which discusses impersonation:
A Complete Impersonation Demo in C#.NET[^]
Back to Basic – ASP.NET Runtime Impersonation[^]
A small C# Class for impersonating a User[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900