PrintPageEventHandler not working when I upload my site to IIS
Hi all I am having my print code as follows
public void print() {
try {
PrintDocument pd = new PrintDocument();
pd.PrintPage += new PrintPageEventHandler(pd_PrintPage);
pd.PrinterSettings.PrinterName = "SnagIt 10";
pd.Print();
} catch (Exception Ee) { } }
Which works fine when I build and run directly from the application, but when I host my application to my IIS
I am unable to print to Snag IT
what might stopping this to happen can some one tell.