xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremias Maerki <...@jeremias-maerki.ch>
Subject Re: Help me please! How to FOP + barcode4j + Code128 set C?
Date Mon, 18 Jan 2010 07:40:17 GMT
Barcode4J doesn't support arbitrary formatting of barcode messages. Only
EAN-128 has some functionality in this direction. Normally, I recommend
to disable the human-readable part and draw it with different means. The
requirements in this area are practically limitless (mixed font sizes,
custom positioning, additional marks etc. etc.) as I had to realize and
that definitely goes beyond Barcode4J's scope. You're using it with FOP
so it is easy to do the human-readable part in SVG or XSL-FO in exactly
the way you want.

BTW, the main support forum for Barcode4J is:
barcode4j-users@lists.sourceforge.net
http://sourceforge.net/mail/?group_id=96670

On 14.01.2010 16:59:54 Magdikova wrote:
> 
> No error, the barcode is generated but 
> I get the human readable text :12345678...
> instead of (numbers in pairs) 12 34 56 78...
> 
> 
> 
> 
> Tobias van Treeck wrote:
> > 
> > Did you get any error/warning message in the console/log?
> > Maybe you should ask in the barcode4j mailinglist or Thomas Jost
> > directly since he added this functionality:
> > 
> > http://barcode4j.sourceforge.net/changes.html#Contributors+to+this+release
> > "Added support for restricting Code128 codesets to A, B, C or a
> > combination. Committed by jmaerki. Thanks to Thomas Jost. See Issue
> > 2113589."
> > 
> > Regards,
> > ToM
> > 
> > 2010/1/14 Magdikova <kov.magdi@gmail.com>:
> >>
> >> of course a set <codesets>C</codesets>
> >>
> >> <fo:instream-foreign-object >
> >>
> >>                                <xsl:variable name="barcode-cfg">
> >>                                        <barcode>
> >>                        <code128>
> >>                            <human-readable>
> >>                                                    
         
> >>  <placement>bottom</placement>
> >>                                                    
         
> >>  <font-name>Helvetica</font-name>
> >>                                                    
         
> >>  <font-size>8pt</font-size>
> >>                                                    
         
> >>  <display-start-stop>false</display-start-stop>
> >>                                                    
         
> >>  <display-checksum>false</display-checksum>
> >>                                                    
   </human-readable>
> >>                                                    
 
> >>  <codesets>C</codesets>
> >>                                                    
 
> >>  <height>13mm</height>
> >>                                                    
 
> >>  <module-width>0.3mm</module-width>
> >>                                                    
   <quiet-zone
