Click here to Skip to main content
15,883,901 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all I am having my print code as follows

C#
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.
Posted

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