Printing Labels on Zebra Label Printer

Posted by: james.proctor on 8 December 2017, 11:26 pm EST

    • Post Options:
    • Link

    Posted 8 December 2017, 11:26 pm EST

    Hi,

    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.

    Regards

    James

  • Posted 8 December 2017, 11:27 pm EST

    Sorry, just to explain were in VS 2017. We are using pagedocument.Print. PrintExtension does work for us. PrintExentsion.Print isnt available.

    JP

  • Posted 10 December 2017, 4:04 pm EST

    Hello,

    In order to achieve your requirement, you could use overload of “Print” method to hide PrintProgress dialog. Please refer the following links:

    http://help.grapecity.com/activereports/webhelp/AR12/webframe.html#PrintMethodsInActiveReportsDeveloper.html

    http://help.grapecity.com/activereports/webhelp/AR12/webframe.html#GrapeCity.ActiveReports.Viewer.Win.v12~GrapeCity.ActiveReports.PrintExtension~Print.html

    Hope it helps.

    Thanks,

    Mohit

Need extra support?

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

Learn More

Forum Channels