This is a guess, because I have no experience with the custom tag to make the 
barcode image, but you may want to save the content out at a variable first.  
Then put it in the <cfdocument> tag.  This has always worked best for me.


<cfsavecontent variable="voucher">

    <table width="900" border="0" cellspacing="1" cellpadding="1">
      <tr>
        <td width="420" align="left" valign="bottom"><img src="Images/logo.png" 
/></td>
        <td width="473" align="left" valign="middle" class="TEXTLEFT">4840 PERL 
EAST CIRCLE, 210 W. <span class="ORANGE">| </span>BOULDER <span 
class="ORANGE">|</span> CO <span class="ORANGE">|</span> 80301</td>
....  etc

</cfsavecontent>


<cfdocument format="PDF" filename="Voucher.pdf" overwrite="Yes" localUrl="Yes">
#variables. Voucher#
</cfdocument>


-----Original Message-----
From: Bruce Sorge [mailto:[email protected]] 
Sent: Thursday, September 20, 2012 1:03 PM
To: cf-talk
Subject: Issue with CF Barcode39


Has anyone here used CFBARCODE? I am having a small issue with it.

Basically, I am creating a PDF using CFDOCUMENT and inside the PDF I am using 
CF_Barcdode39 to insert a barcode into the document that will be emailed to a 
customer. When I put the code into CFMAIL all works fine, images including 
barcode are there. But because someone can get that emal and put it into a word 
doc and change the barcode, they want to use a PDF instead. With the PDF, the 
logo and signature images are fine. But the barcode will not insert into the 
PDF and I really cannot figure out why. I have tried cfinclude as well as just 
putting cf_barcode in the code as I did below. Since the barcode is basically 
an image that is being created based on the actual barcode in the database, I 
put it in an IMG tag but still get the nice little red x on the document. Below 
is the code I am using. 
 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352682
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to