Printing Labels on the Zebra Label Printer?

Posted by: jackyjoy826 on 19 July 2021, 9:38 pm EST

    • Post Options:
    • Link

    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

  • Posted 20 July 2021, 2:46 pm EST

    Hello,

    Please use the following code:

    PrintExtension.Print(pageDocument, true, false);

    Thanks,

    Mohit

  • Posted 21 September 2021, 11:23 pm EST

    thanks for the awesome information.

Need extra support?

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

Learn More

Forum Channels