This content has been marked as final.
Show 2 replies
-
1. Re: How to get result query to print PDF pages, e.g.invoices?
Dan Bracuk Dec 17, 2010 4:21 PM (in response to sakonnetweb)The simplest idea that pops into my head is:
<cfloop>
<cfdocument>
<cfprint>
closing tags
I've neber actually tried this. What happened when you did?
-
2. Re: How to get result query to print PDF pages, e.g.invoices?
BKBK Dec 18, 2010 9:02 AM (in response to sakonnetweb)Copy all 1000 invoces as one PDF document, then print. Something like this
<cfdocument format="PDF" name="invoices">
<html>
<cfloop through query or array or list, and so on, to get each address>
<!--- Text containing a dynamically generated address goes here --->
</cfloop>
<!--- Starts a new page for each pass of the loop --->
<cfdocumentitem type="pagebreak" />
</html>
</cfdocument><cfprint source="invoices" printer="\\s1001prn02\NTN-2W-HP_BW02">

