I am developing a system to be used by various vendors to sell phone cards, due 
to the sensitive nature of the output, I want to ensure that the generated 
voucher details are immediate sent to the printer to be printed without the 
user first being shown the details (otherwise they could use the information 
without actually completing the sale). How do I use CFPRINT to achieve this? My 
code that generates my page is:

<!--- output retrieved voucher details --->

<cfoutput query="getVoucher">
<!--- Create table for displaying seller of card  and their company --->

<table width="100%"  border="0" cellspacing="0" cellpadding="0">

        <tr>
            <td>
                        
                        Seller ID: <cfoutput>#SESSION.auth.UserID# 
</cfoutput><br>

                </td>
            </tr>               
                
                <tr>
                        <td>
                        Company: 
<cfoutput>#SESSION.auth.retailorName#</cfoutput><br>
                        </td>
                        
                </tr>
</table>        

<p></p> 

<!--- begin table for displaying Query Results --->

<table width="100%"  border="0" cellspacing="0" cellpadding="0">

        <tr>
            <td>
                        Voucher Name: 
                </td>
                        <td>
                        #getVoucher.voucherName# 
                        </td>
                        
                </tr>
                <tr>
                        <td>
                        Recharge Message: 
                </td>
                        <td>
                        #getVoucher.prepayRechargeMessage# 
                </td>
                </tr>
                <tr>
                        <td>
                        Denomination: 
                </td>
                        <td>
                        #getVoucher.denomination# 
                </td
                ></tr>
                <tr>    
                        <td>
                        expiryDate: 
                </td>
                        <td>
                        #getVoucher.expiryDate# 
                </td>
                <tr>
                <tr>
                        <td>
                        Pin: 
                </td>
                        <td>
                        #getVoucher.pin# 
                </td>
                </tr>
                <tr>    
                        <td>
                        Serial Number: 
                </td>
                        <td>
                        #getVoucher.serialNumber# 
                </td>
                </tr>
                <tr>
                        <td>
                        Calling Instructions: 
                </td>
                        <td>
                        #getVoucher.voucherCallingInstructions# 
                </td>
                </tr>
                <tr>    
                        <td width="200">
                        Support Number: 
                </td>
                        <td>
                        #getVoucher.supportNumber# 
                </td>
                <tr>    
                <tr>
                        <td>
                        Refund policy: 
                </td><td>
                        #nonRefundableMessage# 
                </td>

                        
                </tr>

         </tr>
</table>
<hr width="70%">
</cfoutput>



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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318327
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to