You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by "Steffanina, Jeff" <Je...@marriott.com> on 2009/08/05 13:14:53 UTC

Using a PDF as an Image

I have a finished form that contains all my graphics.  It is a PDF.
I want to print it and add all the applicable data.   I have been doing
this with JPG files with great success.
I am getting the error: No ImagePreloader found

Here is my code:
<fo:block-container position="absolute" top=".01in" left=".1in">
      <fo:block space-after=".16in" padding-top="0in"
padding-bottom=".16in"
         margin-top="0in">

        <fo:external-graphic src="url('/CY/JLS/CustForm.pdf')"
             content-height="10.6in" content-width="8.4in"/>

      </fo:block>
   </fo:block-container>

I see the notes about using an SVG.   Is it possible to use a PDF for
this purpose?
Is there one reference point where it clearly describes the process?






Jeff 

Using a PDF as an Image - PERFECT!

Posted by "Steffanina, Jeff" <Je...@marriott.com>.


Thank you.   It works perfectly! 


Jeff 

-----Original Message-----
From: John Brown [mailto:johnbrown105@hotmail.com] 
Sent: Wednesday, August 05, 2009 1:10 PM
To: fop-users@xmlgraphics.apache.org
Subject: RE: Using a PDF as an Image


Jeff Steffanina wrote:

> I have a finished form that contains all my graphics.  It is a 
> PDF.


> I want to print it and add all the applicable data. I have been 
> doing this with JPG files with great success.
>
>
> I am getting the error: No ImagePreloader found




> I see the notes about using an SVG. Is it possible to use a PDF
> for this purpose?
>
>
> Is there one reference point where it clearly describes the 
> process?

http://www.jeremias-maerki.ch/download/fop/pdf-images/

Version 1.3 is the latest stable version. The archive contains a README.

Regards,
Alias John Brown.



_________________________________________________________________
Express your personality in color! Preview and select themes for
Hotmail(r). 
http://www.windowslive-hotmail.com/LearnMore/personalize.aspx?ocid=PID23
391::T:WLMTAGL:ON:WL:en-US:WM_HYGN_express:082009
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


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


RE: Using a PDF as an Image

Posted by John Brown <jo...@hotmail.com>.
Jeff Steffanina wrote:

> I have a finished form that contains all my graphics.  It is a 
> PDF.


> I want to print it and add all the applicable data. I have been 
> doing this with JPG files with great success.
>
>
> I am getting the error: No ImagePreloader found




> I see the notes about using an SVG. Is it possible to use a PDF
> for this purpose?
>
>
> Is there one reference point where it clearly describes the 
> process?

http://www.jeremias-maerki.ch/download/fop/pdf-images/

Version 1.3 is the latest stable version. The archive contains a README.

Regards,
Alias John Brown.



_________________________________________________________________
Express your personality in color! Preview and select themes for HotmailĀ®. 
http://www.windowslive-hotmail.com/LearnMore/personalize.aspx?ocid=PID23391::T:WLMTAGL:ON:WL:en-US:WM_HYGN_express:082009
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: Using a PDF as an Image

Posted by Peter Coppens <pc...@gmail.com>.
You could try starting from
http://wiki.apache.org/xmlgraphics-fop/HowTo/EmbeddedPdf?highlight=%28pdf%29

Hth,

Peter



From: "Steffanina, Jeff" <Je...@marriott.com>
Reply-To: <fo...@xmlgraphics.apache.org>
Date: Wed, 5 Aug 2009 07:14:53 -0400
To: <fo...@xmlgraphics.apache.org>
Subject: Using a PDF as an Image



I have a finished form that contains all my graphics.  It is a PDF.
I want to print it and add all the applicable data.   I have been doing this
with JPG files with great success.
I am getting the error: No ImagePreloader found

Here is my code: 
<fo:block-container position="absolute" top=".01in" left=".1in">
      <fo:block space-after=".16in" padding-top="0in" padding-bottom=".16in"
         margin-top="0in">

        <fo:external-graphic src="url('/CY/JLS/CustForm.pdf')"
             content-height="10.6in" content-width="8.4in"/>

      </fo:block> 
   </fo:block-container>

I see the notes about using an SVG.   Is it possible to use a PDF for this
purpose? 
Is there one reference point where it clearly describes the process?






Jeff