Ian,
I have had formatting problems with cfdocument in the past. I remember
reading somewhere that cfdocument has it's own html/css rendering engine, or
something to that effect. You may want to try wrapping it with something
else like a <div> or a <span> tag or maybe even (shudder) a font tag .
hth
G
On Tue, Apr 8, 2008 at 2:14 PM, Ian Skinner <[EMAIL PROTECTED]> wrote:
> I am using this to create a PDF file from a text file. It is creating
> very small fonts.
>
> <cfdocument format="pdf" orientation="landscape" pagetype="letter">
> <cfoutput><pre>#report#<pre></cfoutput>
> </cfdocument>
>
> I've tried adding a style section to the <cfdocument...> block. But it
> has only had partial and random effects.
> <style>
> pre {
> font-family: "Courier New", Courier, monospace;
> font-size: 16px;
> }
> </style>
>
> Is this the correct approach. I just want the report to horizontally
> fill the page, just like it would if printed straight from the text file.
>
> Thank You
> Ian
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:302984
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4