> >> enabled="true">10mm</quiet-zone>
> >>                                                </code128>
> >>                        </barcode>
> >>                </xsl:variable>
> >>                <xsl:copy-of select="barcode:generate($barcode-cfg,
> >> /letter/case/barcode/msg)"/>
> >>
> >>            </fo:instream-foreign-object>
> >>
> >>
> >>
> >> Tobias van Treeck wrote:
> >>>
> >>> please don't mind my asking, but to which exact value did you set the
> >>> xml?
> >>> Just to that?
> >>> <codesets>C</codesets>
> >>>
> >>>
> >>> The codeset is definied as:
> >>> "Code 128 codesets can be restricted to A, B, C or a combination of
> >>> the three. Example: "AB" enables A and B. "C" just enables C and
> >>> therefore only allows an even number of digits."
> >>>
> >>> Regards,
> >>> ToM
> >>>
> >>> 2010/1/14 Magdikova <kov.magdi@gmail.com>:
> >>>>
> >>>> Thank you, I built the jar successfully.
> >>>> I can change now the code 128 <codesets>{string:ABC}</codesets>
and I
> >>>> get
> >>>> different result, but
> >>>>
> >>>> the result is still 123456 instead of 12 34 56.
> >>>>
> >>>> What is the problem?
> >>>> Not codesets setting depends on?
> >>>>
> >>>>
> >>>>
> >>>> Pascal Sancho wrote:
> >>>>>
> >>>>> Hi;
> >>>>>
> >>>>> After the source code is dowloaded, you have to build the jar
> >>>>> yourself.
> >>>>> How to build is described here: [1].
> >>>>> How to use it with FOP is dedcribed here: [2]
> >>>>>
> >>>>> [1] http://barcode4j.sourceforge.net/trunk/building.html
> >>>>> [2] http://barcode4j.sourceforge.net/trunk/fop-ext.html
> >>>>>
> >>>>> I've never used barcode4J, so I cannot give you further tips.
> >>>>>
> >>>>> HTH,
> >>>>> Pascal
> >>>>>
> >>>>> Magdikova a écrit :
> >>>>>> Thank you for the answer!
> >>>>>>
> >>>>>> It helps me a lot but I downloaded the latest development version
but
> >>>>>> I do not known which files must be replaced.
> >>>>>>
> >>>>>> Help me please!
> >>>>>>
> >>>>>> Thanks in advance
> >>>>>>
> >>>>>>
> >>>>>> Pascal Sancho wrote:
> >>>>>>
> >>>>>>> Hi,
> >>>>>>>
> >>>>>>> You should find relevant information here: [1]
> >>>>>>> Note that there are more appropriate lists for barcode4j
related
> >>>>>>> topics:
> >>>>>>> see [2]
> >>>>>>>
> >>>>>>> [1] http://barcode4j.sourceforge.net/trunk/symbol-code128.html
> >>>>>>> [2] http://sourceforge.net/mail/?group_id=96670
> >>>>>>>
> >>>>>>> Pascal
> >>>>>>>
> >>>>>>> Magdikova a écrit :
> >>>>>>>
> >>>>>>>> I read about "Added support for restricting Code128
codesets to A,
> >>>>>>>> B,
> >>>>>>>> C
> >>>>>>>> or a
> >>>>>>>> combination."
> >>>>>>>> in this page: http://barcode4j.sourceforge.net/changes.html
> >>>>>>>>
> >>>>>>>> I have to generate Code128 codeset C with FOP.
> >>>>>>>>
> >>>>>>>> How can I use it? Help me please!
> >>>>>>>>
> >>>>>>>> I can generate code128 but I have to generate Code128
codeset C.
> >>>>>>>>
> >>>>>>>> My xsl settings are: (it works but it is not in "C"
format the
> >>>>>>>> output
> >>>>>>>> is:
> >>>>>>>> 123456 instead of 12 34 56)
> >>>>>>>>
> >>>>>>>> <...>
> >>>>>>
> >>>>>
> >>>>>
> >>>>> ---------------------------------------------------------------------
> >>>>> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> >>>>> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
> >>>>>
> >>>>>
> >>>>>
> >>>>
> >>>> --
> >>>> View this message in context:
> >>>> http://old.nabble.com/Help-me-please%21-How-to-FOP-%2B--barcode4j-%2B-Code128-set-C--tp27144885p27160729.html
> >>>> Sent from the FOP - Users mailing list archive at Nabble.com.
> >>>>
> >>>>
> >>>> ---------------------------------------------------------------------
> >>>> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> >>>> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
> >>>>
> >>>>
> >>>
> >>> ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> >>> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
> >>>
> >>>
> >>>
> >>
> >> --
> >> View this message in context:
> >> http://old.nabble.com/Help-me-please%21-How-to-FOP-%2B--barcode4j-%2B-Code128-set-C--tp27144885p27161175.html
> >> Sent from the FOP - Users mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> >> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
> >>
> >>
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> > For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
> > 
> > 
> > 
> 
> -- 
> View this message in context: http://old.nabble.com/Help-me-please%21-How-to-FOP-%2B--barcode4j-%2B-Code128-set-C--tp27144885p27163615.html
> Sent from the FOP - Users mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
> 




Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message