I'm embedding EPS files in my FOP also, when I try to generate PDF files, here's what I did to make it show up in browser and on printer:
First generate PS file using FOP.
Second use ps2pdf (free from GhostScript) generate PDF file from PS file.
The generated PDF files have very good quality.
Tiffany
-----Original Message-----
From: Peter Gustafsson [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 08, 2004 8:22 AM
To: [EMAIL PROTECTED]
Subject: EPS image printing problem
Hello..
I have a problem with printing EPS images that i have included in my fop
generated pdf file.
I know that it isn't supposed to show up in acrobat but I can't even print
them.
I have tried to view the PDF;s with GSView4.1 but the image wasn't shown
there either.
Thought there was som sort of error in the image so I created a sample image
with Illustrator which wasn't shown either.
The image is however embedded in the pdf file since the file size is rather
big and a space for the image is reserved in the pdf.
I also tried viewing the pdf on another computer with the same result.
I have tried both fop 0.20.4 and 0.20.5 (binary distrubition) and 0.20.5
(source) my testcode is:
/Peter Gustafsson
<?xml version="1.0" encoding="ISO-8859-1"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<fo:layout-master-set>
<fo:simple-page-master margin-right="0pt" margin-left="0pt"
page-height="11in" page-width="8.5in" margin-bottom="0pt" margin-top="0pt"
master-name="main">
<fo:region-body margin-top="0pt" margin-bottom="0pt"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="main">
<fo:flow flow-name="xsl-region-body">
<fo:block>before</fo:block>
<fo:block>
<fo:external-graphic width="4in" src="" />
</fo:block>
<fo:block>after</fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
