Skip to Content
author's profile photo Former Member
Former Member

Printing Maxicode Labels

We are experiencing an issue where we can print a label with a maxicode from within Crystal Reports and the label looks fine. Printing from an application compiled against the Crystal Reports runtime dlls results in the maxicode being compressed by about 5%. This results in the maxicode not being scannable. We are using version 13 for both Crystal Reports and the runtimes.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on May 14, 2013 at 10:36 PM

    Hello Patrick

    CR Version 13 is not enough information. What service pack are you on? If you do not know, look at the version of the crpe32.dll and quote that:

    C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win32_x86

    - Ludek

    Senior Support Engineer AGS Primary Support, Global Support Center Canada

    Follow us on Twitter

    Got Enhancement ideas? Try the SAP Idea Place

    Share Your Knowledge in SCN Topic Spaces

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Don Williams

      Thanks for the suggestion Don. Can you point me towards resources that would help explain how to do this? It looks like I need to set up a server to host the reports? Does this require a version of Crystal beyond the Visual Studio add on?

      I have the following code in place but the last line (printOutputController.PrintReport(printReportOptions);) results in an exception with the message 'Error HRESULT E_FAIL has been returned from a call to a COM component. at CrystalDecisions.ReportAppServer.Controllers.PrintOutputControllerClass.PrintReport(PrintReportOptions options) '

      private void PrintCrystalReport(string reportLocation, string xsdLocation, int numberOfCopies, string printerName)


      var xmlDataSet = new DataSet();


      var reportToPrint = new CrystalDecisions.CrystalReports.Engine.ReportDocument();

      var printReportOptions = new CrystalDecisions.ReportAppServer.Controllers.PrintReportOptions();

      var printOutputController = new CrystalDecisions.ReportAppServer.Controllers.PrintOutputController();

      ISCDReportClientDocument reportClientDocument;

      reportToPrint = new CrystalDecisions.CrystalReports.Engine.ReportDocument();



      reportClientDocument = _reportToPrint.ReportClientDocument;

      printReportOptions.PrinterName = printerName;

      printOutputController = reportClientDocument.PrintOutputController;



  • author's profile photo Former Member
    Former Member
    Posted on May 15, 2013 at 05:47 PM

    Hi Patrick,

    just curious - how do you create the maxicode barcodes in crystal?


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.