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 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294396 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

