Failed to open the Microsoft XPS Document Writer printer, System error number:

Posted by: Kapil.Velpuri on 25 July 2018, 4:39 pm EST

    • Post Options:
    • Link

    Posted 25 July 2018, 4:39 pm EST

    Hi ,

    I am generating an excel by using active report when i am running getting printer error.Please find the code and i am not performing any printing functionality.

                arReport = (GrapeCity.ActiveReports.SectionReport)Activator.CreateInstance(arTemplateType);
                               arReport.DataSource = CreateXMLDataSource(xmlDoc);
                try
                {
                    arReport.Run();
                }
    
  • Posted 26 July 2018, 6:21 am EST

    Hello,

    Could you please try the following code:

    (arReport.DataSource as XMLDataSource).LoadXML(xmlReport);
    

    If the issue is not resolved by above line then could you please share the stripped down sample with us.

    Thanks,

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels