Posted by a ceTe Software moderator - Commonly asked question
Hi,
In your code, please try and specify the actual printer's name in place of Printer.Default. The ASP.NET code runs under the IIS user account, and it may not have access to the printer you are trying to print to or may have a different default printer.
The printers are typically installed and configured for each account and a default printer might be a different printer for the internet user account or it might not have been configured correctly. Please make sure that the printer is configured correctly so that the application can access it for printing.
Also using PrintManager you can read the printers installed using Printer.GetLocalPrinter() method, you will be able to see what printers are installed for the internet user account and pick the correct printer to print to.
Thanks,
ceTe Software Support Team