Hey Jeremias, No, I generated each from separate intermediate files generated appropriately for the format it was destined for. It was part of my test case to isolate the problem to the PCL render.
I'm using different barcode types with the fonts (3 of 9 and Australian Postal Mail DPID barcodes) so I'm not sure the 4J will do it if it is purely a font. Isn't each barcode type EAN, UPC13, 3of9, 4-State a different font? Perhaps the way the PCL renderer interprets "auto registration of fonts" differently than the PDF renderer. This was a new feature was it not? [which meant no need to set metrics] I appreciate that you have donated more time on free support - I'm sure everyone who gets your help appreciates it! I was initially just asking for confirmation that there is no major functionality limitation on why what I'm trying is not working. I'm running on a pretty short timeline [not your problem of course] and I didn't want to waste time testing all sorts of tricks if the issue simply wasn't solvable. I figured I need to give enough information to explain my situation. That said it would be nice to know whether it is possible to get commercial assistance in the future. (and if I cannot solve this problem). This last challenge is pretty much the last one left before my product is ready! I will of course dig further now I know what I'm trying to do in theory should work - I guess I should probably start by trying to define a specific font metric (assuming you still can) for these barcode fonts to see if it makes any difference. I noticed some of the emails from you dating back for ages.. Good job on sticking with it.. All the guys have done a marvelous job. Thanks again. Martin. -----Original Message----- From: Jeremias Maerki [mailto:dev at jeremias-maerki.ch] Sent: Friday, 11 July 2008 9:00 PM To: [email protected] Subject: Re: Barcode fonts not displaying correctly when generating PCL I've already spent more time on free FOP support this week than I wanted so I won't be taking a closer look just now. I hope you understand. If I were you I'd switch to Barcode4J for the barcodes. Do you generate the PDF and the PCL from the same intermediate file? Please realize that these two renderers use diffferent font metrics sources which could explain the bad output in PCL if the AT file was generated mimicing the PDF renderer. SVG in PCL works fine in newer releases, BTW. On 11.07.2008 11:26:20 Martin Edge wrote: > Hey Guys, > > Just wanted to check Im doing everything correctly. > > I am having some problems displaying barcodes in PCL. > > http://www.asmorphic.net.au/images/barcodes.jpg is an example of what Im > seeing. > > As I edit the intermediate file, I have performed two tests: > > - Generate AT using application/pdf then run atin pdf etc and the > barcodes are displayed properly and scannable. > - Generate AT using application/vnd ..pcl etc and the barcodes appear very > different and cannot be scanned. > > I figure given the PDF renders the fonts partially, the fonts are being > properly loaded into the FOP engine. > > My fop.xconf portions for PDF and PCL has: > <fonts> > <directory>c:\pdfbin\fonts\</directory> > </fonts> > > .. and given you can see in the image the font partially works its > definitely loading OK .. Both fonts are True Type Fonts. > > The FO content which displays the barcodes: > > <fo:block-container reference-orientation="90" > inline-progression-dimension="680pt"> > <fo:block font-family="3 of 9 Barcode" font-size="18pt" > background-color="white" text-align="start">*1234567890MLQIS*</fo:block> > </fo:block-container> > </fo:static-content> > > And > > <fo:block text-align="start" margin-top="115pt" > margin-bottom="8pt"> > <fo:inline font-family="Barcode 4-state" > font-size="12pt" > width="65mm">1301012211021200220022303333301003013</fo:inline> > <fo:inline font-family="Helvetica" font-size="6pt" > min-height="16pt" > > border-top-width="-20mm">001/000001</fo:inline> > </fo:block> > > Is there any thing Im obviously doing wrong here or is there a potential > problem? If as per the research below I have to create an image its > possible I guess but a bit of a pain .. > > Jeremias I found some of your emails from 2002/2003 I hope its > possible now! > > http://osdir.com/ml/krysalis.devel/2003-12/msg00010.html > http://osdir.com/ml/text.xml.fop.devel/2002-11/msg00231.html > > ;) > > Thanks > Martin > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
