Using Aspose.BarCode API you can create DataMatix barcode. Aspose.BarCode API also enables you to set, manage and control the appearance of the code text. Please follow the links for details.
Thank you for your feedback. I want to text to appear to the right of the DataMatrix as I showed in original comment. Can you please help me. Also how can I have my image little bigger so that the 4 parameters which I print are on one line each. for e.g.
The feature that you are looking for is not available. Currently, Aspose.BarCode supports barcode text locations above and below. There is also a third type called NONE to hide the barcode text.
We have created a feature request in our system with ID BARCODJAVA-33635. Our product team will further look into it. We will update you about the progress via this thread.
Thank you for your cooperation. If I can have that feature it will make a big difference, usually it takes how long for this feature to be added to your software. One another question I have is if you see my attached image i have 4 parameters that need to be printed into the data matrix accordin to GS1 standard for pharmaceutical products. Now my question is if I dont want those Human readable text to not be included in the data matrix what i need to do. i mean i dont want the text GTN,Lot,Serial,Date to encode in the 2d data marix. I will appreciate your help if you can please help me.
1. We have logged the request into our system. Now the process is that our product team will properly analyze the request and its feasibility to work on, bring it on our road map and announce estimated ETA. Currently the request is pending with other priority tasks in the queue.
2. Regarding text GTN, Lot, Serial and Date not to be encode in the 2D DataMatrix barcode issue, Aspose.BarCode for JAVA exposes two different properties for barcode text and barcode caption. You can set the barcode text as per your requirement and set the code location to none to hide the text code. On the other hand you can define the caption text and its location. Following is the sample code snippet demonstrating how to use barcode text and barcode caption properties.
BarCodeBuilder objBuilder = new BarCodeBuilder(); objBuilder.setSymbologyType(com.aspose.barcode.Symbology.DataMatrix);
objBuilder.setCodeText("1234567890"); objBuilder.setCodeLocation(CodeLocation.None); //To show caption text Above the barcode
objBuilder.getCaptionAbove().setVisible(true); objBuilder.getCaptionAbove().setText("GTIN: 03453120000011"); objBuilder.getCaptionAbove().setTextAlign(com.aspose.barcode.StringAlignment.Near); //To show caption text below the barcode //objBuilder.getCaptionBelow().setVisible(true); //objBuilder.getCaptionBelow().setText("GTIN: 03453120000011"); //objBuilder.getCaptionBelow().setTextAlign(com.aspose.barcode.StringAlignment.Near);
objBuilder.save("test_datamatrix.jpg");
Hope the above information helps. Feel free to reach us in case you have any query or comments.
Can you please give me a rough estimate time when I should expect this feature which you mentioned has been logged into your system. This feature is the core requirement for me to use your software.
This issue has been planned for Aspose.Barcode for Java 7.9.0 which is expected to be released at the end of next month. We will update you as soon as it is released.