Re: Output multiple pages to 1 PNG image

2012-10-09 Thread Luis Bernardo


If you have in mind multiple pages in one image the way TIFF does then 
that is not possible with PNG. There is a related format, MNG, that 
could do that, but FOP cannot output to that and in any case, your 
device would probably not be able to handle MNG. AFAIK, none of the 
browsers supports that natively, although there is a plugin to some of them.


On 10/9/12 12:40 AM, justin.frost wrote:

Hi all,

We use FOP to create multiple page PDF output and this is working great.  We
now have a project to support a device which cannot handle PDF's, so we need
to stream the output as a PNG image.

This is working great for 1 page output, but if it is more than 1 page, we
of course only get the first page as each page is a separate PNG.

Is there anyway to output all pages to a single PNG ?  We display the output
in an IFRAME as a streamed PNG image, so more than one PNG file is not an
option.

Cheers.



--
View this message in context: 
http://apache-fop.1065347.n5.nabble.com/Output-multiple-pages-to-1-PNG-image-tp36997.html
Sent from the FOP - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org




-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



XML to PDF on AIX

2012-10-09 Thread nels
(I have posted this a second time because my first attempt was with my
company email and their SMTP server isn't set up to authorise nabble so
rather than wait for that to be rectified I have requested that account and
post be deleted and have re-registered with my personal email and posted
again!)

I have a requirement to convert XML files with their corresponding XSL files
to PDF on AIX. The APACHE FOP looks like it does what I need. 
Am I right in thinking that I need to convert XML to XSL-FO by XSLT using a
converter like css2xsl before I run FOP? 

In trying to generate the XSL-FO file in AIX I get error “The java class
could not be loaded. java.lang.UnsupportedClassVersionError:
be/re/css/CSSToXSLFO (Unsupported major.minor version 50.0)” which suggests
that the JAVA compiled and runtime versions don’t match so to confirm this I
switch over to our LINUX server. This didn’t error but produced an empty
XSL-FO file. 
If you have any suggestions as to what is causing my problem or on an
alternate XSLT to convert XML to XSL-FO then I would be very grateful. 

Regards, 

Nelson



--
View this message in context: 
http://apache-fop.1065347.n5.nabble.com/XML-to-PDF-on-AIX-tp37006.html
Sent from the FOP - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: XML to PDF on AIX

2012-10-09 Thread Glenn Adams
For FOP 1.0, you need Java 1.4 or newer. For FOP 1.1RC1 and the upcoming
1.1 (as well as current nightly builds), you need Java 1.5 or newer.

FOP provides a built-in mechanism to perform XML to XSL-FO translation
using a supplied XSLT file. See the documentation at [1].

You don't provide enough details to determine what problem you're having on
your linux server. What version of FOP? What is your input XML/XSLT files?
What command line options did you use? What is console output?

[1] http://xmlgraphics.apache.org/fop/quickstartguide.html

On Wed, Oct 10, 2012 at 8:16 AM, nels nbhc...@gmail.com wrote:

 (I have posted this a second time because my first attempt was with my
 company email and their SMTP server isn't set up to authorise nabble so
 rather than wait for that to be rectified I have requested that account and
 post be deleted and have re-registered with my personal email and posted
 again!)

 I have a requirement to convert XML files with their corresponding XSL
 files
 to PDF on AIX. The APACHE FOP looks like it does what I need.
 Am I right in thinking that I need to convert XML to XSL-FO by XSLT using a
 converter like css2xsl before I run FOP?

 In trying to generate the XSL-FO file in AIX I get error “The java class
 could not be loaded. java.lang.UnsupportedClassVersionError:
 be/re/css/CSSToXSLFO (Unsupported major.minor version 50.0)” which suggests
 that the JAVA compiled and runtime versions don’t match so to confirm this
 I
 switch over to our LINUX server. This didn’t error but produced an empty
 XSL-FO file.
 If you have any suggestions as to what is causing my problem or on an
 alternate XSLT to convert XML to XSL-FO then I would be very grateful.

 Regards,

 Nelson



 --
 View this message in context:
 http://apache-fop.1065347.n5.nabble.com/XML-to-PDF-on-AIX-tp37006.html
 Sent from the FOP - Users mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
 For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org




Re: XML to PDF on AIX

2012-10-09 Thread nels
I am using FOP 1.0.
The Linux server is running Red Hat Enterprise Linux ES release 4.
The AIX server is running AIX 5.3. The aim is to get XML to PDF conversion
running here.
I have successfully run the Hello Frank example.

At this stage I can't provide the xml and xsl files because they are client
confidential but perhaps I could confirm this, do I create the XSLT file
myself or is there a utility to do this for me?



-
just starting out with FOP - don't hurt me!
--
View this message in context: 
http://apache-fop.1065347.n5.nabble.com/XML-to-PDF-on-AIX-tp37006p37008.html
Sent from the FOP - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org