You can subscribe to this list here.
2004 |
Jan
|
Feb
(2) |
Mar
(2) |
Apr
(11) |
May
(1) |
Jun
(6) |
Jul
(2) |
Aug
(7) |
Sep
(8) |
Oct
(12) |
Nov
(15) |
Dec
(7) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(3) |
Feb
(2) |
Mar
(6) |
Apr
(22) |
May
(4) |
Jun
(8) |
Jul
(2) |
Aug
|
Sep
(19) |
Oct
(2) |
Nov
(10) |
Dec
(13) |
2006 |
Jan
(17) |
Feb
(12) |
Mar
(13) |
Apr
(17) |
May
(9) |
Jun
(7) |
Jul
(9) |
Aug
(21) |
Sep
|
Oct
(2) |
Nov
(14) |
Dec
(12) |
2007 |
Jan
(11) |
Feb
(10) |
Mar
(14) |
Apr
(159) |
May
(25) |
Jun
(21) |
Jul
(14) |
Aug
(1) |
Sep
(5) |
Oct
(8) |
Nov
(16) |
Dec
(7) |
2008 |
Jan
(9) |
Feb
(12) |
Mar
(15) |
Apr
(9) |
May
(31) |
Jun
(10) |
Jul
(3) |
Aug
(9) |
Sep
(16) |
Oct
(5) |
Nov
(19) |
Dec
(14) |
2009 |
Jan
(13) |
Feb
(16) |
Mar
(15) |
Apr
(23) |
May
(21) |
Jun
(16) |
Jul
(1) |
Aug
(7) |
Sep
(3) |
Oct
|
Nov
(9) |
Dec
(3) |
2010 |
Jan
(4) |
Feb
(16) |
Mar
(10) |
Apr
(5) |
May
|
Jun
(12) |
Jul
|
Aug
(22) |
Sep
(19) |
Oct
(8) |
Nov
(23) |
Dec
(10) |
2011 |
Jan
(17) |
Feb
(2) |
Mar
(8) |
Apr
(24) |
May
(11) |
Jun
(8) |
Jul
(8) |
Aug
(5) |
Sep
(2) |
Oct
(8) |
Nov
(3) |
Dec
(13) |
2012 |
Jan
(11) |
Feb
(9) |
Mar
(16) |
Apr
(7) |
May
(13) |
Jun
(4) |
Jul
(5) |
Aug
(18) |
Sep
(7) |
Oct
(3) |
Nov
(3) |
Dec
|
2013 |
Jan
|
Feb
(3) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(2) |
2014 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(2) |
Jun
|
Jul
(1) |
Aug
|
Sep
(9) |
Oct
|
Nov
(1) |
Dec
|
2015 |
Jan
(1) |
Feb
(1) |
Mar
(2) |
Apr
|
May
|
Jun
(1) |
Jul
(1) |
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
2016 |
Jan
|
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
(1) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
2019 |
Jan
(2) |
Feb
|
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Markus R. <Mar...@gm...> - 2019-04-29 12:50:43
|
please excuse, now the mail in plain text... i want to generate QRCodes for my pdfs unsing fop-servlet as tomcat webapp. so far i am using - barcode4j 2.0, - fop 1.1. - running a fop servlet in tomcat 8 with java-sun version 8 on my ubuntu server. i can produce code39 codes. this is the code i am using at the moment to generate my code39 barcode: <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:java="http://xml.apache.org/xslt/java" exclude-result-prefixes="java" xmlns:barcode="org.krysalis.barcode4j.xalan.BarcodeExt" extension-element-prefixes="barcode"> <!-- ..... --> <fo:block text-align="end"> <fo:instream-foreign-object> <xsl:variable name="barcode-cfg"> <barcode> <code39> <height>113.5mm</height> <!-- wide-factor>6.75</wide-factor --> <module-width>0.3mm</module-width> <interchar-gap-width>4mw</interchar-gap-width> <quite-zone enabled="true">30mw</quite-zone> <human-readable> <placement>none</placement> </human-readable> </code39> </barcode> </xsl:variable> <xsl:copy-of select="barcode:generate($barcode-cfg, /Order/ticket/id)" /> </fo:instream-foreign-object> </fo:block> <!-- .... --> i get a pdf with code39 barcode, works pretty well since many years. i now want to generate qrcodes. i have installed barcode4j trunk (svn version 372). run ant and copied the barcode4j jars in my lib dir together with zxing-core-1.7.jar there are all the jars in the lib dir. avalon-framework-4.2.0.jar barcode4j-fop-ext-complete.jar [barcode4j-fop-ext.jar barcode4j.jar] barcode4j-xgc.jar batik-all-1.7.jar commons-io-1.3.1.jar commons-logging-1.0.4.jar fop.jar xalan-2.7.0.jar xercesImpl-2.7.1.jar xml-apis-1.3.04.jar xml-apis-ext-1.3.04.jar xmlgraphics-commons-1.5.jar zxing-core-1.7.jar with the following code i can generate an qrcode and code39 barcode (with the default params) i get a pdf with both barcodes <fo:block text-align="end"> <fo:instream-foreign-object> <barcode:barcode xmlns:barcode="http://barcode4j.krysalis.org/ns" message="123123" > <barcode:qr/> </barcode:barcode> </fo:instream-foreign-object> <fo:instream-foreign-object> <barcode:barcode xmlns:barcode="http://barcode4j.krysalis.org/ns" message="123123" > <barcode:code39> </barcode:code39> </barcode:barcode> <!-- </xsl:variable> <xsl:copy-of select="barcode:generate($barcode-cfg, /Order/ticket/id)" /> --> </fo:instream-foreign-object> </fo:block> BUT i can not define any options like height, width etc. when i try to use <barcode:barcode xmlns:barcode="http://barcode4j.krysalis.org/ns" message="123123" > <barcode:code39> <height>45mm</height> </barcode:code39> </barcode:barcode> i get a blank page, even with <barcode:height>. no pdf is generated! what is missing? why can't i set any options to generate the barcode? and second questoin: how can i use <xsl:copy-of select="barcode:generate($barcode-cfg, /Order/ticket/id)" /> i need to access the barcode-value from my xml file. with barcode2.0 the barcode-cfg and barcode:generate is working. with versin 2.1trunk it seems not to work anymore Thanxs Markus |
From: Markus R. <Mar...@gm...> - 2019-04-29 12:14:45
|
<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>i want to generate QRCodes for my pdfs unsing fop-servlet as tomcat webapp.</div> <div> </div> <div>so far i am using</div> <div> </div> <div>- barcode4j 2.0,</div> <div>- fop 1.1.</div> <div>- running a fop servlet in tomcat 8 with java-sun version 8 on my ubuntu server.</div> <div> </div> <div>i can produce code39 codes. this is the code i am using at the moment to generate my code39 barcode:</div> <div> </div> <div> <div><xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"<br/> xmlns:fo="http://www.w3.org/1999/XSL/Format"<br/> xmlns:java="http://xml.apache.org/xslt/java" exclude-result-prefixes="java"<br/> xmlns:barcode="org.krysalis.barcode4j.xalan.BarcodeExt"<br/> extension-element-prefixes="barcode"></div> <div><!-- ..... --></div> <div> <div><fo:block text-align="end"><br/> <fo:instream-foreign-object><br/> <xsl:variable name="barcode-cfg"><br/> <barcode><br/> <code39><br/> <height>113.5mm</height><br/> <!-- wide-factor>6.75</wide-factor --><br/> <module-width>0.3mm</module-width><br/> <interchar-gap-width>4mw</interchar-gap-width><br/> <quite-zone enabled="true">30mw</quite-zone><br/> <human-readable><br/> <placement>none</placement><br/> </human-readable><br/> </code39><br/> </barcode><br/> </xsl:variable><br/> <xsl:copy-of select="barcode:generate($barcode-cfg, /Order/ticket/id)" /><br/> </fo:instream-foreign-object><br/> </fo:block></div> <div><!-- .... --></div> <div> </div> <div>i get a pdf with code39 barcode, works pretty well since many years.</div> <div> </div> <div> </div> <div>i now want to generate qrcodes. i have installed barcode4j trunk (svn version 372). run ant and copied the barcode4j jars in my lib dir<br/> together with zxing-core-1.7.jar</div> <div> </div> <div>there are all the jars in the lib dir.</div> <div> <div> </div> <div>avalon-framework-4.2.0.jar<br/> barcode4j-fop-ext-complete.jar<br/> [barcode4j-fop-ext.jar<br/> barcode4j.jar]<br/> barcode4j-xgc.jar<br/> batik-all-1.7.jar<br/> commons-io-1.3.1.jar<br/> commons-logging-1.0.4.jar<br/> fop.jar<br/> xalan-2.7.0.jar<br/> xercesImpl-2.7.1.jar<br/> xml-apis-1.3.04.jar<br/> xml-apis-ext-1.3.04.jar<br/> xmlgraphics-commons-1.5.jar<br/> zxing-core-1.7.jar</div> <div> </div> <div>with the following code i can generate an qrcode and code39 barcode (with the default params)</div> <div>i get a pdf with both barcodes</div> <div> </div> <div> <div><fo:block text-align="end"><br/> <fo:instream-foreign-object></div> <div> <barcode:barcode<br/> xmlns:barcode="http://barcode4j.krysalis.org/ns"<br/> message="123123" ><br/> <barcode:qr/><br/> </barcode:barcode><br/> </fo:instream-foreign-object><br/> <fo:instream-foreign-object><br/> <barcode:barcode<br/> xmlns:barcode="http://barcode4j.krysalis.org/ns"<br/> message="123123" ><br/> <barcode:code39><br/> </barcode:code39><br/> </barcode:barcode><br/> <!-- </xsl:variable><br/> <xsl:copy-of select="barcode:generate($barcode-cfg, /Order/ticket/id)" /><br/> --></div> <div> </fo:instream-foreign-object><br/> </fo:block></div> <div> </div> </div> <div> </div> <div> </div> <div>BUT i can not define any options like height, width etc.</div> <div> </div> <div>when i try to use</div> <div> </div> <div> <barcode:barcode<br/> xmlns:barcode="http://barcode4j.krysalis.org/ns"<br/> message="123123" ><br/> <barcode:code39></div> <div> <height>45mm</height><br/> </barcode:code39><br/> </barcode:barcode></div> <div> </div> <div>i get a blank page, even with <barcode:height>. no pdf is generated!</div> <div> </div> <div> </div> <div>what is missing? why can't i set any options to generate the barcode?</div> <div> </div> <div>and second questoin:</div> <div> </div> <div>how can i use</div> <div> </div> <div> <div><xsl:copy-of select="barcode:generate($barcode-cfg, /Order/ticket/id)" /></div> <div> </div> <div>i need to access the barcode-value from my xml file. with barcode2.0 the barcode-cfg and barcode:generate is working. with versin 2.1trunk it seems not to work anymore</div> <div> </div> <div> </div> <div>Thanxs</div> <div> </div> <div>Markus</div> <div> </div> </div> <div> </div> </div> </div> </div></div></body></html> |
From: Dave G. <dav...@ms...> - 2019-01-07 11:39:11
|
The library only needs a compatible version of Java rather than any specific operating system. It’s included in my project and that runs under Windows, MacOS and Linux. I am using Java 8 www.commander4j.com<http://www.commander4j.com> Please consider your environmental responsibility before printing emails. On 3 Jan 2019, at 14:21, Marcio Tott <Mar...@no...<mailto:Mar...@no...>> wrote: Hi, I need to install the Barcode4J on Linux (.el6uek.x86_64 – Ver.6 – 64bits) Is it possible? How should I proceed? Thank you! Regards. <image001.png> Marcio Tott EBS Developer | Walar IT Business mar...@no...<mailto:mar...@no...> mar...@wa...<mailto:mar...@wa...> 保密通知本邮件内容(包括正文及其附件,下同)属于保密信息,并可能包含发件人的知识产权和/或受法律保护的其他信息。如果您不是收件人,请勿复制、转发、打印、存储或使用任何部分或全部邮件内容。任何披露,复制,分发或使用本邮件内容均受到严格禁止。如果您无意收悉本邮件,请从您的系统中永久删除该邮件,并立即通过发件人电子邮件签名中的电话号码或本邮件地址通知发件人。 Confidentiality Notice: This transmission, and any attachment(s), are intended exclusively for the individual or entity to which this transmission is addressed and may contain information that is confidential, privileged and/or proprietary, or otherwise exempt from disclosure. If you are not the intended recipient or an employee or agent responsible for delivering this transmission to the intended recipient, please be aware that you are not authorized to read, print, copy, disseminate, distribute, or use any information contained in or attached to this transmission, or any part of it, and any disclosure, copying, distribution, or use of the information contained in or attached to this transmission is STRICTLY PROHIBITED. If you have received this in error, please notify the sender immediately by telephone at the phone number in the sender’s email signature or by return e-mail, and please destroy the original transmission, and its attachments, and all copies, without reading or saving in any manner. _______________________________________________ Barcode4j-users mailing list Bar...@li...<mailto:Bar...@li...> https://lists.sourceforge.net/lists/listinfo/barcode4j-users |
From: Marcio T. <Mar...@no...> - 2019-01-03 14:40:33
Attachments:
image001.png
|
Hi, I need to install the Barcode4J on Linux (.el6uek.x86_64 - Ver.6 - 64bits) Is it possible? How should I proceed? Thank you! Regards. [Descrição: Descrição: cid:image001.png@01D1073B.1AE5FCC0] Marcio Tott EBS Developer | Walar IT Business mar...@no...<mailto:mar...@no...> mar...@wa...<mailto:mar...@wa...> ?????????(????????,??)??????,??????????????/????????????????????,????????????????????????????????,??,????????????????????????????,??????????????,???????????????????????????????? Confidentiality Notice: This transmission, and any attachment(s), are intended exclusively for the individual or entity to which this transmission is addressed and may contain information that is confidential, privileged and/or proprietary, or otherwise exempt from disclosure. If you are not the intended recipient or an employee or agent responsible for delivering this transmission to the intended recipient, please be aware that you are not authorized to read, print, copy, disseminate, distribute, or use any information contained in or attached to this transmission, or any part of it, and any disclosure, copying, distribution, or use of the information contained in or attached to this transmission is STRICTLY PROHIBITED. If you have received this in error, please notify the sender immediately by telephone at the phone number in the sender's email signature or by return e-mail, and please destroy the original transmission, and its attachments, and all copies, without reading or saving in any manner. |
From: Arkadiusz W. <ark...@co...> - 2017-11-14 10:54:08
|
Hi, I want to use barcode4J to create barcode image files with transparent background so I could place them on different spaces like colorful background on website. I have already checked mailing list history, but proposed solution ("pass BufferedImage.TYPE_INT_ARGB as argument to the "imageType"") is not working for me, at least with such usage: Code128Bean bean =new Code128Bean(); final int dpi =300; File outputFile =new File("barcode.bmp"); OutputStream out =new FileOutputStream(outputFile); try { BitmapCanvasProvider provider =new BitmapCanvasProvider(out, "image/bmp", dpi, BufferedImage.TYPE_INT_ARGB, false, 0); bean.generateBarcode(provider, "123456789"); provider.finish(); }finally { out.close(); } I'm not sure if I've made a mistake or maybe there is some other option to have result I need. Please advise. I’m looking forward to your reply. Best regards, Arkadiusz Wołk Software Engineer skype sharub |
From: MANISH P. <MAN...@ho...> - 2017-02-08 13:18:30
|
Hello Experts, We have a Apache FOP implementation working correctly on Linux Server. But We are having an issue producing QR Codes in Apache FOP (Version 0.95) using barcode4j-2.0 and zxing. While creating QR Code, it throws ConfigurationException. It seems that something's wrong with the configuration. Here's an example (XSL-FO snippet): <fo:block> <fo:instream-foreign-object> <barcode:barcode xmlns:barcode="http://barcode4j.krysalis.org/ns" message="QR Test"> <barcode:qr> <barcode:module-width>0.352777mm</barcode:module-width> <barcode:quiet-zone enabled="true">4mw</barcode:quiet-zone> <barcode:encoding>ISO-8859-1</barcode:encoding> <barcode:ec-level>M</barcode:ec-level> </barcode:qr> </barcode:barcode> </fo:instream-foreign-object> </fo:block> Error: org.krysalis.barcode4j.BarcodeException: No barcode configuration element not found Could you please help to resolve this issue? Thanks Regards, Manish |
From: Robin R. <ro...@go...> - 2017-01-21 10:04:25
|
From: Chuck B. <chu...@ya...> - 2016-08-22 18:21:11
|
Why is it the javadoc for barcode4j 2.1 clearly includes a package for the QRCodeBean yet the barcode4j jar file that is distributed with version 2.1 does not include the package org.krysalis.barcode4j.impl.qr at all??? :-( http://barcode4j.sourceforge.net/trunk/javadocs/index.html |
From: David G. <dav...@co...> - 2016-07-22 21:21:56
Attachments:
signature.asc
|
I have done it, the code which you will have to extract from my code, however, fundamentally it’s done using Barcode4j and JasperReports. http://www.commander4j.com <http://www.commander4j.com/> The home page shows a report on screen which is produced with Barcode4j and JasperReports. Hope that helps. Dave > On 22 Jul 2016, at 21:48, Andrei Simion <as...@gm...> wrote: > > Hi, > > I am trying to embed a Barcode in an pdf document. I am using xsl fo. I want to use data from the xsl document I generate the pdf from for the barcode. > > It seems that nobody had done this before. I don't see anything similar when Google it. > > Thanks, > Andrei > > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic > patterns at an interface-level. Reveals which users, apps, and protocols are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity planning > reports.http://sdm.link/zohodev2dev_______________________________________________ <http://sdm.link/zohodev2dev_______________________________________________> > Barcode4j-users mailing list > Bar...@li... <mailto:Bar...@li...> > https://lists.sourceforge.net/lists/listinfo/barcode4j-users <https://lists.sourceforge.net/lists/listinfo/barcode4j-users> |
From: Andrei S. <as...@gm...> - 2016-07-22 20:48:23
|
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><style> body { font-family: "Calibri","Slate Pro",sans-serif,"sans-serif"; color:#262626 }</style> </head> <body lang="en-US"><div>Hi,</div><div><br></div><div>I am trying to embed a Barcode in an pdf document. I am using xsl fo. I want to use data from the xsl document I generate the pdf from for the barcode.</div><div><br></div><div>It seems that nobody had done this before. I don't see anything similar when Google it.</div><div><br></div><div>Thanks, </div><div>Andrei</div><div><span style="font-family: Calibri, 'Slate Pro', sans-serif, sans-serif;"><br></span></div></body></html> |
From: - - <com...@e-...> - 2016-03-24 11:30:47
|
<!DOCTYPE html> <html><head> <meta charset="UTF-8"> </head><body><p>All the examples show the first number in an EAN13 barcode own the left outside the barcode, but the code examples do not produce it that way.</p><p>Can you tell me how to get this to show?</p><p><br></p><p>john</p></body></html> |
From: Mathieu B. <Mat...@te...> - 2016-02-08 21:25:11
|
Hello, I would like to know if there is plans to support GS1 Datamatrix barcode. I need to encore the FNC1 char in first position to get the ]d2 symbology ID. Any know workarounds? Thanks a lot in advance! Mathieu |
From: Stefano L. <spa...@gm...> - 2015-10-12 12:57:19
|
Hi, I would like to generate an Interleave 2 of 5 barcode of this number: 2760105400073444013597 but I get this exception: *barcode too long, throw an exception * If I submit a shorter number it works. Any advice? Thanks Stefano Leone |
From: <Die...@ts...> - 2015-07-27 08:18:58
|
Hi Xiaofeng, the easiest way is to insert a check digit marker in your data. objEAN128Bean.generateBarcode(canvas, "410000061000034" + objEAN128Bean.getCheckDigitMarker() + "412000001101593"); (I didn't test this code, but I keep my fingers crossed) See documentation in http://barcode4j.sourceforge.net/2.1/symbol-ean-128.html and http://barcode4j.sourceforge.net/trunk/javadocs/org/krysalis/barcode4j/impl/code128/EAN128Bean.html#getCheckDigitMarker() Another way would be to insert objEAN128Bean.getGroupSeparator() at the same position. BTW EAN128Bean also has an setTemplate() method. Good luck, Dietmar Xiaofeng Liu <liu...@gm...> schrieb am 23.06.2015 09:33:42: > Von: Xiaofeng Liu <liu...@gm...> > An: bar...@li... > Datum: 24.07.2015 14:58 > Betreff: [Barcode4j-users] Issue with generating EAN128 code using > Barcode4j for multiple sets of AI and data > > Hi folks, > > I'm using barcode4j to generate EAN128 barcode. > The barcode I need to generate contains multiple sets of Application > Identifiers and data, for example: > (410)000061000034(412)000001101593 > > The data length for both 410 and 412 is 13 characters. > I'm using add checksum mode, so as you can see in above example I > only intend to provide 12 characters as the data for each AI and > would expect a checksum digit would be calculated and automatically appended. > > However by using below code, it does NOT generate the correct code for me: > > dpi = 200; > // barcode > > objEAN128Bean.setModuleWidth(0.21); > objEAN128Bean.setHeight(15); > // objEAN128Bean.setWideFactor(3); > objEAN128Bean.doQuietZone(true); > objEAN128Bean.setQuietZone(2); > // human-readable > objEAN128Bean.setFontName("Helvetica"); > objEAN128Bean.setFontSize(3); > > // checksum > objEAN128Bean.setChecksumMode(objCheckSum.CP_ADD); > > BitmapCanvasProvider canvas = new BitmapCanvasProvider(out, > "image/jpeg", dpi, BufferedImage.TYPE_BYTE_BINARY, true, 0); > objEAN128Bean.generateBarcode(canvas, "410000061000034412000001101593"); > canvas.finish(); > > It looks like the barcode4j does NOT know where the data of the > first AI (410) ends and thus does NOT correctly identify the second > set of AI and data. > > I found there is a way to do it by using the XML approach specifyingsth like: > <template>(410)n12+cd1(412)n12+cd1</template> > > I'm just wondering if anyone knows a solution by using the Java beanapproach? > > Any help and shed of light would be much appreciated! > > -- > Best regards, > > Xiaofeng > ------------------------------------------------------------------------------ > > _______________________________________________ > Barcode4j-users mailing list > Bar...@li... > https://lists.sourceforge.net/lists/listinfo/barcode4j-users |
[Barcode4j-users] Issue with generating EAN128 code using Barcode4j
for multiple sets of AI and data
From: Xiaofeng L. <liu...@gm...> - 2015-06-23 07:33:49
|
Hi folks, I'm using barcode4j to generate EAN128 barcode. The barcode I need to generate contains multiple sets of Application Identifiers and data, for example: (410)000061000034(412)000001101593 The data length for both 410 and 412 is 13 characters. I'm using add checksum mode, so as you can see in above example I only intend to provide 12 characters as the data for each AI and would expect a checksum digit would be calculated and automatically appended. However by using below code, it does NOT generate the correct code for me: dpi = 200; // barcode objEAN128Bean.setModuleWidth(0.21); objEAN128Bean.setHeight(15); // objEAN128Bean.setWideFactor(3); objEAN128Bean.doQuietZone(true); objEAN128Bean.setQuietZone(2); // human-readable objEAN128Bean.setFontName("Helvetica"); objEAN128Bean.setFontSize(3); // checksum objEAN128Bean.setChecksumMode(objCheckSum.CP_ADD); BitmapCanvasProvider canvas = new BitmapCanvasProvider(out, "image/jpeg", dpi, BufferedImage.TYPE_BYTE_BINARY, true, 0); objEAN128Bean.generateBarcode(canvas, "410000061000034412000001101593"); canvas.finish(); It looks like the barcode4j does NOT know where the data of the first AI (410) ends and thus does NOT correctly identify the second set of AI and data. I found there is a way to do it by using the XML approach specifying sth like: *<template>(410)n12+cd1(412)n12+cd1</template>* I'm just wondering if anyone knows a solution by using the Java bean approach? Any help and shed of light would be much appreciated! -- Best regards, Xiaofeng |
From: David G. <dav...@co...> - 2015-03-03 11:03:34
|
Great - thanks for the reply. I do use XML in my project to define the format of the EAN-128 application identifiers and FNC1’s My application is just Java Swing and I use your library to return an image which I then embed in a JasperReport. Thanks Dave > On 3 Mar 2015, at 10:47, Jeremias Maerki <de...@je...> wrote: > > Hi David > > Avalon Framework is used by Barcode4J to handle barcode configuration > from XML. While Avalon Framework is no longer in development, it does > its job. Note also that Avalon Framework is essentially an optional > dependency at runtime and is really only used if you configure Barcode4J > through XML. If you use the Bean API [1], Avalon Framework is not > required (as noted in the documentation). "barcode4j-light.jar" has no > dependency on Avalon Framework. Apache FOP, for which I originally wrote > Barcode4J, is also still using Avalon Framework. > > [1] http://barcode4j.sourceforge.net/2.1/embedding-bean.html > > You asked me in a private message about Java 8 compatibility: Barcode4J > (and Avalon Framework) works fine with Java 8. > > Currently, I have no immediate plans to work on Barcode4J due to other > priorities. I use Barcode4J in production in many of my projects and it > does what I need it to do. I know that's kind of egoistic but spare time > is rare these days. > > Cheers, > Jeremias Maerki > > > On 15.02.2015 11:24:45 David Garratt wrote: >> I use barcode4j in my own open source project. Ive recently been going through all the libraries that I reference to make sure they are all up to date. It appears that the Avalon Project is (has been) parked for some time and wont be developed further. As I use the barcode4j library in my Java Swing based client application I need it and I was wondering what implications that this might have for barcode4j support in the future. At the moment my project http://www.commander4j.com <http://www.commander4j.com/> is based on Java 7 and I use barcode4j within my jasper reports. Its brilliant. >> >> Can some shed any light on the future of barcode4j and this issue with obsolete dependencies. >> >> Many thanks >> >> Dave > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Barcode4j-users mailing list > Bar...@li... > https://lists.sourceforge.net/lists/listinfo/barcode4j-users |
From: Jeremias M. <de...@je...> - 2015-03-03 11:00:17
|
Hi David Avalon Framework is used by Barcode4J to handle barcode configuration from XML. While Avalon Framework is no longer in development, it does its job. Note also that Avalon Framework is essentially an optional dependency at runtime and is really only used if you configure Barcode4J through XML. If you use the Bean API [1], Avalon Framework is not required (as noted in the documentation). "barcode4j-light.jar" has no dependency on Avalon Framework. Apache FOP, for which I originally wrote Barcode4J, is also still using Avalon Framework. [1] http://barcode4j.sourceforge.net/2.1/embedding-bean.html You asked me in a private message about Java 8 compatibility: Barcode4J (and Avalon Framework) works fine with Java 8. Currently, I have no immediate plans to work on Barcode4J due to other priorities. I use Barcode4J in production in many of my projects and it does what I need it to do. I know that's kind of egoistic but spare time is rare these days. Cheers, Jeremias Maerki On 15.02.2015 11:24:45 David Garratt wrote: > I use barcode4j in my own open source project. Ive recently been going through all the libraries that I reference to make sure they are all up to date. It appears that the Avalon Project is (has been) parked for some time and wont be developed further. As I use the barcode4j library in my Java Swing based client application I need it and I was wondering what implications that this might have for barcode4j support in the future. At the moment my project http://www.commander4j.com <http://www.commander4j.com/> is based on Java 7 and I use barcode4j within my jasper reports. Its brilliant. > > Can some shed any light on the future of barcode4j and this issue with obsolete dependencies. > > Many thanks > > Dave |
From: David G. <dav...@co...> - 2015-02-15 10:52:02
|
I use barcode4j in my own open source project. I’ve recently been going through all the libraries that I reference to make sure they are all up to date. It appears that the Avalon Project is (has been) parked for some time and won’t be developed further. As I use the barcode4j library in my Java Swing based client application I need it and I was wondering what implications that this might have for barcode4j support in the future. At the moment my project http://www.commander4j.com <http://www.commander4j.com/> is based on Java 7 and I use barcode4j within my jasper reports. It’s brilliant. Can some shed any light on the future of barcode4j and this issue with obsolete dependencies. Many thanks Dave |
From: John K. <kou...@gm...> - 2015-01-03 23:04:25
|
Hello I am using FOP 1.1 w/ barcode4j.2.1. I cannot get the #page-number# functionality in the barcode message to work. It always returns 000. However, the rest of my PDF417 barcode works just fine. In a previous thread it was suggested to use FOP 1.0 and set the FOP configuration <prefer-renderer>true</prefer-renderer> to get the page-number substitution to work. I can get that to work. However, the same setting <prefer-renderer>true</prefer-renderer> will not work with FOP 1.1. When I researched the code it seems the PageInfo.fromProcessingHints() looks for page-number and page-name, which do not exist in the Map passed in from any of the ImageConverters, such as ImageConverterBarcode2G2D. The documentation says these should come from the xmlgraphics-commons library. However, even with TRUNK versions of FOP and xmlgraphics-commons, I do not see anywhere where these properties are set. Does fop 1.1 currently support the #page-number# replacement in any fashion? Please Advise John Kouris |
From: Saurabh M. <sa...@gm...> - 2014-11-06 12:54:14
|
Hi I am trying to print say 9 digits out of 10 digits sent as message to generateBarcode() method. I am seeing 123456789#0 Though using the pattern _________# I should have got 123456789. I wonder if its an issue with encoding of # in java using new DefaultConfiguration("pattern"), which is not letting it parse as a skip character and instead as a usual '#'. Please let me know how to solve it. Thanks. |
From: Chris U. <ch...@do...> - 2014-09-10 14:58:36
|
I am sorry but I have no other suggestions for you. -Chris On 9/10/14, 11:52 AM, "Leonardo Reale" <lr...@do...> wrote: >I removed but nothing, the same issue. > > Exception in thread "main" java.lang.IllegalArgumentException: >Can't find a symbol arrangement that matches the message. Data codewords: >50 > >Here are the configurations: > ><?xml version='1.0' encoding='UTF-8'?> ><barcode> > <datamatrix> > <module-width>1.00mm</module-width> > <quiet-zone enabled="false"/> > <shape>force-rectangle</shape> > <font-size>0pt</font-size> > </datamatrix> ></barcode> > >Leonardo >-----Original Message----- >From: Chris Ulbright [mailto:ch...@do...] >Sent: mercoledì 10 settembre 2014 16:42 >To: Leonardo Reale; bar...@li... >Subject: Re: [Barcode4j-users] Issue on datamatrix barcode generation > >Leonardo, > >Why don’t you try removing both <min-symbol-size/> and <max-symbol-size/> >(these are both optional) to see if the barcode can be rendered. > >Also, datamatrix has no human-readable part according to the >documentation so you may as well remove that portion of your XML. > >http://barcode4j.sourceforge.net/trunk/symbol-datamatrix.html > >-Chris Ulbright > >On 9/10/14, 11:23 AM, "Leonardo Reale" <lr...@do...> wrote: > >>I tried all thevalue that you sent me but nothing: >> >>Exception in thread "main" java.lang.IllegalArgumentException: Can't >>find a symbol arrangement that matches the message. Data codewords: 50 >> >>Exception in thread "main" java.lang.IllegalArgumentException: Can't >>find a symbol arrangement that matches the message. Data codewords: 27 >> >>The exception depend on the dimension that I set into the configurations. >> >>Leonardo >>-----Original Message----- >>From: Chris Ulbright [mailto:ch...@do...] >>Sent: mercoledì 10 settembre 2014 16:11 >>To: Leonardo Reale; bar...@li... >>Subject: Re: [Barcode4j-users] Issue on datamatrix barcode generation >> >>I think you need to increase the symbol size. You¹re currently limiting >>it to exactly 48x16. >> >>Here are the sizes that I have used; you can choose from these (height, >>width): >> >> 10, 10 >> 12, 12 >> 8, 18 >> 14, 14 >> 8, 32 >> 16, 16 >> 12, 26 >> 18, 18 >> 20, 20 >> 12, 36 >> 22, 22 >> 16, 36 >> 24, 24 >> 26, 26 >> 16, 48 >> 32, 32 >> 36, 36 >> 40, 40 >> 44, 44 >> 48, 48 >> 52, 52 >> 64, 64 >> 72, 72 >> 80, 80 >> 88, 88 >> 96, 96 >> 104, 104 >> 120, 120 >> 132, 132 >> 144, 144 >> >> >> >>On 9/10/14, 11:00 AM, "Leonardo Reale" <lr...@do...> wrote: >> >>>Can you tell me which is the right symbol size? >>> >>>I tried more more combination but nothing the issue remains the same >>>the only change is "Data codewords: 27" >>> >>>Thank's a lot >>>Leonardo >>> >>>-----Original Message----- >>>From: Chris Ulbright [mailto:ch...@do...] >>>Sent: mercoledì 10 settembre 2014 15:57 >>>To: Leonardo Reale; bar...@li... >>>Subject: Re: [Barcode4j-users] Issue on datamatrix barcode generation >>> >>>I believe your string is too large to be represented by the symbol >>>size that you specify. >>> >>>From: Leonardo Reale <lr...@do...<mailto:lr...@do...>> >>>Date: Wed, 10 Sep 2014 15:52:56 +0200 >>>To: >>>"bar...@li...<mailto:bar...@li... >>>u >>>rce >>>forge.net>" >>><bar...@li...<mailto:bar...@li... >>>u >>>rce >>>forge.net>> >>>Subject: [Barcode4j-users] Issue on datamatrix barcode generation >>> >>>Hi guys, today I'm trying to generate a datamatrix barcode with the >>>following string message: >>> >>>· >>>CHPITG11000811450014000000000100105900007125507e5a44a0aa9f247128689a50 >>>d >>>541 >>>e51dc >>> >>>Running the command line I getting the following exception: >>> >>>· Exception in thread "main" java.lang.IllegalArgumentException: >>>Can't find a symbol arrangement that matches the message. Data >>>codewords: >>>51 >>> >>>I tried to set new dimension using the configurations but the result >>>does not change. In the while we reduced the dimension of the string >>>message and the library works. >>>In the end I checked the string message on online barcode generator >>>and I checked that on those converters works fine. >>> >>>I would understand, with yours help, which can be the cause, if a >>>library bug or my string message. >>> >>>Here is my barcode configuration: >>> >>><?xml version='1.0' encoding='UTF-8'?> <barcode> >>> <datamatrix> >>> <module-width>0.5mm</module-width> >>> <quiet-zone enabled="false"/> >>> <shape>force-rectangle</shape> >>> <min-symbol-size>48x16</min-symbol-size> >>> <max-symbol-size>48x16</max-symbol-size> >>> <font-size>0pt</font-size> >>> <human-readable> >>> <placement>none</placement> >>> <font-size>0pt</font-size> >>> </human-readable> >>> </datamatrix> >>></barcode> >>> >>>Best regards >>> >>>[Description: image001] >>> >>>Leonardo Reale >>>R&D >>>Land: +39 059 88680 (166) >>>Mobile: +39 335 185 6720 >>> >>>lr...@do...<mailto:lr...@do...> >>>doxee.com<http://www.doxee.com/> >>>facebook.com/doxeeinc<http://www.facebook.com/doxeeinc> >>>@DoxeeInc<https://twitter.com/DoxeeInc> >>> >>> >>> >>> >>>Questo messaggio e-mail e qualsiasi suo allegato è strettamente >>>confidenziale e segreto. Se non siete i destinatari del messaggio, >>>siete avvertiti che qualsiasi uso o divulgazione di questa e-mail è >>>severamente proibito. Vi preghiamo di contattare il mittente e di >>>distruggere questo messaggio dal vostro sistema. Scusateci comunque >>>per l'eventuale disturbo arrecato. >>> >>>This e-mail and any attachment are secret and confidential. If you are >>>not the intended recipient, you are hereby notified that any use or >>>distribution of this e-mail is strictly prohibited. Please contact the >>>sender and delete this message from your system. >>>We apologize for eventual inconvenient raising from this. >>> >>> >>> >>> >>> >>>________________________________ >>>Doxee S.p.A. >>> >>>This e-mail and any attachment are secret and confidential. If you are >>>not the intended recipient, you are hereby notified that any use or >>>distribution of this e-mail is strictly prohibited. Please contact the >>>sender and delete this message from your system. We apologize for >>>eventual inconvenient raising from this. >>>---------------------------------------------------------------------- >>>- >>>--- >>>---- Want excitement? Manually upgrade your production database. When >>>you want reliability, choose Perforce Perforce version control. >>>Predictably reliable. >>>http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg. >>>c lkt rk_______________________________________________ >>>Barcode4j-users mailing list >>>Bar...@li...<mailto:Bar...@li...u >>>r >>>cef orge.net> >>>https://lists.sourceforge.net/lists/listinfo/barcode4j-users >>>________________________________ >>> >>>Confidentiality Notice: This communication (including any attachments) >>>may contain privileged or confidential information intended for a >>>specific individual and purpose, and is protected by law. If you are >>>not the intended recipient, you should delete this communication >>>and/or shred the materials and any attachments and are hereby notified >>>that any disclosure, copying, or distribution of this communication, >>>or the taking of any action based on it, is strictly prohibited. >>> >>> >>>Please consider the environment before printing this email. >>> >>>Doxee S.p.A. >>> >>>This e-mail and any attachment are secret and confidential. If you are >>>not the intended recipient, you are hereby notified that any use or >>>distribution of this e-mail is strictly prohibited. Please contact the >>>sender and delete this message from your system. We apologize for >>>eventual inconvenient raising from this. >> >> >>________________________________ >> >>Confidentiality Notice: This communication (including any attachments) >>may contain privileged or confidential information intended for a >>specific individual and purpose, and is protected by law. If you are >>not the intended recipient, you should delete this communication and/or >>shred the materials and any attachments and are hereby notified that >>any disclosure, copying, or distribution of this communication, or the >>taking of any action based on it, is strictly prohibited. >> >> >>Please consider the environment before printing this email. >> >>Doxee S.p.A. >> >>This e-mail and any attachment are secret and confidential. If you are >>not the intended recipient, you are hereby notified that any use or >>distribution of this e-mail is strictly prohibited. Please contact the >>sender and delete this message from your system. We apologize for >>eventual inconvenient raising from this. > > >________________________________ > >Confidentiality Notice: This communication (including any attachments) >may contain privileged or confidential information intended for a >specific individual and purpose, and is protected by law. If you are not >the intended recipient, you should delete this communication and/or shred >the materials and any attachments and are hereby notified that any >disclosure, copying, or distribution of this communication, or the taking >of any action based on it, is strictly prohibited. > > >Please consider the environment before printing this email. > >Doxee S.p.A. > >This e-mail and any attachment are secret and confidential. If you are >not the intended recipient, you are hereby notified that any use or >distribution of this e-mail is strictly prohibited. Please contact the >sender and delete this message from your system. We apologize for >eventual inconvenient raising from this. ________________________________ Confidentiality Notice: This communication (including any attachments) may contain privileged or confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this communication and/or shred the materials and any attachments and are hereby notified that any disclosure, copying, or distribution of this communication, or the taking of any action based on it, is strictly prohibited. Please consider the environment before printing this email. |
From: Leonardo R. <lr...@do...> - 2014-09-10 14:52:15
|
I removed but nothing, the same issue. Exception in thread "main" java.lang.IllegalArgumentException: Can't find a symbol arrangement that matches the message. Data codewords: 50 Here are the configurations: <?xml version='1.0' encoding='UTF-8'?> <barcode> <datamatrix> <module-width>1.00mm</module-width> <quiet-zone enabled="false"/> <shape>force-rectangle</shape> <font-size>0pt</font-size> </datamatrix> </barcode> Leonardo -----Original Message----- From: Chris Ulbright [mailto:ch...@do...] Sent: mercoledì 10 settembre 2014 16:42 To: Leonardo Reale; bar...@li... Subject: Re: [Barcode4j-users] Issue on datamatrix barcode generation Leonardo, Why don’t you try removing both <min-symbol-size/> and <max-symbol-size/> (these are both optional) to see if the barcode can be rendered. Also, datamatrix has no human-readable part according to the documentation so you may as well remove that portion of your XML. http://barcode4j.sourceforge.net/trunk/symbol-datamatrix.html -Chris Ulbright On 9/10/14, 11:23 AM, "Leonardo Reale" <lr...@do...> wrote: >I tried all thevalue that you sent me but nothing: > >Exception in thread "main" java.lang.IllegalArgumentException: Can't >find a symbol arrangement that matches the message. Data codewords: 50 > >Exception in thread "main" java.lang.IllegalArgumentException: Can't >find a symbol arrangement that matches the message. Data codewords: 27 > >The exception depend on the dimension that I set into the configurations. > >Leonardo >-----Original Message----- >From: Chris Ulbright [mailto:ch...@do...] >Sent: mercoledì 10 settembre 2014 16:11 >To: Leonardo Reale; bar...@li... >Subject: Re: [Barcode4j-users] Issue on datamatrix barcode generation > >I think you need to increase the symbol size. You¹re currently limiting >it to exactly 48x16. > >Here are the sizes that I have used; you can choose from these (height, >width): > > 10, 10 > 12, 12 > 8, 18 > 14, 14 > 8, 32 > 16, 16 > 12, 26 > 18, 18 > 20, 20 > 12, 36 > 22, 22 > 16, 36 > 24, 24 > 26, 26 > 16, 48 > 32, 32 > 36, 36 > 40, 40 > 44, 44 > 48, 48 > 52, 52 > 64, 64 > 72, 72 > 80, 80 > 88, 88 > 96, 96 > 104, 104 > 120, 120 > 132, 132 > 144, 144 > > > >On 9/10/14, 11:00 AM, "Leonardo Reale" <lr...@do...> wrote: > >>Can you tell me which is the right symbol size? >> >>I tried more more combination but nothing the issue remains the same >>the only change is "Data codewords: 27" >> >>Thank's a lot >>Leonardo >> >>-----Original Message----- >>From: Chris Ulbright [mailto:ch...@do...] >>Sent: mercoledì 10 settembre 2014 15:57 >>To: Leonardo Reale; bar...@li... >>Subject: Re: [Barcode4j-users] Issue on datamatrix barcode generation >> >>I believe your string is too large to be represented by the symbol >>size that you specify. >> >>From: Leonardo Reale <lr...@do...<mailto:lr...@do...>> >>Date: Wed, 10 Sep 2014 15:52:56 +0200 >>To: >>"bar...@li...<mailto:bar...@li... >>u >>rce >>forge.net>" >><bar...@li...<mailto:bar...@li... >>u >>rce >>forge.net>> >>Subject: [Barcode4j-users] Issue on datamatrix barcode generation >> >>Hi guys, today I'm trying to generate a datamatrix barcode with the >>following string message: >> >>· >>CHPITG11000811450014000000000100105900007125507e5a44a0aa9f247128689a50 >>d >>541 >>e51dc >> >>Running the command line I getting the following exception: >> >>· Exception in thread "main" java.lang.IllegalArgumentException: >>Can't find a symbol arrangement that matches the message. Data codewords: >>51 >> >>I tried to set new dimension using the configurations but the result >>does not change. In the while we reduced the dimension of the string >>message and the library works. >>In the end I checked the string message on online barcode generator >>and I checked that on those converters works fine. >> >>I would understand, with yours help, which can be the cause, if a >>library bug or my string message. >> >>Here is my barcode configuration: >> >><?xml version='1.0' encoding='UTF-8'?> <barcode> >> <datamatrix> >> <module-width>0.5mm</module-width> >> <quiet-zone enabled="false"/> >> <shape>force-rectangle</shape> >> <min-symbol-size>48x16</min-symbol-size> >> <max-symbol-size>48x16</max-symbol-size> >> <font-size>0pt</font-size> >> <human-readable> >> <placement>none</placement> >> <font-size>0pt</font-size> >> </human-readable> >> </datamatrix> >></barcode> >> >>Best regards >> >>[Description: image001] >> >>Leonardo Reale >>R&D >>Land: +39 059 88680 (166) >>Mobile: +39 335 185 6720 >> >>lr...@do...<mailto:lr...@do...> >>doxee.com<http://www.doxee.com/> >>facebook.com/doxeeinc<http://www.facebook.com/doxeeinc> >>@DoxeeInc<https://twitter.com/DoxeeInc> >> >> >> >> >>Questo messaggio e-mail e qualsiasi suo allegato è strettamente >>confidenziale e segreto. Se non siete i destinatari del messaggio, >>siete avvertiti che qualsiasi uso o divulgazione di questa e-mail è >>severamente proibito. Vi preghiamo di contattare il mittente e di >>distruggere questo messaggio dal vostro sistema. Scusateci comunque >>per l'eventuale disturbo arrecato. >> >>This e-mail and any attachment are secret and confidential. If you are >>not the intended recipient, you are hereby notified that any use or >>distribution of this e-mail is strictly prohibited. Please contact the >>sender and delete this message from your system. >>We apologize for eventual inconvenient raising from this. >> >> >> >> >> >>________________________________ >>Doxee S.p.A. >> >>This e-mail and any attachment are secret and confidential. If you are >>not the intended recipient, you are hereby notified that any use or >>distribution of this e-mail is strictly prohibited. Please contact the >>sender and delete this message from your system. We apologize for >>eventual inconvenient raising from this. >>---------------------------------------------------------------------- >>- >>--- >>---- Want excitement? Manually upgrade your production database. When >>you want reliability, choose Perforce Perforce version control. >>Predictably reliable. >>http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg. >>c lkt rk_______________________________________________ >>Barcode4j-users mailing list >>Bar...@li...<mailto:Bar...@li...u >>r >>cef orge.net> >>https://lists.sourceforge.net/lists/listinfo/barcode4j-users >>________________________________ >> >>Confidentiality Notice: This communication (including any attachments) >>may contain privileged or confidential information intended for a >>specific individual and purpose, and is protected by law. If you are >>not the intended recipient, you should delete this communication >>and/or shred the materials and any attachments and are hereby notified >>that any disclosure, copying, or distribution of this communication, >>or the taking of any action based on it, is strictly prohibited. >> >> >>Please consider the environment before printing this email. >> >>Doxee S.p.A. >> >>This e-mail and any attachment are secret and confidential. If you are >>not the intended recipient, you are hereby notified that any use or >>distribution of this e-mail is strictly prohibited. Please contact the >>sender and delete this message from your system. We apologize for >>eventual inconvenient raising from this. > > >________________________________ > >Confidentiality Notice: This communication (including any attachments) >may contain privileged or confidential information intended for a >specific individual and purpose, and is protected by law. If you are >not the intended recipient, you should delete this communication and/or >shred the materials and any attachments and are hereby notified that >any disclosure, copying, or distribution of this communication, or the >taking of any action based on it, is strictly prohibited. > > >Please consider the environment before printing this email. > >Doxee S.p.A. > >This e-mail and any attachment are secret and confidential. If you are >not the intended recipient, you are hereby notified that any use or >distribution of this e-mail is strictly prohibited. Please contact the >sender and delete this message from your system. We apologize for >eventual inconvenient raising from this. ________________________________ Confidentiality Notice: This communication (including any attachments) may contain privileged or confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this communication and/or shred the materials and any attachments and are hereby notified that any disclosure, copying, or distribution of this communication, or the taking of any action based on it, is strictly prohibited. Please consider the environment before printing this email. Doxee S.p.A. This e-mail and any attachment are secret and confidential. If you are not the intended recipient, you are hereby notified that any use or distribution of this e-mail is strictly prohibited. Please contact the sender and delete this message from your system. We apologize for eventual inconvenient raising from this. |
From: Chris U. <ch...@do...> - 2014-09-10 14:42:35
|
Leonardo, Why don’t you try removing both <min-symbol-size/> and <max-symbol-size/> (these are both optional) to see if the barcode can be rendered. Also, datamatrix has no human-readable part according to the documentation so you may as well remove that portion of your XML. http://barcode4j.sourceforge.net/trunk/symbol-datamatrix.html -Chris Ulbright On 9/10/14, 11:23 AM, "Leonardo Reale" <lr...@do...> wrote: >I tried all thevalue that you sent me but nothing: > >Exception in thread "main" java.lang.IllegalArgumentException: Can't find >a symbol arrangement that matches the message. Data codewords: 50 > >Exception in thread "main" java.lang.IllegalArgumentException: Can't find >a symbol arrangement that matches the message. Data codewords: 27 > >The exception depend on the dimension that I set into the configurations. > >Leonardo >-----Original Message----- >From: Chris Ulbright [mailto:ch...@do...] >Sent: mercoledì 10 settembre 2014 16:11 >To: Leonardo Reale; bar...@li... >Subject: Re: [Barcode4j-users] Issue on datamatrix barcode generation > >I think you need to increase the symbol size. You¹re currently limiting >it to exactly 48x16. > >Here are the sizes that I have used; you can choose from these (height, >width): > > 10, 10 > 12, 12 > 8, 18 > 14, 14 > 8, 32 > 16, 16 > 12, 26 > 18, 18 > 20, 20 > 12, 36 > 22, 22 > 16, 36 > 24, 24 > 26, 26 > 16, 48 > 32, 32 > 36, 36 > 40, 40 > 44, 44 > 48, 48 > 52, 52 > 64, 64 > 72, 72 > 80, 80 > 88, 88 > 96, 96 > 104, 104 > 120, 120 > 132, 132 > 144, 144 > > > >On 9/10/14, 11:00 AM, "Leonardo Reale" <lr...@do...> wrote: > >>Can you tell me which is the right symbol size? >> >>I tried more more combination but nothing the issue remains the same >>the only change is "Data codewords: 27" >> >>Thank's a lot >>Leonardo >> >>-----Original Message----- >>From: Chris Ulbright [mailto:ch...@do...] >>Sent: mercoledì 10 settembre 2014 15:57 >>To: Leonardo Reale; bar...@li... >>Subject: Re: [Barcode4j-users] Issue on datamatrix barcode generation >> >>I believe your string is too large to be represented by the symbol size >>that you specify. >> >>From: Leonardo Reale <lr...@do...<mailto:lr...@do...>> >>Date: Wed, 10 Sep 2014 15:52:56 +0200 >>To: >>"bar...@li...<mailto:bar...@li...u >>rce >>forge.net>" >><bar...@li...<mailto:bar...@li...u >>rce >>forge.net>> >>Subject: [Barcode4j-users] Issue on datamatrix barcode generation >> >>Hi guys, today I'm trying to generate a datamatrix barcode with the >>following string message: >> >>· >>CHPITG11000811450014000000000100105900007125507e5a44a0aa9f247128689a50d >>541 >>e51dc >> >>Running the command line I getting the following exception: >> >>· Exception in thread "main" java.lang.IllegalArgumentException: >>Can't find a symbol arrangement that matches the message. Data codewords: >>51 >> >>I tried to set new dimension using the configurations but the result >>does not change. In the while we reduced the dimension of the string >>message and the library works. >>In the end I checked the string message on online barcode generator and >>I checked that on those converters works fine. >> >>I would understand, with yours help, which can be the cause, if a >>library bug or my string message. >> >>Here is my barcode configuration: >> >><?xml version='1.0' encoding='UTF-8'?> >><barcode> >> <datamatrix> >> <module-width>0.5mm</module-width> >> <quiet-zone enabled="false"/> >> <shape>force-rectangle</shape> >> <min-symbol-size>48x16</min-symbol-size> >> <max-symbol-size>48x16</max-symbol-size> >> <font-size>0pt</font-size> >> <human-readable> >> <placement>none</placement> >> <font-size>0pt</font-size> >> </human-readable> >> </datamatrix> >></barcode> >> >>Best regards >> >>[Description: image001] >> >>Leonardo Reale >>R&D >>Land: +39 059 88680 (166) >>Mobile: +39 335 185 6720 >> >>lr...@do...<mailto:lr...@do...> >>doxee.com<http://www.doxee.com/> >>facebook.com/doxeeinc<http://www.facebook.com/doxeeinc> >>@DoxeeInc<https://twitter.com/DoxeeInc> >> >> >> >> >>Questo messaggio e-mail e qualsiasi suo allegato è strettamente >>confidenziale e segreto. Se non siete i destinatari del messaggio, >>siete avvertiti che qualsiasi uso o divulgazione di questa e-mail è >>severamente proibito. Vi preghiamo di contattare il mittente e di >>distruggere questo messaggio dal vostro sistema. Scusateci comunque per >>l'eventuale disturbo arrecato. >> >>This e-mail and any attachment are secret and confidential. If you are >>not the intended recipient, you are hereby notified that any use or >>distribution of this e-mail is strictly prohibited. Please contact the >>sender and delete this message from your system. >>We apologize for eventual inconvenient raising from this. >> >> >> >> >> >>________________________________ >>Doxee S.p.A. >> >>This e-mail and any attachment are secret and confidential. If you are >>not the intended recipient, you are hereby notified that any use or >>distribution of this e-mail is strictly prohibited. Please contact the >>sender and delete this message from your system. We apologize for >>eventual inconvenient raising from this. >>----------------------------------------------------------------------- >>--- >>---- Want excitement? Manually upgrade your production database. When >>you want reliability, choose Perforce Perforce version control. >>Predictably reliable. >>http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.c >>lkt rk_______________________________________________ Barcode4j-users >>mailing list >>Bar...@li...<mailto:Bar...@li...ur >>cef orge.net> >>https://lists.sourceforge.net/lists/listinfo/barcode4j-users >>________________________________ >> >>Confidentiality Notice: This communication (including any attachments) >>may contain privileged or confidential information intended for a >>specific individual and purpose, and is protected by law. If you are >>not the intended recipient, you should delete this communication and/or >>shred the materials and any attachments and are hereby notified that >>any disclosure, copying, or distribution of this communication, or the >>taking of any action based on it, is strictly prohibited. >> >> >>Please consider the environment before printing this email. >> >>Doxee S.p.A. >> >>This e-mail and any attachment are secret and confidential. If you are >>not the intended recipient, you are hereby notified that any use or >>distribution of this e-mail is strictly prohibited. Please contact the >>sender and delete this message from your system. We apologize for >>eventual inconvenient raising from this. > > >________________________________ > >Confidentiality Notice: This communication (including any attachments) >may contain privileged or confidential information intended for a >specific individual and purpose, and is protected by law. If you are not >the intended recipient, you should delete this communication and/or shred >the materials and any attachments and are hereby notified that any >disclosure, copying, or distribution of this communication, or the taking >of any action based on it, is strictly prohibited. > > >Please consider the environment before printing this email. > >Doxee S.p.A. > >This e-mail and any attachment are secret and confidential. If you are >not the intended recipient, you are hereby notified that any use or >distribution of this e-mail is strictly prohibited. Please contact the >sender and delete this message from your system. We apologize for >eventual inconvenient raising from this. ________________________________ Confidentiality Notice: This communication (including any attachments) may contain privileged or confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this communication and/or shred the materials and any attachments and are hereby notified that any disclosure, copying, or distribution of this communication, or the taking of any action based on it, is strictly prohibited. Please consider the environment before printing this email. |
From: Leonardo R. <lr...@do...> - 2014-09-10 14:23:19
|
I tried all thevalue that you sent me but nothing: Exception in thread "main" java.lang.IllegalArgumentException: Can't find a symbol arrangement that matches the message. Data codewords: 50 Exception in thread "main" java.lang.IllegalArgumentException: Can't find a symbol arrangement that matches the message. Data codewords: 27 The exception depend on the dimension that I set into the configurations. Leonardo -----Original Message----- From: Chris Ulbright [mailto:ch...@do...] Sent: mercoledì 10 settembre 2014 16:11 To: Leonardo Reale; bar...@li... Subject: Re: [Barcode4j-users] Issue on datamatrix barcode generation I think you need to increase the symbol size. You¹re currently limiting it to exactly 48x16. Here are the sizes that I have used; you can choose from these (height, width): 10, 10 12, 12 8, 18 14, 14 8, 32 16, 16 12, 26 18, 18 20, 20 12, 36 22, 22 16, 36 24, 24 26, 26 16, 48 32, 32 36, 36 40, 40 44, 44 48, 48 52, 52 64, 64 72, 72 80, 80 88, 88 96, 96 104, 104 120, 120 132, 132 144, 144 On 9/10/14, 11:00 AM, "Leonardo Reale" <lr...@do...> wrote: >Can you tell me which is the right symbol size? > >I tried more more combination but nothing the issue remains the same >the only change is "Data codewords: 27" > >Thank's a lot >Leonardo > >-----Original Message----- >From: Chris Ulbright [mailto:ch...@do...] >Sent: mercoledì 10 settembre 2014 15:57 >To: Leonardo Reale; bar...@li... >Subject: Re: [Barcode4j-users] Issue on datamatrix barcode generation > >I believe your string is too large to be represented by the symbol size >that you specify. > >From: Leonardo Reale <lr...@do...<mailto:lr...@do...>> >Date: Wed, 10 Sep 2014 15:52:56 +0200 >To: >"bar...@li...<mailto:bar...@li...u >rce >forge.net>" ><bar...@li...<mailto:bar...@li...u >rce >forge.net>> >Subject: [Barcode4j-users] Issue on datamatrix barcode generation > >Hi guys, today I'm trying to generate a datamatrix barcode with the >following string message: > >· >CHPITG11000811450014000000000100105900007125507e5a44a0aa9f247128689a50d >541 >e51dc > >Running the command line I getting the following exception: > >· Exception in thread "main" java.lang.IllegalArgumentException: >Can't find a symbol arrangement that matches the message. Data codewords: >51 > >I tried to set new dimension using the configurations but the result >does not change. In the while we reduced the dimension of the string >message and the library works. >In the end I checked the string message on online barcode generator and >I checked that on those converters works fine. > >I would understand, with yours help, which can be the cause, if a >library bug or my string message. > >Here is my barcode configuration: > ><?xml version='1.0' encoding='UTF-8'?> ><barcode> > <datamatrix> > <module-width>0.5mm</module-width> > <quiet-zone enabled="false"/> > <shape>force-rectangle</shape> > <min-symbol-size>48x16</min-symbol-size> > <max-symbol-size>48x16</max-symbol-size> > <font-size>0pt</font-size> > <human-readable> > <placement>none</placement> > <font-size>0pt</font-size> > </human-readable> > </datamatrix> ></barcode> > >Best regards > >[Description: image001] > >Leonardo Reale >R&D >Land: +39 059 88680 (166) >Mobile: +39 335 185 6720 > >lr...@do...<mailto:lr...@do...> >doxee.com<http://www.doxee.com/> >facebook.com/doxeeinc<http://www.facebook.com/doxeeinc> >@DoxeeInc<https://twitter.com/DoxeeInc> > > > > >Questo messaggio e-mail e qualsiasi suo allegato è strettamente >confidenziale e segreto. Se non siete i destinatari del messaggio, >siete avvertiti che qualsiasi uso o divulgazione di questa e-mail è >severamente proibito. Vi preghiamo di contattare il mittente e di >distruggere questo messaggio dal vostro sistema. Scusateci comunque per >l'eventuale disturbo arrecato. > >This e-mail and any attachment are secret and confidential. If you are >not the intended recipient, you are hereby notified that any use or >distribution of this e-mail is strictly prohibited. Please contact the >sender and delete this message from your system. >We apologize for eventual inconvenient raising from this. > > > > > >________________________________ >Doxee S.p.A. > >This e-mail and any attachment are secret and confidential. If you are >not the intended recipient, you are hereby notified that any use or >distribution of this e-mail is strictly prohibited. Please contact the >sender and delete this message from your system. We apologize for >eventual inconvenient raising from this. >----------------------------------------------------------------------- >--- >---- Want excitement? Manually upgrade your production database. When >you want reliability, choose Perforce Perforce version control. >Predictably reliable. >http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.c >lkt rk_______________________________________________ Barcode4j-users >mailing list >Bar...@li...<mailto:Bar...@li...ur >cef orge.net> >https://lists.sourceforge.net/lists/listinfo/barcode4j-users >________________________________ > >Confidentiality Notice: This communication (including any attachments) >may contain privileged or confidential information intended for a >specific individual and purpose, and is protected by law. If you are >not the intended recipient, you should delete this communication and/or >shred the materials and any attachments and are hereby notified that >any disclosure, copying, or distribution of this communication, or the >taking of any action based on it, is strictly prohibited. > > >Please consider the environment before printing this email. > >Doxee S.p.A. > >This e-mail and any attachment are secret and confidential. If you are >not the intended recipient, you are hereby notified that any use or >distribution of this e-mail is strictly prohibited. Please contact the >sender and delete this message from your system. We apologize for >eventual inconvenient raising from this. ________________________________ Confidentiality Notice: This communication (including any attachments) may contain privileged or confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this communication and/or shred the materials and any attachments and are hereby notified that any disclosure, copying, or distribution of this communication, or the taking of any action based on it, is strictly prohibited. Please consider the environment before printing this email. Doxee S.p.A. This e-mail and any attachment are secret and confidential. If you are not the intended recipient, you are hereby notified that any use or distribution of this e-mail is strictly prohibited. Please contact the sender and delete this message from your system. We apologize for eventual inconvenient raising from this. |
From: Chris U. <ch...@do...> - 2014-09-10 14:13:14
Attachments:
image001.png
|
I believe your string is too large to be represented by the symbol size that you specify. From: Leonardo Reale <lr...@do...<mailto:lr...@do...>> Date: Wed, 10 Sep 2014 15:52:56 +0200 To: "bar...@li...<mailto:bar...@li...>" <bar...@li...<mailto:bar...@li...>> Subject: [Barcode4j-users] Issue on datamatrix barcode generation Hi guys, today I'm trying to generate a datamatrix barcode with the following string message: · CHPITG11000811450014000000000100105900007125507e5a44a0aa9f247128689a50d541e51dc Running the command line I getting the following exception: · Exception in thread "main" java.lang.IllegalArgumentException: Can't find a symbol arrangement that matches the message. Data codewords: 51 I tried to set new dimension using the configurations but the result does not change. In the while we reduced the dimension of the string message and the library works. In the end I checked the string message on online barcode generator and I checked that on those converters works fine. I would understand, with yours help, which can be the cause, if a library bug or my string message. Here is my barcode configuration: <?xml version='1.0' encoding='UTF-8'?> <barcode> <datamatrix> <module-width>0.5mm</module-width> <quiet-zone enabled="false"/> <shape>force-rectangle</shape> <min-symbol-size>48x16</min-symbol-size> <max-symbol-size>48x16</max-symbol-size> <font-size>0pt</font-size> <human-readable> <placement>none</placement> <font-size>0pt</font-size> </human-readable> </datamatrix> </barcode> Best regards [Description: image001] Leonardo Reale R&D Land: +39 059 88680 (166) Mobile: +39 335 185 6720 lr...@do...<mailto:lr...@do...> doxee.com<http://www.doxee.com/> facebook.com/doxeeinc<http://www.facebook.com/doxeeinc> @DoxeeInc<https://twitter.com/DoxeeInc> Questo messaggio e-mail e qualsiasi suo allegato è strettamente confidenziale e segreto. Se non siete i destinatari del messaggio, siete avvertiti che qualsiasi uso o divulgazione di questa e-mail è severamente proibito. Vi preghiamo di contattare il mittente e di distruggere questo messaggio dal vostro sistema. Scusateci comunque per l'eventuale disturbo arrecato. This e-mail and any attachment are secret and confidential. If you are not the intended recipient, you are hereby notified that any use or distribution of this e-mail is strictly prohibited. Please contact the sender and delete this message from your system. We apologize for eventual inconvenient raising from this. ________________________________ Doxee S.p.A. This e-mail and any attachment are secret and confidential. If you are not the intended recipient, you are hereby notified that any use or distribution of this e-mail is strictly prohibited. Please contact the sender and delete this message from your system. We apologize for eventual inconvenient raising from this. ------------------------------------------------------------------------------ Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce Perforce version control. Predictably reliable. http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk_______________________________________________ Barcode4j-users mailing list Bar...@li...<mailto:Bar...@li...> https://lists.sourceforge.net/lists/listinfo/barcode4j-users ________________________________ Confidentiality Notice: This communication (including any attachments) may contain privileged or confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this communication and/or shred the materials and any attachments and are hereby notified that any disclosure, copying, or distribution of this communication, or the taking of any action based on it, is strictly prohibited. Please consider the environment before printing this email. |