Use a print media stylesheet to achieve this. 

-----Original Message-----
From: Jerry Johnson [mailto:[EMAIL PROTECTED] 
Sent: Friday, 20 May 2005 3:36 
To: CF-Newbie
Subject: Re: Creating a list in PDF format

You could look at the html2pdf toolkit and coldfusion tag.

But it really sounds like you don't care about the format as long as the
print button on your html page triggers the printer to output a pretty
version of the page. (that's a lot of Ps)

I don't personally know how to do this, but I know the answer is
javascript and a printer-friendly web page.

You could search around some content-rich websites to see if and how
they implement the print functionality. (Try Wall Street Journal,
NYTimes, Washington post, etc)


On 5/19/05, Ed Wong <[EMAIL PROTECTED]> wrote:
> I was able to print a different display of the DB listing but I find
it too cumbersome. I have a link (printer icon) that when clicked run a
CFM page the queries the DB again and lists the results with PRE.../PRE
tags in a separate window. I then have a print buuton which opens the
print dialog box.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:15:998
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/15
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:15
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to