Re: Printer Question

2008-07-31 Thread Dakota Burns
Thank you Dave, Ian, and Claude!  The CSS method should work fine (tested 
works).  Will keep the CFDocument method in mind for future reference as
outputting to PDF is quite powerful.
Best regards,
- Dakota

On Tue, Jul 29, 2008 at 10:17 AM, Claude Schneegans 
[EMAIL PROTECTED] wrote:

 Just put this style in the first P or BR for your new page:
 STYLE=page-break-before: always;

 --
 ___
 REUSE CODE! Use custom tags;
 See http://www.contentbox.com/claude/customtags/tagstore.cfm
 (Please send any spam to this address: [EMAIL PROTECTED])
 Thanks.


 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310011
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Printer Question

2008-07-29 Thread Dave Phillips
You can enter a page break with CSS that might work.  Try googling +css
+page break

Dave

-Original Message-
From: Dakota Burns [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 29, 2008 9:49 AM
To: CF-Talk
Subject: Printer Question

Hi -
I have an intranet form that allows users to print multiple listings by
selecting a checkbox for each one.  After the form is submitted, a long page
is returned with each listing separated by a horizontal bar, (the code I'm
using uses cfoutput to loop through the queried listings).  When the user
prints the batch of listings, they cut at the horizontal line in order to
separate them, (some listings span 2.5 pages printed in portrait format).
 Is their a way through coding or a third-party tool, to print these
listings in portrait format so new listings start on a new page?

(This thought may be to simplistic, but what I'm essentially looking to do
is insert a page-break at the end of each loop.)

Thanks for your help.
~ Dakota




~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309866
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Printer Question

2008-07-29 Thread Ian Skinner
Dakota Burns wrote:
  Is their a way through coding or a third-party tool, to print these
 listings in portrait format so new listings start on a new page?

 (This thought may be to simplistic, but what I'm essentially looking to do
 is insert a page-break at the end of each loop.)

 Thanks for your help.
 ~ Dakota
If you can convince the client(s) to use a browser that understands the 
CSS page-break-after directive, you could put that on the horizontal 
rule and it would do what you desire in these browsers.  Unfortunately 
IE is not one of these browsers as far as I know, I haven't tried it in 
the latest version yet.

If delivering PDF documents is acceptable you could use CF's 
cfdocument... functionality to accomplish this.

HTH
Ian

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309867
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Printer Question

2008-07-29 Thread Claude Schneegans
Just put this style in the first P or BR for your new page:
STYLE=page-break-before: always;

-- 
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309868
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4