Hi, Al...

Thanks for the explanation.
How do you code a page break in CSS?

Rick


-----Original Message-----
From: Al Musella, DPM [mailto:[EMAIL PROTECTED]
Sent: Saturday, April 02, 2005 4:53 PM
To: CF-Talk
Subject: RE: Web Based Mail Merge? (not email!)


I am actually using 4.5.2 on my server as well!  (It is a small non-profit
brain cancer organization - and they can't afford to upgrade:)

As I see it, your problem is creating multiple pages.  There are a few
approaches. The nicest is to use CSS to force a page break after each page,
but when I did this, I had to deal with older browsers, so I cheated by
just using [br] tag to get to the next page. I have a setup page that you
use to determine how many lines are printed on your printer, and save that
number in a cookie.  Then as I loop through each record I set a line
counter to see how many lines are used (for example, if there is no address
line 2, I don't leave an empty space).. then after the content, I figure
out how many  [br] tags are needed to get to the next line.  Works
remarkably well.
   The only problems: you have to have the user set the header and footer
in their browser to blanks, and it only works for 1 font size.. if they set
their browser to a bigger or smaller font, they have to figure out how many
lines per page again
Al




At 10:45 AM 4/2/2005, you wrote:
>Hi, Al...
>
>Would you explain a little more about how you
>cause the mail merge to execute?  I'm still using
>CF 4.5.2...is what you're doing possible with that?
>
>I've created printable forms using CSS and CF variables,
>but only as single documents, not as multiple printouts
>from a mail merge...
>
>Rick
>
>
>-----Original Message-----
>From: Al Musella, DPM [mailto:[EMAIL PROTECTED]
>Sent: Saturday, April 02, 2005 10:19 AM
>To: CF-Talk
>Subject: Re: Web Based Mail Merge? (not email!)
>
>
>    I do this all of the time with straight HTML..  Use style sheets to
>format the pages nicely and to display the letterhead part, and just use
>cold fusion to insert the variables at the right place.  Make sure they set
>the browser to not print a header or footer.  I have a button on a page
>that whn clicked pops up this new window with just the mail merged pages..
>you can use javascript to print it then close it, or let them do it
>manually.  (I do this because the mail merged pages don't have your
>navigation bars)
>
>   To get a little fancier, you can also use pdf.. search for dynamic pdf.
>Al
>
>At 03:02 AM 4/2/2005, you wrote:
> >Ok guy's, here's something that has been playing on mind now for far too
> >long and I need to try to come up with a definitive answer of either yes
> >it can be done or no it can't. Here's what I have been asked to do;
>
>
>
>
>



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

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