RE: [Barcode4j-users] RE: barcode generation with FOP

"Steve Baker" <[email protected]> Fri, 30 Apr 2004 14:19:56 +0100
Newsgroups gmane.comp.krysalis.user
Message-ID <[email protected]>
Hi,

You could try using GhostScript.  This copes very well with conversions from
PDF to either PostScript or PCL format, which can then be piped to lpr.
We've used this method in numerous projects with no problems at all.

Regards,
Steve

-----Original Message-----
From: [email protected]
[mailto:[email protected]]On Behalf Of O'Neill,
Ciaran
Sent: 30 April 2004 14:07
To: '[email protected]';
[email protected]; '[email protected]'
Subject: RE: [Barcode4j-users] RE: barcode generation with FOP


Hi,

My PDF and barcode generation is now working perfectly on Windows and also
on Unix.  Now, however I want to be able to print my PDF from Unix.

I know I could create postscript instead, but I really would prefer to keep
it in PDF (as postscript formatting isn't the exact same, and I need it the
same for scanning purposes).

Is there a way to print PDF from Unix?

Any help is much appreciated.

Thanks,
Ciaran O'Neill.


-----Original Message-----
From: Jeremias Maerki [mailto:[email protected]]
Sent: 23 April 2004 15:28
To: [email protected];
[email protected]
Subject: Re: [Barcode4j-users] RE: barcode generation with FOP


Hmm, strange that FOP didn't find the FOP extension then. Maybe some
odd classloader effect. What's your environment? Tomcat or some big J2EE
server? This shouldn't happen from the command-line. Anyway, I'm glad
you got the Xalan extension to work.

Code128 doesn't support the wide-factor attribute. Code128 has 4
different widths and their relative widths are prescribed by the
specification. What you can change however is the module-width of the
narrow bar. The bar width of the broader bars is then defined by
multiplying the module width by 2, 3 or 4. See [1] to find out what
attributes are supported for Code 128. If you really need a wide-factor
it should be quite simple to add but I fear that the generated barcodes
wouldn't be 100% conformant to the spec and might produce read errors on
certain barcode readers.

It doesn't really matter if you're working with the FOP extension (your
earlier example) or with the Xalan extension (your new example). I think
you're doing fine.

[1] http://barcode4j.krysalis.org/barcode-xml.html#Code+128

On 23.04.2004 15:22:09 O'Neill, Ciaran wrote:
> I have the FOP extension in my classpath and I have gotten it to work with
> the following code (i'm using version krysalis-barcode-0.9 BTW).
>
> I am, however having trouble getting some of the settings working - my
> wide-factor below doesn't seem to do anything.  I want my barcode to be
> wider (changing the height works fine), and I also get errors when I turn
> the human-readable off.
>
> Have you got any suggestions please?  Is this the way I should be working
> with it, or should I be using the FOP example I provided in the previous
> mail?
>
> Would it help if I attached my source XML and XSL?


Jeremias Maerki



-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
krysalis-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/krysalis-users


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
krysalis-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/krysalis-users



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click