On 11.07.2008 15:05:47 Martin Edge wrote:
<snip/>
> 
> Subject: Re: Barcode fonts not displaying correctly when generating PCL
> On 11.07.2008 14:21:17 Martin Edge wrote:
> > Hey - 
> > 
> > AWT - From what I can see (I'm still only new to all of this) looks like
> the
> > java class that generates these metrics??
> 
> It's not a single class that does that. AWT is a subsystem of the Java
> class library. Part of AWT deals with fonts which are available through
> the operating system. Since the PCL renderer uses Java2D for painting
> custom fonts, these fonts have to be installed in the OS and Graphics2D
> routines are used to paint the fonts to bitmaps which are then put in
> the PCL file. PCL supports TrueType directly but this is not implemented
> and would be quite difficult to implement as far as I've seen. Did I
> mention that PCL is the one printer format I like least? ;-)
> 
> - Fair enough - so there is a good chance it won't be easy for me to solve
> this myself :-)
> - The people I'm working with may not be fully aware of the capabilities of
> their printer hardware, they use commercial high speed Xerox machines - they
> have said it _doesn't_ support postscript - but surely this would be
> strange?? I thought postscript was the most generic supported by everything
> format??

All bigger Xerox machines support PostScript just fine. I'd always
prefer PostScript over PCL.

> > So - in regards to the 4J what you are saying is the main barcode I'm
> > printing is probably reproducible (assuming I can figure out how to use
> it)
> > - but the postal portion isn't - how far did you get along with it ? 
> 
> Maybe 1 - 1.5 days left. I don't have all the details present anymore. 
> 
> > With the origin of the fonts for the PCL renderer - is this something that
> > could be feasibly developed [this is not a request, more a question of
> > feasibility ;)] 
> 
> Do you refer to Barcode4J? As I said earlier, fonts are not involed when
> when painting barcodes using Barcode4J, at least not for the bars.
> 
> - OK so given it isn't a font - where would I start in learning how to drive
> it (knowing nothing about it at this point) to build my appropriate barcode
> in the required format [excluding the aust post one of course]

http://barcode4j.sourceforge.net/2.0/fop-ext.html

If you put a barcode in a simple FO file and generate an intermediate
file, you'll see immediately how you'll have to insert that in the
intermediate format. HTH

> > As for setting up an environment, If the need arose I could easily supply
> > the font and a snippet of FO which utilizes it, and a c# program which
> will
> > generate each format.  I'm more than happy to prepare a
> you-hit-one-button-
> > to-see-what-I-mean test case.
> 
> The original FO file, the intermediate file you produced with your
> barcodes plus the barcode font should suffice to reproduce the problem.
> 
> - OK - I'll fiddle on Sunday my time with it anyway - but will send the FO
> file etc then as well. (if you don't mind looking of course)

Next week the counter start from 0. ;-) I'll look into it as soon as I
can make the time. Weather's bad here during the weekend so I might
actually get some work done.

> > I assume whether we utilize the intermediate format or not will not make
> any
> > difference, effectively any FO file which utilizes these fonts would have
> > the same output even if we went direct.. Don't you think?
> 
> Well, there could be side-effects from using the intermediate format
> which we haven't encountered, yet. But ideally not, of course. If you
> generate an FO file and 
> 
> - ....and..  ? ;) Providing we're on the same page, I guess what I'm saying
> is whether I actually create the intermediate file or just bypass it
> shouldn't change the outcome.

We are. Not sure anymore what I wanted to say there. That's what you get
if you start editing your post before sending it.

> - In a funny twist I raided google to try and isolate more information about
> my issue - found the keywords which looked like it might be the answer -
> turned out to be one of my own questions to this forum on a slightly
> different topic - I guess I wasn't much help to me haha.
> 
> Cheers
> Martin.
<snip/> 


Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to