Barcode4J not human readable
Hi, I downloaded the Barcode4J files and installed everything (which is quite easy!) and nearly all works perfect -only the 'human readable section' below Code39 and Code128 is not (human;-) readable in the postscript format. (Attached is a bzipped postscript-file) When I generate PDF everything looks fine. I tried to change the font name - but that doesn't solve the problem. Any hints? Holger out1110473242271.ps.bz2 Description: BZip2 compressed data - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Barcode4J not human readable
Jeremias, thank you for your assistance! I need barcode rendering for PS and PDF so I decided to make the patching as you described below. Everything works fine now! Thanks again Holger Am Freitag, 11. März 2005 11:32 schrieb Jeremias Maerki: Yes, this is a known bug in FOP 0.20.5. The SVG subsystem lacks support for a certain basic paint operation (QUADTO) which is used when painting text as shapes. I've got a work-around I did for a customer which is also much faster because it directly embeds the barcode as EPS into the PostScript file instead of going via SVG/Batik. It is described here: http://barcode4j.krysalis.org/fop-ext.html#The+special+FOP+extension+%28for +experienced+developers+only%29 Note that I have no problem giving this to you but I won't provide any (free) support for it. The other possibility is that you backport the necessary change from CVS HEAD into your copy of FOP 0.20.5. The missing part is this: http://cvs.apache.org/viewcvs.cgi/xml-fop/src/java/org/apache/fop/render/ps /PSGraphics2D.java?rev=1.13view=markup Look for the method processPathIterator() and port the part for PathIterator.SEG_QUADTO back into FOP 0.20.5. There's also a PostScript macro that needs to be ported: http://cvs.apache.org/viewcvs.cgi/xml-fop/src/java/org/apache/fop/render/ps /PSProcSets.java?rev=1.10view=markup Look for /QUADTO. This part is in PSRenderer.writeProcs() in FOP 0.20.5. On 11.03.2005 11:14:53 Holger Dehnhardt wrote: Hi, I downloaded the Barcode4J files and installed everything (which is quite easy!) and nearly all works perfect -only the 'human readable section' below Code39 and Code128 is not (human;-) readable in the postscript format. (Attached is a bzipped postscript-file) When I generate PDF everything looks fine. I tried to change the font name - but that doesn't solve the problem. Any hints? Holger 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]
Re: Seeking for expert opinion
Hi Manisha, have a look at http://sourceforge.net/projects/documentserver/; and browse the CVS Repository for documentserver/Document-Server/src/de/lehmanns/documentServer/xmlFormatter and have a look at 1) SimpleSqlToXml.java which converts a ResultSet to XML in the Form row entity/entity entity/entity ... /row row ... (fast and simple) 2) Sql2XmlFormatter.java which converts a ResultSet with the help of an structure file to the form group1 group2 entity/entity ... group3 entity/entity ... /group3 /group2 ... /group1 (Slow but more 'sophisticated') Holger Am Dienstag, 15. Februar 2005 02:36 schrieb Manisha Sathe: Initially i tested creating pdf using static xml/xsl file using following dos prompt cmd - fop -xml myxml.xml -xsl myxsl.xsl -pdf mydoc.pdf Now i want to generate xml/pdf on fly. User will specify search criteria - depending on that i will pick up data from database.I want to generate xml from this data and use it to create pdf file. What is normal practice to do this? 1)I am not too sure about how to create XML - whether use SAX/DOM or just type it out as a string data 2)e.g If i generate XML o/p as a string - whether can i make use of this XML String to generate pdf ? Or i need to write this in a file ? Pls guide me, if anybody can share sample which shows creation of XML and generate pdf from that - would be a greate help. regards Manisha - Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone. pgpmMP91SMKcj.pgp Description: PGP signature
Re: Faxing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Neil, have a look at http://sourceforge.net/projects/documentserver/ There I set up a document-server which also has a modul to fax FOP generated documents with HylaFax. Even if the hole Documentserver might be to much for your purposes, you can look at the source of the HylaFax module. If you have further questions feel free to contact me. Holger Am Mittwoch, 22. September 2004 20:06 schrieb Neil Guinto: I wan't to get some ideas from this list how you handle faxing of PDF documents? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBUnkr1ZVW9AajbE4RAuKCAJ0Rk6WuoTgn0WL0mFyUWOxaHMFh/QCggoRB ETDoqEcWv0PGp8Wi1h3W6IY= =ywee -END PGP SIGNATURE- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: About FOP newbie
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Mina, first of all: Please use plain text not HTML when you post to user groups. A lot of XML issues are covered at http://www.xml.com/. It helped me a lot! Also see the FOP pages and FAQs for Java implementation. http://xml.apache.org/fop/embedding.html http://xml.apache.org/fop/faq.html Holger Am Mittwoch, 8. September 2004 10:19 schrieb Eng. Mina r. Fahmy: Hello as i said in the message's subject, i'm a new fop user and , i know Java as a not bad level but not good in XML so what i should take it as a good reference as a start in XML and also has a relation with Java and FOP ; how to start as a developer please i need a good guide for me .. as soon as possible and thanks Yours Mina R. -- ___ Check out the latest SMS services @ www.linuxmail.org This allows you to send and receive SMS through your mailbox. Powered by Outblaze - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBPsPC1ZVW9AajbE4RAnzDAJsExkUwKiBB2msxVO1kd1MnYLND1ACeMckz 5IipzLxmq2ru3ScTX4wCvIw= =Ajc1 -END PGP SIGNATURE- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Pagebreak
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sven, xsl:if test=position() 1 fo:block break-before=page/ /xsl:if should do the trick. If anyone has a better solution, I would appreciate it. Holger Am Mittwoch, 1. September 2004 10:48 schrieb Sven Waibel: Hello, i've a problem with break-after=page respectively break-before=page. I always get an empty page either before my content starts or after the content. first page | empty page | content | content | last page or first page | content | content | empty page |last page That's consistent, but how can i achieve that no empty pages exist? Regards Sven - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBNaqm1ZVW9AajbE4RAiC3AJsF1ocaBcJT6498q3HV6KelsXu3OwCfQkM5 epniIq5r3df3D+Wws4W0tPI= =dGk3 -END PGP SIGNATURE- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]