Posted 19 July 2021, 9:38 pm EST
Hello,
We are considering purchasing ActiveReports and one of our requirements is the print labels on label printers. We hoped we might be able to use AR for this as well as standard reporting.
We need to be able to print silently. I’ve put a quick demo together as below:
string file_name = @“…..\Catalog.rdlx”; GrapeCity.ActiveReports.PageReport pageReport = new GrapeCity.ActiveReports.PageReport(new System.IO.FileInfo(file_name)); GrapeCity.ActiveReports.Document.PageDocument pageDocument = new GrapeCity.ActiveReports.Document.PageDocument(pageReport); // pageDocument.Print(); // OR PrintExtension.Print(pageDocument, true, true);
This works great. However it still shows a mini dialog box that says printing 1/1 with a cancel button. Its almost a dialog that you blink and miss. However its still rather annoying. Is there a way around this or of disabling it? Look forward to hearing from you.
thanks jackyjoy