RE: ok, now it's JIMI time

2003-05-12 Thread Victor Mote
Robert P. J. Day wrote: oh, i'm *long* past the point of personal embarrassment here. although i'm willing to admit that some of my difficulties were my fault, i think i've also established that there are some definite deficiencies in the docs for graphics support. where to start? Sorry

RE: ok, now it's JIMI time

2003-05-12 Thread Robert P. J. Day
sorry about the length of this, but i have at least a little honor left to defend ... On Sun, 11 May 2003, Victor Mote wrote: Robert P. J. Day wrote: oh, i'm *long* past the point of personal embarrassment here. although i'm willing to admit that some of my difficulties were my

RE: ok, now it's JIMI time

2003-05-12 Thread Victor Mote
Robert P. J. Day wrote: Only if you follow the instructions everywhere else. You still have a problem either in your build or in your runtime environment. I frankly will not take the time to help you find it. in the first place, the major problem here is that those instructions are, in

Re: clarifications about using JAI/JIMI with FOP

2003-05-12 Thread Jeremias Maerki
As Jörg has already shown: The jars in {fop}/lib are automatically added to the classpath by the Ant build script (build.xml) and by the fop.sh/fop.bat scripts. They are not depending on the CLASSPATH env variable. If you have your own mechanism you have to add the jars to the classpath yourself.

Duplex Printing

