RE: Handsout

2009-06-05 Thread Manuel Mall
Many printer drivers can do this sort of manipulation for you, e.g. 2 up printing. Or you could use a 'virtual' printer driver like the one from FinePrint. _ From: Raphael Parree [mailto:rpar...@gmail.com] Sent: Friday, 5 June 2009 2:29 PM To: fop-users@xmlgraphics.apache.org Subject: Ha

Re: How to draw vertical line between columns in region body

2009-06-05 Thread Pascal SANCHO
Hi, Mahesh Rayudu a écrit : Hi Pietschmann, As per your suggestion, I tried to insert background svg image for blocks which do not have span="all" property. But the vertical line is coming twice because we dont know what is the end block for first column in region body. I want to draw verti

Re: Handsout

2009-06-05 Thread Andreas Delmelle
On 05 Jun 2009, at 09:20, Manuel Mall wrote: Hi Raphael, Manuel, Many printer drivers can do this sort of manipulation for you, e.g. 2 up printing. Or you could use a 'virtual' printer driver like the one from FinePrint. Another option would be to render the document to the Intermediate

question

2009-06-05 Thread Nicolae Marasoiu
Hi; How can I use ImageIO from FOP ? I saw no MimeConstant to suggest outputing an Image supported by imageio. The end result would be a transparency enabled GIF, since the transparent PNG succesfully generated with fop 0.95 is not fully supported by IE6 and I would try a hackless GIF solution

Re: question

2009-06-05 Thread Andreas Delmelle
On 05 Jun 2009, at 11:10, Nicolae Marasoiu wrote: Hi How can I use ImageIO from FOP ? ImageIO is used automatically (if available), but this applies more to images inserted into the FO, not to the output targets. I saw no MimeConstant to suggest outputing an Image supported by imageio.

Re: FOP 0.95 fails to compile large PDF files - java heap space

2009-06-05 Thread Vincent Hennebert
Hi Nancy, nancy_b wrote: > Hi Andreas, > > It seems that getting FOP from the trunk is too complicated for me. When is > the next binary FOP version due to? > > Regarding what you said about - I > have no idea how to translate this into XSL/XML. > > Meantime, I did some other tests. Bob Stayto

RE: question

2009-06-05 Thread Nicolae Marasoiu
Hi; Can you point me to an example of "rendering to Java2D"? The single AWT example coming with FOP is one that outputs to screen and it seems that it does that behind the sceene when receiving SAX endDocument I guess. Alternatively whould I use AWT preview mime type, to an output stream and pi

Re: question

2009-06-05 Thread Andreas Delmelle
On 05 Jun 2009, at 13:30, Nicolae Marasoiu wrote: Hi Nicolae Can you point me to an example of "rendering to Java2D"? The single AWT example coming with FOP is one that outputs to screen and it seems that it does that behind the sceene when receiving SAX endDocument I guess. More or less

Re: Font error

2009-06-05 Thread Andreas Delmelle
On 05 Jun 2009, at 14:20, Nicolae Marasoiu wrote: Hi Nicolae I use a font, as attached (automatically templating-generated FO source, FOP config, ttf font, metrics xml). When generating PNG image things are stable. When outputing pdf, from local app, it is also stable. When outputing pdf f

Can we compress the images in AFP output?

2009-06-05 Thread attaluri1210
Hi Everybody, I am using FOP for generating the AFP output from the FO file. When we have the color Images with say 300dpi (which is not possible to use them as page segment as they come dynamically), the AFP output file size is too big. Is there a way that i can compress the images? So, that the

Re: Can we include pdf through include-page-segment in FO file

2009-06-05 Thread attaluri1210
I have tried doing that but it is not working it is including all pdf pages one on top of other and including it as one page in the output. Thanks, Bharat Andreas Delmelle-2 wrote: > > On 28 May 2009, at 23:48, Bharat wrote: > > Hi > >> I am new to AFP output in FOP. Can we include pdf throu

Re: How to draw vertical line between columns in region body

2009-06-05 Thread Mahesh Rayudu
Hi Pascal, I tried this option. but the vertical line is breaking and its not coming continuosly if blocks has span="none". I am using latest trunk build FOP jar to generate PDF file. XSL-FO config: Line svg file code: http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.

