Just a tip: The footer image shouldn't be an image.. that's only going to
bloat your filesize.  And I'm not so sure that PNG is working in your favor
here for the header.

On Dec 8, 2007 10:04 AM, Henry Maske <[EMAIL PROTECTED]> wrote:

> Hello everybody
>
> I'm trying to produce PDF files with cfdocument for a Clinique here in
> Switzerland. I'm using the developer version of CF8. A big issue is that I
> am supposed to make the PDF look like it would have been printed on a
> prefabed letter, means that the header and the footer both containing images
> on the right position in the right dimensions. Furthermore the margins for
> the content should have defined values:
> Top: 5,5 cm
> Left: 3,7 cm
> Right: 2,8 cm
> Bottom: 3,0 cm
>
> I wasn't able so far to create this because I don't have any control of
> the layout of the headers and footer, means no control about sizing the
> images or sizing the header/footersections or placing the images precisely
> in these sections!
>
> I don't know whether my basic idea using header and footers is right, may
> be there is a way to print text in a existing blank PDF which already
> contains what I described as header and footer? Would be great!
>
> I put all elements I'm using on the following link
> http://augenklinik.be/cfdocument.zip. It contains:
> default.cfm: contains the code
> IS.pdf: what cfdocument generates for the moment (it's far to big in
> filesize!!)
> SHOULD_BE.pdf: what I would like cfdocument to produce!
> BE_HEADER.png: header image (much bigger but shows perfect in PDF after
> scaling down)
> BE_FOOTER.png: header image (much bigger but shows perfect in PDF after
> scaling down)
>
> The best would be if anybody could write me a sample code for the above
> described problem – would be great!
>
> Thank you very much for your help
>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294397
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to