2003-05-12 Thread Matthew Lancashire
Is there a way of psecifying whether pages are duplex when producing a pdf? Matthew Lancashire IT Project Manager Initial Electronic Security Ltd Tel: +44 1282 473554 Fax: +44 1254 267552 - To unsubscribe, e-mail: [EMAIL

Re: Question on wrapping

2003-05-12 Thread Chris Bowditch
From: Ben Galbraith [EMAIL PROTECTED] snip/ I can't have the first line be in column 1 and the second line be in column 2 under any circumstances. Folks, how do I do this! Help! I've thought about creating a table-row that's 1pt high and using keep with next on each item's table-row; sound

Re: Duplex Printing

2003-05-12 Thread Jeremias Maerki
You need different borders for odd and even page numbers? fo:layout-master-set fo:simple-page-master master-name=right [..] margin-left=3.5cm margin-right=1.5cm [..] /fo:simple-page-master fo:simple-page-master master-name=left [..]

RE: Duplex Printing

2003-05-12 Thread Matthew Lancashire
I don't quite understand what you have said. :) Also I only want certain pairs of pages printed as duplex -Original Message- From: Jeremias Maerki [mailto:[EMAIL PROTECTED] Sent: 12 May 2003 09:28 To: [EMAIL PROTECTED] Subject: Re: Duplex Printing You need different borders for odd and

Re: Duplex Printing

2003-05-12 Thread Jeremias Maerki
And I obviously don't understand what you're trying to do. Duplex printing can also mean embedding a command to a printer telling him to print on both sides of a sheet, although that doesn't apply to PDF. So, duplex printing can mean several things. So please try again to explain what you need.

RE: Duplex Printing

2003-05-12 Thread Matthew Lancashire
When someone prints a pdf I have produced using FOP I want certain pages to print on the reverse of the previous page. eg Front of page would show a Contract and the reverse of that page would show Terms and Conditions Page. I only want this to happen on certain pages and when it is printed. As

Re: Duplex Printing

2003-05-12 Thread Jeremias Maerki
As far as I know you can't do that with basic PDF. The thing you're trying to do would be part of a job ticket, but FOP doesn't support any job ticket functionality. The only way to print a PDF in duplex is to do it manually. Even if you can embedd a job ticket that supports specifying duplex

RE: Duplex Printing

2003-05-12 Thread Matthew Lancashire
Thanks for your help -Original Message- From: Jeremias Maerki [mailto:[EMAIL PROTECTED] Sent: 12 May 2003 09:59 To: [EMAIL PROTECTED] Subject: Re: Duplex Printing As far as I know you can't do that with basic PDF. The thing you're trying to do would be part of a job ticket, but FOP

RE: fo-pdf header content and alternative headers

2003-05-12 Thread John Marshall
Steve Guo wrote: 1. Maybe a dumb question Since the content of the header is specified by, fo:static-content element does it mean the content cannot be 'dynamic'?, such as pulling from the chapter_title element? If it cannot be 'dynamic', then I guess it has to be hard-coded? I got into

RE: ok, now it's JIMI time

2003-05-12 Thread John Marshall
I have just spent half an hour reading how three guys gave up their Sunday for free to be bombarded with self-righteous abuse. In a new environment for me, I have posted two questions to this list. In the first case my syntax error was politely pointed out and in the second I was politely

RE: Duplex Printing

2003-05-12 Thread VipinJ
I dont know whether I am making any sense here If we are talking about printing from client (in web or otherwise), it is better for the user to do the duplex stuff... since not all printers support the duplex mode. and u as a developer has no idea what the user has access to... Here we do

[ANN] First release of Krysalis Barcode (version 0.9)

2003-05-12 Thread Jeremias Maerki
Krysalis Barcode released = The Krysalis Team is proud to announce the first release the Krysalis Barcode (0.9) which is a barcode generation package written in Java. About Krysalis Barcode == Krysalis Barcode is a barcode generation package

RE: ok, now it's JIMI time

2003-05-12 Thread Robert P. J. Day
On Mon, 12 May 2003, John Marshall wrote: I do not know what JAI or JIMI are, or whether they will ever concern me, but if the new one works, then complaining about the old one is a waste of everybody's time and sheer bad manners. i apologize for your having had to wade through that, but to

testing support for various graphics formats

2003-05-12 Thread Robert P. J. Day
in order to clarify which graphics formats are supported under what circumstances, i invoked (under red hat linux) a small xclock client, and used import to take a snapshot of that window and save it in every format supported by that command that seemed to be relevant. the results of

Support for various graphics formats

2003-05-12 Thread Matthew Lancashire
I tried a jpeg then saved as a gif. Jpeg worked, gif did not.(could not find XObject Im2) It is there (honest) Any ideas. What are the limitations/rules for image rendering? fo:block text-align=end

Re: Support for various graphics formats

2003-05-12 Thread Robert P. J. Day
On Mon, 12 May 2003, Matthew Lancashire wrote: I tried a jpeg then saved as a gif. Jpeg worked, gif did not.(could not find XObject Im2) It is there (honest) Any ideas. What are the limitations/rules for image rendering? as i mentioned, i created mine using linux's import command and

RE: PostScript

2003-05-12 Thread Leet, Ethan C
Well, that is pretty much the big picture. Java has an API defined for implementing a PrintService and DocPrintJobs. Java's default PrintServices rely on lpr. I have build a true IPP client that fits into Java's PrintService Architecture. In doing this

Re: Apply-templates

2003-05-12 Thread Jeremias Maerki
Again, Elmar, this is not the right mailing list for XSLT-related questions. Please understand. See http://xml.apache.org/fop/resources.html#mailing-lists-xslt-mulberry On 12.05.2003 13:36:23 Elmar.Hurni wrote: I use the Function xsl:apply-templates to Apply a set of Template. Because the

Unexpected FOP behaviour (using fop-0.20.4)

2003-05-12 Thread m . schaeffler
Hi fopper, considering the following code: fo:block-container height=4.23332275mm width=30.0mm top=15.0mm left=30.0mm position=absolute line-height=12.0pt border-width=0.05mm border-style=solid border-color=black background-color=red

Background image

2003-05-12 Thread frederic . kieffer
Hi everybody. I have a very simple question (which has been already answered I presume) : How do i display a background image (my company's logo) in the center of the page, without having it being repeateted through the document (I don't know if I should use the background-repeat property of

Re: testing support for various graphics formats

2003-05-12 Thread Chris Bowditch
From: Robert P. J. Day [EMAIL PROTECTED] snip/ the results of embedding all of those formats depending on compiled support: neither JIMI nor JAI: BMP, GIF, JPG JIMI only: BMP, GIF, JPG, PNG JAI only: BMP, GIF, JPG, PNG, TIFF observations: 1) since GIF and JPG are

RE: Background image

2003-05-12 Thread Matthew Lancashire
If it to be shown on the first page only you could define two page-masters and set up your page-sequence-master so it contains 2 conditional-page-master-references The first one would have a condition of page-position=first The second with page-position=rest -Original Message- From:

RE: Background image

2003-05-12 Thread frederic . kieffer
Thanks for your support, but my document consists in a single page. -Message d'origine- De: Matthew Lancashire [mailto:[EMAIL PROTECTED] Date: lundi 12 mai 2003 15:19 À: [EMAIL PROTECTED] Objet: RE: Background image If it to be shown on the first page only you could define two

RE: Background image

2003-05-12 Thread Matthew Lancashire
I think I see what you mean now. You have a single page document and you want the background image displayed once in the middle. Yes? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 12 May 2003 14:19 To: [EMAIL PROTECTED] Subject: RE: Background image Thanks

Re: testing support for various graphics formats

2003-05-12 Thread Robert P. J. Day
On Mon, 12 May 2003, Chris Bowditch wrote: From: Robert P. J. Day [EMAIL PROTECTED] in all those cases, the error message printed during the processing was of the form: [ERROR] Could not load external SVG: Content is not allowed in prolog. [ERROR] Error while creating area

Re: testing support for various graphics formats

2003-05-12 Thread Jeremias Maerki
On 12.05.2003 13:15:06 Robert P. J. Day wrote: in order to clarify which graphics formats are supported under what circumstances, i invoked (under red hat linux) a small xclock client, and used import to take a snapshot of that window and save it in every format supported by that

Re: testing support for various graphics formats

2003-05-12 Thread Jeremias Maerki
To my explanations, I have to add that they apply to PDF only. Other renderers have different abilities. For example, TIFF's may not work properly in the PostScript renderer since the CCITT embedding has not been implemented. On 12.05.2003 15:36:58 Jeremias Maerki wrote: GIF, JPEG, BMP, EPS and

Re: Support for various graphics formats

2003-05-12 Thread Jeremias Maerki
Both your JPEG and GIF image worked fine on my machine without JIMI or JAI (0.20.5 from CVS). Check if there were any error messages. On 12.05.2003 13:41:28 Matthew Lancashire wrote: I tried a jpeg then saved as a gif. Jpeg worked, gif did not.(could not find XObject Im2) It is there (honest)

Re: Unexpected FOP behaviour (using fop-0.20.4)

2003-05-12 Thread Jeremias Maerki
I can reproduce but I'm not in the mood to investigate and I don't think it is proper behaviour. The PostScript renderer doesn't paint the background beyond the border but on the other side doesn't paint the borders correctly. A work-around could be to use a single block-container and use SVG

RE: Support for various graphics formats

2003-05-12 Thread Matthew Lancashire
how would I do that (I am a novice at this FOP lark) -Original Message- From: Jeremias Maerki [mailto:[EMAIL PROTECTED] Sent: 12 May 2003 14:53 To: [EMAIL PROTECTED] Subject: Re: Support for various graphics formats Both your JPEG and GIF image worked fine on my machine without JIMI or

Re: Support for various graphics formats

2003-05-12 Thread Jeremias Maerki
What? Reading error messages? Run FOP on the command line (best with the -d option) and check if there's an error message somewhere in the output. I suspect FOP didn't find the GIF image. On 12.05.2003 16:10:38 Matthew Lancashire wrote: how would I do that (I am a novice at this FOP lark)

Re: testing support for various graphics formats

2003-05-12 Thread Robert P. J. Day
ok, this goes a long way to clearing up my confusion ... On Mon, 12 May 2003, Jeremias Maerki wrote: Ok, let's go over this. I'm looking at the code: i'll probably break down one of these days and do the same ... GIF, JPEG, BMP, EPS and SVG are supported without any additional library:

Re: testing support for various graphics formats

2003-05-12 Thread Robert P. J. Day
On Mon, 12 May 2003, Jeremias Maerki wrote: - EPS is similar to JPEG. EPS images get embedded 1:1 in the PDF. Acrobat Reader cannot display them (blank output) but looking at the PDF in GhostView or printing it on a PostScript printer shows the EPS content. just FYI, linux's xpdf

Re: testing support for various graphics formats

2003-05-12 Thread Jeremias Maerki
On 12.05.2003 16:06:04 Robert P. J. Day wrote: ok, this goes a long way to clearing up my confusion ... On Mon, 12 May 2003, Jeremias Maerki wrote: Ok, let's go over this. I'm looking at the code: i'll probably break down one of these days and do the same ... GIF, JPEG, BMP,

RE: testing support for various graphics formats

2003-05-12 Thread Torsten Erler
FYI ghostscript v8.00++ (and naturally ghostview) doesn't render postscript/eps inside pdf by default, unless you set -dDOPS flag on command line or ghostsview config. Reason for that is a security problem with postscript, which has file access to the client, who is interpreting the postscript

Re: Background image

2003-05-12 Thread Harm Kok
Frederic, FOP now only supports background-image and non of the other related properties (like background-repeat). If you want your logo once on the center of the page, create a page size image with the logo in the middle other space should be white. Use this as your background image. Hope

Re: Question on wrapping

2003-05-12 Thread Ben Galbraith
I can't have the first line be in column 1 and the second line be in column 2 under any circumstances. I dont see how a table-row thats 1pt high will help? Cant you just put each item into its own table-row and set keep-together=always Hey wow, there's a working keep-together that accomplishes

Help with JAI, TIFF, and FOP

2003-05-12 Thread Steve Albin
I am using the fop 0.20.4 binary distribution on Windows. I have a couple of questions Im hoping that others can help me with. 1) I am unable to get FOP to invoke JAI to handle a TIFF or PNG. I have copied the jai_core.jar and jai_codec.jar files to {fop-install-lib}\lib. Here is

Re: Help with JAI, TIFF, and FOP

2003-05-12 Thread Jeremias Maerki
Comments inline. On 12.05.2003 20:02:18 Steve Albin wrote: I am using the fop 0.20.4 binary distribution on Windows. I have a couple of questions I'm hoping that others can help me with. 1) I am unable to get FOP to invoke JAI to handle a TIFF or PNG. I have copied the jai_core.jar

Re: testing support for various graphics formats

2003-05-12 Thread J.Pietschmann
Robert P. J. Day wrote: just FYI, linux's xpdf command will not display an EPS image, but it does show up in printed output. This is fairly obvious, as it is well known that xpdf is not a complete PS interpreter. J.Pietschmann -

Re: Help with JAI, TIFF, and FOP

2003-05-12 Thread J.Pietschmann
Jeremias Maerki wrote: 0.20.4 binary seems to have been compiled without JAI support. But it contains JIMI support. You have two choices: 1. Use the 0.20.4 source dist and compile yourself. Contrary to the documentation, JAI support in 0.20.4 requires nontrivial code changes. Simply dropping in

Rendering GIF images to PDF?

2003-05-12 Thread Ozhan Hassan
Hi, I have been evaluating FOP for the past couple of weeks. Basically, I have a java wrapper program which calls the FOP libraries, which reads in an XSLT style sheet and an XML file with data, then produces PDF for each XML file read in. I have set my program to read in 1000 XML files and