Re: Can we compress the images in AFP output?

2009-06-05 Thread Adrian Cumiskey
Hi Bharat, If your AFP environment supports it, you could try embedding you images natively (instead of IOCA FS45) using the user configuration option (see http://xmlgraphics.apache.org/fop/trunk/output.html#afp-image-config). Adrian. attaluri1210 wrote: Hi Everybody, I am using FOP for

Re: Can we compress the images in AFP output?

2009-06-05 Thread attaluri1210
Hi, Thanks for the very quick reply. Is that going to decrease my output file size? Thanks, Bharat Adrian Cumiskey-2 wrote: > > Hi Bharat, > > If your AFP environment supports it, you could try embedding you images > natively (instead of IOCA FS45) using the user > configuration option

Re: How to draw vertical line between columns in region body

2009-06-05 Thread Pascal SANCHO
Mahesh Rayudu a écrit : Hi Pascal, I tried this option. but the vertical line is breaking and its not coming continuosly if blocks has span="none". I am using latest trunk build FOP jar to generate PDF file. XSL-FO config: page-height="11in" page-wid

Re: How to draw vertical line between columns in region body

2009-06-05 Thread Mahesh Rayudu
Hi Pascal, Appreciate your help. Thank you.Its working perfect. Thanks Mahesh On Fri, Jun 5, 2009 at 11:15 AM, Pascal SANCHO wrote: > Mahesh Rayudu a écrit : > >> Hi Pascal, >> >> I tried this option. but the vertical line is breaking and its not >> coming continuosly if blocks has span="non

Re: Can we compress the images in AFP output?

2009-06-05 Thread Adrian Cumiskey
Hi Bharat, Yes your output file size should be much smaller especially if you have repeated images. But do check that your AFP environment supports the image type you are embedding. Adrian. attaluri1210 wrote: Hi, Thanks for the very quick reply. Is that going to decrease my output file

Re: Can we compress the images in AFP output?

2009-06-05 Thread attaluri1210
Hi, When i used tag in the config file. I has decreased the file size from 2 MB to 500 KB which is very good. But when i tried to use it in the viewer it is gving an alert message stating that "1300: Incorrect AFPDS data was found. The data length or the data structure is incorrect." and if i cl

Re: Handsout

2009-06-05 Thread Johannes Künsebeck
Am Freitag, den 05.06.2009, 09:35 +0200 schrieb Andreas Delmelle: > On 05 Jun 2009, at 09:20, Manuel Mall wrote: > > Hi Raphael, Manuel, > > > Many printer drivers can do this sort of manipulation for you, e.g. > > 2 up printing. Or you could use a 'virtual' printer driver like the > > one fr

Re: Unable to write to default external resource group file 'resources.afp'. and Problem with images when the mode is set to color

2009-06-05 Thread Andreas Delmelle
On 04 Jun 2009, at 21:20, attaluri1210 wrote: Hi Bharat My operating stem is windows XP. I also restarted the system and tried. I also gave a different filename and tried but not use. my config looks like below. Can you post/attach this one again? I don't see a config-file, and no attachm

Re: Can we include pdf through include-page-segment in FO file

2009-06-05 Thread Andreas Delmelle
On 05 Jun 2009, at 16:25, attaluri1210 wrote: Hi Bharat I have tried doing that but it is not working it is including all pdf pages one on top of other and including it as one page in the output. Do you mean that this happened when you tried combining both extensions? If so, then try u

Re: Unable to write to default external resource group file 'resources.afp'. and Problem with images when the mode is set to color

2009-06-05 Thread attaluri1210
Hi, Thanks for the reply. Actually i created a file now named testresources.afp and it did not give the error. Now it's not showing the error but my concern is will it not create the resources file if it does not exist?. I am not sure that it is writing the resources to that file.. Can you guid

Re: Unable to write to default external resource group file 'resources.afp'. and Problem with images when the mode is set to color

2009-06-05 Thread Andreas Delmelle
On 05 Jun 2009, at 22:05, attaluri1210 wrote: Thanks for the reply. Actually i created a file now named testresources.afp and it did not give the error. Now it's not showing the error but my concern is will it not create the resources file if it does not exist? The config file seems OK...