This is interesting. Your PS file indeed causes DSC errors in
GhostScript. If I look at the file with a text editor I'd say the file
is correct. The EPS file is correctly enclosed between
%%Begin/EndDocument. If I disable DSC functionality in GhostView I can
see all pages correctly which is somewhat different to your experience.
Of course, I cannot scroll back to previous pages in that case.

BTW, you said you're using FOP 0.20.5, but the PostScript file says
you're using 0.20.4. Not that this would change anything. Anyway, would
you please convert the same file using FOP 0.93 to check if the same
problem happens? Or could you provide the whole example as FO file with
the EPS and the bitmap image?

As a little test I extracted the EPS file manually from your PS file and
used it in a little FO test file. No problem with GhostScript in that
case. That's strange.

As for your question about producing a PDF file:
http://xmlgraphics.apache.org/fop/0.20.5/graphics.html#eps tells you why.
It should theoretically show up in GhostScript but it seems newer
GhostScript versions don't support showing the EPS anymore. Please note
that embedding EPS files in PDF is deprecated and should not be done
anymore.

On 10.02.2007 05:59:04 brycenesbitt wrote:
> 
> I'm trying to embed an EPS into a fop .20.5 on OS X.
> 
> When I build a postscript file, only the first page shows up in GhostScript
> or other postscript views.
> 
> My command line is:
> fop-0.20.5/fop.sh -d -c userconfig.xml -xsl dashcard.xsl -ps dashcard.ps
> -xml dashcard.xml -d
> 
> Looking at the PostScript file, there are clearly multiple pages.  Here's a
> 7 page test example:
> http://www.obviously.com/temp/dashcard.ps
> 
> The same command line, producing a pdf, gives 7 pages.  But then the image
> does not show up... not in acroread... not in GhostScript.  Any clues?
> -- 
> View this message in context: 
> http://www.nabble.com/7-page-FOP-postscript-file-only-shows-first-page-in-GhostScript%2C-etc.-tf3204281.html#a8897915
> Sent from the FOP - Users mailing list archive at Nabble.com.



Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to