So you're trying to access the default printer from C#, which means that your application is trying to print on the server.
This sort of things often "works" in a development environment, where the server and client are normally the same machine. In the cloud, though, servers are generally VMs with no printer setup. If a printer was setup you wouldn't see an error message: the document would simply print at the server's default printer, and only the IPP admins know where that is.
"There are three kinds of lies: lies, damned lies and statistics."
- Benjamin Disraeli
NB: In Windows, printers are installed and configured per user. Even if the server admin installed and configured a printer under the administrator account, it wouldn't be available to the server account(s) under which IIS applications run. Getting the printer configured on the server for IIS would involve manipulating the registry.
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
previous message implies that you are prepared to offer personal assistance.
No not really. I think he/she got an assignment/project in his School/University and obviously he was not paying attention in all those lectures, so he does not know where to start from and obviously the question for him seems to be alien at this minute and am sure clock is ticking and now all he is bothered about is final product to submit and get pass grade.
My idea is to first train him on how to make sense of the question, what all he can try before asking question here and when he tried enough then what is the best possible manner to ask question here or any other tech forums. If he is running out of time, it's better to fail and then stand up rather than giving up so early and relying on someone else's work.
So all in all, I am not going to work for him but yes if he wants I can put him in a right direction and obviously for similar reason, I ignored his private email and ask him to reply on this thread.