Two ways:

   1) output each as a separate file & print job

   2) output as a single file, count lines and add the required number
      of blank lines between files

For Option 1, you have the flexibility of the application (browser) and the
OS Print Interface to determine some of the output format(page size, 
reduction, etc.) at print time.

For option 2, you must create a fixed format at creatin time.  You 
probably want to output a text file rather than an html file, so you 
can determine/control things such as:

    font spacing (probably fixed)
    line size
    page size
    placement of lines

Dick


At 9:00 AM -0400 5/25/2000, Sicular, Alexander wrote:
>hi all,
>
>I'm looping through a report on my system.  what I'm trying to do is output
>the entire set to one html file and then print that file.  I cant figure out
>how to separate the pages properly.  I was thinking of putting in some
>non-printing ASCII control codes... but I couldn't get it to work.
>
>
><cfset id1_id2 = "976:53,978:53,980:53,984:53">
>
><cfloop index="id1_id2 " list="#id1_id2 #">
>
><cfset id1 = listgetat(id1_id2 ,1,':')>
><cfset id2 = listgetat(id1_id2 ,2,':')>
><cfinclude template="myreport.cfm">
><cfoutput>
>
>#chr(???)#
>
></cfoutput>
></cfloop>
>
>what happens is that if iteration 1 is 1.5 pages long and iteration 2 is 2.5
>pages long, I would like the set to print on 5 pages...
>iteration 1 on pages 1,2 and iteration 2 on pages 3,4,5.
>
>any suggestions?
>
>Alexander Sicular
>------------------------------------------------------------------------------
>Archives: http://www.eGroups.com/list/cf-talk
>To Unsubscribe visit 
>http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_tal 
>k or send a message to [EMAIL PROTECTED] with 
>'unsubscribe' in the body.

------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to