Sign In  Sign Up Live-Chat
Collapse/expand the left pane
Are you looking for an evaluation version of a product?
If so you can download any of the below versions for testing. The component will function as normal except for an evaluation limitation. At the time of purchase we provide a license file via email that will allow the component to work in its full capacity. If you would also like an evaluation license to test without any restrictions for 30 days, please follow the directions provided here.
NOTE:  If you experience errors like ’Internet explorer cannot display the web page’ is shown when you try to download a file, make sure your networking policies (enforced by your company or ISP) allow downloading ZIP and/or MSI files.

Aspose.BarCode for Java 1.0.0.0 New Release

File Details
Downloads: 13 File Size: 214.8kB
Posted By: iret Views: 269
Date Added: Mon, Apr 02 2007

Dear Customers,

We've released Aspose.BarCode for Java version 1.0.0!

Product features:

Aspose.BarCode for Java is a set of barcode generation tools built  for developers to add barcode functionalities in their Java applications or web deployments as Html, Jsp or Servlet pages.

  • Support 12 types of one dimensional barcode generations
  • BarCode size control. Auto Sizing, X-Dimension, BarHeight
  • Borders and Margins settings
  • Rotation at any angle
  • Captions for custom labels drawn along with barcodes.
  • Foreground and Background coloring settings
  • Save images to files in Gif, Png, Jpg, Jpeg, Bmp formats and more
  • Render barcode to Images, Printers, Graphics Objects, Http servlet response

Supported BarCode symbologies:

  • Code 128
  • Code 39 Standard
  • Code 39 Extended
  • Code 93 Standard
  • Code 93 Extended
  • Code 11
  • Interleaved 2 of 5
  • Standard 2 of 5
  • MSI
  • Codabar
  • UPCA
  • UPCE

Demos:

  • Save barcode image to files

Code

  //Instantiate barcode object
  BarCodeBuilder bb = new BarCodeBuilder();
  //Set up barcode symbology
  bb.setSymbology(Symbology.CODE128);
  //Set up code text (data to encode)
  bb.setCodeText("12345678");
  try
  {
      //Save image to c:\ in jpg format
      bb.save("c:\\test.jpg", "jpg");
  }
  catch(Exception ex)
  {
      ex.printStackTrace();
  }

Output:

  • Render barcode to Grphics Objects:

Code:

 public void paint(Graphics g)
 {
  BarCodeBuilder b = new BarCodeBuilder();
  b.setSymbology(Symbology.CODE128);
  b.setCodeText("12345678");
  //Rotate the image for 45 degrees
  b.setRotationAngle(45);
  b.render(g);
 }

Snapshot:

  • Render to Servlet pages

Code:

public class ServletSample extends HttpServlet
{
 private static final long serialVersionUID = 1L;
 public void doGet(HttpServletRequest request, HttpServletResponse response)
  throws IOException, ServletException
 {
  BarCodeBuilder b = new BarCodeBuilder();
  b.setSymbology(Symbology.CODE128);
  b.setCodeText("12345678");
  b.render(response);
 }
}

Develop Plans:

We are planning to add barcode recognition features and more barcode symbologies including two dimensional barcodes in the future. One dimensional barcode recognition feature is our next stop.

Comments
No comments exist for this file.