Printing Labels on the Zebra Label Printer ?.

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

  • 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
  • Replied 20 July 2021, 2:46 pm EST

    Hello,

    Please use the following code:
    PrintExtension.Print(pageDocument, true, false);

    Thanks,
    Mohit
  • Replied 29 August 2021, 7:23 pm EST

    How do you take advantage of all the features of ActiveReports? I would love to see your comments! https://1v1-lol.com
  • Replied 21 September 2021, 11:23 pm EST

    jackyjoy826 said:
    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?
    https://creditcardsupportx.com/burlington-credit-card
    https://creditcardsupportx.com/zulily-credit-card
    https://creditcardsupportx.com/american-eagle-credit-card
    Look forward to hearing from you.

    thanks
    jackyjoy


    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