Does anyone know of a reporting tool that allows for controlling the print job on a page by page basis? Specifically, I need to be able to insert escape sequences to the printer.
The closest I have found is ActiveReports. It provides an interface like this:
SystemPrinter sp = new SystemPrinter();
sp.StartJob("jobname");
foreach(Page pg in rpt.Pages) {
sp.Escape("escape_characters");
sp.StartPage();
pg.Draw(sp.Graphics, rect); //render page to printer
sp.EndPage();
}
sp.EndJob();
The problem is that their escape function has a known bug and does not properly pass the escape characters to the printer.
An interface similar to this is ideal, but not necessary. The minimum requirements that I have to deal with is to send different commands to the printer on a per page basis. I am also working in .NET. Any suggestions would be appreciated. Thanks.