Barcode Fonts, Components, ActiveX and .NET Windows Forms Controls, Java Servlets, 
DLLs and Barcode Scanners. IDAutomation.com, Inc. is a BBB Accredited Business. Click for the BBB Business Review of this Computers Hardware, Software & Services in Tampa FL
Contact IDAutomationView your cart in the IDAutomation Store
Loading
Home > Products > Implementation Guide > Streaming Barcode Images in Crystal Reports

Streaming Images into Crystal Reports

Embedding dynamic barcodes into Crystal Reports versions XI and above can be done without installing components on any client machines, provided all report-running machines can access the IDAutomation streaming web component from the server right into the Crystal Report.

Streaming Dynamic Barcodes in Java

When generating barcodes on large reports, latency may cause a slow-down in report generation. If this issue is experienced, consider implementing the server-side ASP Barcode Server for IIS or the IDAutomation Java Barcode Package on the local machine that is generating the reports. Additionally, many other Crystal Barcode Integration options are available that do not have latency issues.

  1. Order a one year subscription to the Dynamic Barcode Image Generator Service or use the free and fully-functional demo. 2D barcode types such as Aztec, PDF417, DataMatrix and MaxiCode are only available in the purchased product. Alternatively, the following barcode streaming products may be implemented on your own web server:
  2. The Java package servlet is used in this example. However, for testing purposes and evaluation, the Dynamic Barcode Generator Service may also be used without installing any software. Simply replace http://trl:7001/servlet/LinearServlet?BARCODE= with http://www.bcgen.com/demo/linear-dbgs.aspx?Format=jpeg&BARCODE= in the examples provided.
  3. In the Crystal Report, click on Insert from the file menu and select OLE Object.

    Click Insert From the File Menu and Select OLE Object
     
  4. Select Bitmap image in the Insert Object dialogue box and click OK.

    Select Bitmap Image in the Insert Object Dialogue Box and Click OK
     
  5. Position and size the object to meet the needs of the report. (NOTE: When the object is dropped onto the report designer, the object will be in "Edit" mode. Simply click off of the object to return to the Report Design Mode.)
  6. Select the object and click on Format - Graphic Properties from the file menu.
  7. Select Picture from the list of tabs, and then click on the Graphic Location icon.

    Select the Picture Tab and Click on the Graphic Location Icon
     
  8. In the formula window, enter the URL address of the streaming server and append the appropriate parameters to ensure the JPEG file type is created, as well as field that needs to be encoded and any other necessary parameters. The following examples encode {Table1.id} within the barcode that is streamed into the report:

    "http://trl:7001/servlet/LinearServlet?BARCODE="+{Table1.id}+"&CODE_TYPE=CODE39"

    BCGEN Example:
    "http://www.bcgen.com/demo/linear-dbgs.aspx?Format=jpeg&BARCODE="+{Table1.id}+"&CODE_TYPE=CODE39"

    Enter the URL address of the Servlet in the Formula Editor.
     
  9. Save and Close the Format Function window.

To sign up for monthly updates about new products or upgrades, please click here. © Copyright 2012 IDAutomation.com, Inc., All Rights Reserved. Legal Notices.

 Barcode Fonts | Components | Scanners | Support | Contact Us


70% of Fortune 100 Company's use IDAutomation Products.