[KCFusion] Printer Friendly Directory Listing

2003-03-11 Thread Chris Holdman
Title: Message




I have a directory listing 
pulling from a database and sorting by departments. Everything work great 
online, but some people are wanting to print it out...when they do sometimes the 
page break for printing occurs in the middle of a department listing and the 
second page does not have the department title. Is there a way to 
determine where a printing page break will occur and force the follwoing page to 
repeat the department title. Below is an example of what I mean and the 
code I currently use.

Department Aaddressphone 
# - namephone # - namephone # - name
Department Baddressphone 
# - namephone # - namephone # - namephone # - namephone # 
- namephone # - namephone # - namephone # - namephone # - 
name
[page break]Department Baddressphone # - 
namephone # - namephone # - name
DepartmentCaddressphone # - namephone # - 
namephone # - name

cfoutput query="list" group="Department" bfont 
size="+1"#Department#/font/bbr #building#br hr align="left" 
width="300" 
cfoutput #Ext# 
- b#Name#/bbr 
/cfoutput 
p/cfoutput


Christopher V. 
Holdman Webmaster - City of 
Olathe (913) 971-6286 (913) 238-4681 Cell [EMAIL PROTECTED]


RE: [KCFusion] Printer Friendly Directory Listing

2003-03-11 Thread Dunwiddie, Bruce
Title: Message





if you 
say apply that to a table tag, and then have multiple tables each having 
that style, it will have a page break between them. of course, I'm sure it's 
only ie, but better than nothing.

  -Original Message-From: Chris Holdman 
  [mailto:[EMAIL PROTECTED]Sent: Tuesday, March 11, 2003 3:03 
  PMTo: '[EMAIL PROTECTED]'Subject: [KCFusion] Printer 
  Friendly Directory Listing
  
  I have a directory listing 
  pulling from a database and sorting by departments. Everything work 
  great online, but some people are wanting to print it out...when they do 
  sometimes the page break for printing occurs in the middle of a department 
  listing and the second page does not have the department title. Is there 
  a way to determine where a printing page break will occur and force the 
  follwoing page to repeat the department title. Below is an example of 
  what I mean and the code I currently use.
  
  Department 
  Aaddressphone # - namephone # - 
  namephone # - name
  Department 
  Baddressphone # - namephone # - namephone # - 
  namephone # - namephone # - namephone # - namephone # - 
  namephone # - namephone # - name
  [page break]Department Baddressphone # - 
  namephone # - namephone # - name
  DepartmentCaddressphone # - namephone # - 
  namephone # - name
  
  cfoutput query="list" group="Department" bfont 
  size="+1"#Department#/font/bbr 
  #building#br hr align="left" 
  width="300" 
  cfoutput 
  #Ext# - b#Name#/bbr 
  /cfoutput 
  p/cfoutput
  
  
  Christopher V. 
  Holdman Webmaster - City of 
  Olathe (913) 971-6286 (913) 238-4681 Cell [EMAIL PROTECTED]