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.
<cfoutput query="qGetUserEmail"> <cfdocument format="PDF" filename="Voucher.pdf" overwrite="Yes" localUrl="Yes"> <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> </tr> <tr> <td colspan="2" valign="top"><hr size="10" noshade="noshade" /> <hr size="50" noshade="noshade" color="##DE6E1B" /> <p> </p></td> </tr> <tr> <td colspan="2"> Dear #F_Name# #L_Name#, <BR /> <BR /> Thank you for your support of Make A Hero and #Deal_Name#! A portion of this lift ticket will go toward supporting local adaptive groups that help individuals with physical disabilities regain their freedom through skiing. Please spread the word about the great cause you have supported today by telling friends and family about this deal and other donation opportunities. <BR /> <BR /> <BR /> <center> This voucher is for #F_Name# #L_Name#, Birth date: #Birthdate#,<BR /> Address: #Address_1#, <cfif #Address_2# NEQ ''> #Address_2#,</cfif> #City#, #State#, #Zip#<BR /> Your order was submitted on #DateRegistered# at #Time_Registered# for a #Deal_Name#! <BR /> <BR /> <BR /> <b>Your #Deal_Name# Resort Voucher ## is:</b> <BR /><br /> <cfoutput> <img src=<CF_barcode39 InputValue="#qGetUseremail.Barcode#" BarWidth="2" BarHeight="50" TextTop="" TextBottom="#qGetuserEmail.Barcode#"> </cfoutput> <BR /> NO CASH VALUE / NOT FOR RESALE / NON-TRANSFERABLE <BR /> <BR /> <BR /> </center> This is a restricted #Deal_Name# resort lift ticket voucher redeemable Monday through Friday between the hours of 9:00 am and 4:00 pm, excluding blackout dates. Only one voucher per person. This voucher is only for a single day lift ticket to #Deal_Name# Resort, redeemable at the box office with a physical copy of this voucher and a valid ID that has the matching name, address and birth date. Children using this voucher must be accompanied by a parent with a valid ID. Excluded blackout dates include: 11/19 - 11/23/2012; 12/24 - 12/28/2012; 1/21/2013 and 2/18/2013. <BR /> To further support Make A Hero's cause of learn more information about our movement, please visit our website at www.makeahero.org, like us on <a href="https://www.facebook.com/makeahero">Facebook</a> or follow us on <a href="https://twitter.com/MakeAHeroOrg">Twitter</a>. If you have any questions, please email <a href="mailto:h...@makeahero.org">h...@makeahero.org</a> with your Make A Hero reference number:#Confirmation_Number# </td> </tr> <tr> <td>With Sincere Thanks,<BR /><BR /> <img src="Images/KurtSig.png" width="186" height="94" /><BR /><BR /> Make A Hero Founder </td> </tr> </table> </cfdocument> </cfoutput> Thanks, Bruce ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:352679 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm