Exactly what I was about to suggest.

If you use classes for your colours, you can specify the classes to work
differently when the document is printed to when it is displayed.  My
CSS is not good enough for a syntax example, but I know it's possible.
Then all you have to do is have a print button, and a label at the
bottom that says that the printed version is black and white (the label
and the print button themselves can be invisible when printed, so they
don't mess up your display. 

-----Original Message-----
From: James Holmes [mailto:[EMAIL PROTECTED] 
Sent: 20 May 2005 03:50
To: CF-Newbie
Subject: RE: Creating a list in PDF format[Scanned]

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.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:15:1000
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