There are more than one approach, but the PDF solution does not really
answer your question, since the PDF version still needs to be changed
and adjusted, or it will give you exactly the same output as hitting
"print" from your browser. PDF output DOES give the user other options
(save, email, print), but does not solve the "how to create a
print-friendly version".

I was assuming that you want something different on the printed
version than on the web version? removing, reorganizing, changing
display characteristics.

1. print css (same exact page, different results)
2. printer-friendly version of page (different pages give different results)

Getting content into a CFDOCUMENT pdf is very easy. Just wrap all of
your html in a cfdocument tag. If you don't want to recreate the code,
you can do a simple cfhttp to grab the page, and stick it into the
cfdocument tag.


On 5/19/06, Raven Technology <[EMAIL PROTECTED]> wrote:
> It has been suggested that I use CFDOCUMENT, but not sure how to send a web
> page to this tag for printing.
>
> Steve LaBadie
> Raven Technology
> http://www.ravenpcs.com
> [EMAIL PROTECTED]
> ----- Original Message -----
> From: "Jerry Johnson" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[email protected]>
> Sent: Friday, May 19, 2006 10:37 AM
> Subject: Re: Print Friendly Version
>
>
> > The easiest way for most web pages is to create an alternate print CSS
> > stylesheet.
> >
> > Look at your web page, and figure out what elements should not be
> > included on a printed version of the page. Look at what elements
> > should be included on the print version of some pages, and not the
> > print version of others.
> >
> > For example, on some of my sites, I get rid of the topnavbar,
> > lefnavbar, right ad column and all banner ads from the print version,
> > and add the username of the person printing to the page. I also add a
> > "from www.website.com" line at the bottom of the page.
> >
> > I include a separate print stylesheet that sets all of these objects
> > display properties, lower than the screen stylesheets. (and in some
> > cases, change the width property of items).
> >
> > <link href="/images/styles/print.css" rel="stylesheet" type="text/css"
> > media="print">
> >
> > Does this make any sense, or help at all?
> >
> > On 5/19/06, Raven Technology <[EMAIL PROTECTED]> wrote:
> >> Can anyone assist in how to offer the user to "print a friendly version"
> >> of a web page?
> >
> >
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:240977
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to