I use a custom tag called "PrintBlockWithBreaks.cfm" that does
what you are looking for in page breaks. I use it to separate orders
that come in from various websites in batches of over 100.
 
It uses the same code as the div style example, but it can be used
as a tag with open and closing sections.
 
For example:
 
I get an order from a database and then at the end I add
<cf_PrintBlockWithBreaks PrintMode=1>
<br>
</cf_PrintBlockWithBreaks>
This basically sends a page break to the printer.
 
The printMode part is also cool because you can use this tag to
NOT PRINT parts of a page, keeping things like navigation etc
from being printed.
 
Marc
 
 
-----Original Message-----
From: Russell Schutte [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 25, 2002 12:29 PM
To: [EMAIL PROTECTED]
Subject: RE: Off topic: HTML to Word

I’ve tried using the “Pagebreak-after” attribute in IE and it works well  but I’m trying to create pricing proposals on the fly for my sales staff.  I don’t know how many lines the product description will take up.  Currently, my only idea is to use a mono-spaced font and actually count the characters that I output to each line and then the number of lines and then insert headers, footers, and pagebreaks at the appropriate locations.

 

Let me know of your success.

 

Thanks,

 

Russell

 

-----Original Message-----
From: Steve Nelson [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 25, 2002 8:25 AM
To: [EMAIL PROTECTED]
Subject: Re: Off topic: HTML to Word

 

That's something you can do with this technique I came across. Basically it works by saving a word document as HTML, then using that HTML template as your cfm file, plugging in various cfml code. I haven't tried the page break yet, i'll mess around with it today.

Steve

Russell Schutte wrote:

This is slightly different, but I'm trying to create pages (product
proposals) formatted for printed output within the browser.  Anyone have
any ideas how to do this so that I know where the pagebreaks will
occur...  and such...

Thanks,

Russell Schutte

-----Original Message-----
From: Xavi [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 24, 2002 2:40 PM
To: [EMAIL PROTECTED]
Subject: RE: Off topic: HTML to Word

Yes, is not free ¬¬

Creating MS Word Documents with ColdFusion, without Plugins (Pro)  Log
In

-----Mensaje original-----
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Enviado el: miércoles, 24 de abril de 2002 21:08
Para: [EMAIL PROTECTED]
Asunto: RE: Off topic: HTML to Word

>>but it is actually in the free section, if you look again.

I looked again and it's not in the free section.

-----Original Message-----
From: David Huyck [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 24, 2002 12:25 PM
To: [EMAIL PROTECTED]
Subject: Re: Off topic: HTML to Word

I had a similar experience, thinking it was a pay-for tutorial, but it
is
actually in the free section, if you look again.

David Huyck
[EMAIL PROTECTED]

----- Original Message -----
From: "John Farrar" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 24, 2002 12:16 PM
Subject: Re: Off topic: HTML to Word

I believe you ought to pay a man for his work steve... but when you make
a
general announcement... it is disappointing to find out it is pay only.
You
do
a great job on development, keep the system positive, let us know in
advance.

John

>>> [EMAIL PROTECTED] 04/24/02 11:44AM >>>
Check this out:

Creating MS Word Documents with ColdFusion, without Plugins
http://www.secretagents.com/index.cfm?fuseaction=viewlets.viewlet&viewle
t_id
=1
23

I'm going to do another tutorial today on the same basic technique with
Excel.
It's
pretty wild.

Steve Nelson

Steve Nelson wrote:

> I just created a tutorial for you. I have a MUCH simpler solution than
ActivEdit
> and even RTF. I'll have it up on SecretAgents.com in about 20 minutes.
>
> Steve Nelson
>
> Razeen wrote:
>
> > Hi
> >
> > It's slightly off-topic but please help...
> >
> > I'm trying ActivEdit to allow my users to submit articles which is
> > stored in the DB then redisplayed as required. Works well. Problem:
I
> > now want to take the content from the Access DB and pull it into a
Word
> > 2000 document via mail-merge. However all that comes across is the
raw
> > html code with all its tags etc. (Now if I display the content in my
> > browser using CF and then copy and paste into Word it displays
correctly
> > with formatting, tables etc.)
> >
> > Can anyone recommend a solution?
> >
> > Thanks
> > Razeen
> >
>

*****************************************************************
This email and any files transmitted with it are confidential
and intended solely for the use of the individual or entity
to whom they are addressed. If you have received this email
in error please notify [EMAIL PROTECTED]
*****************************************************************

==^================================================================
This email was sent to: [EMAIL PROTECTED]
 
EASY UNSUBSCRIBE click here: http://topica.com/u/?bUrFMa.bWcA7N
Or send an email to: [EMAIL PROTECTED]
 
T O P I C A -- Register now to manage your mail!
http://www.topica.com/partner/tag02/register
==^================================================================
==^================================================================
This email was sent to: [email protected]

EASY UNSUBSCRIBE click here: http://topica.com/u/?bUrFMa.bV0Kx9
Or send an email to: [EMAIL PROTECTED]

T O P I C A -- Register now to manage your mail!
http://www.topica.com/partner/tag02/register
==^================================================================

Reply via email to