Re: Issue with CF Barcode39
I've never tried to use a special font (i.e. not standard windows) with ColdFusion - do you have to register the font with CF in teh administrator or something like that? Does it print out the number in times roman or helvetica or something? Cheers Mike Kear On Sat, Sep 22, 2012 at 2:36 AM, Bruce Sorge wrote: > > I downloaded the font but my macbook is not picking it up. It recognizes > other fonts that I have installed but not this one. Weird. > > Bruce > On Sep 20, 2012, at 4:03 PM, Mike Kear wrote: > > > > > You might need to download a 3of9 truetype font and print the number you > > want in that font. it's just like printing 44557841 in TimesRoman, > > except you're printing it in Barcode3of9. That's the way we've been > > printing barcodes for decades. > > > > Cheers > > Mike Kear > > Windsor, NSW, Australia > > Adobe Certified Advanced ColdFusion Developer > > AFP Webworks > > http://afpwebworks.com > > ColdFusion 9 Enterprise, PHP, ASP, ASP.NET hosting from AUD$15/month > > > ~| 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:352699 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Issue with CF Barcode39
I downloaded the font but my macbook is not picking it up. It recognizes other fonts that I have installed but not this one. Weird. Bruce On Sep 20, 2012, at 4:03 PM, Mike Kear wrote: > > You might need to download a 3of9 truetype font and print the number you > want in that font. it's just like printing 44557841 in TimesRoman, > except you're printing it in Barcode3of9. That's the way we've been > printing barcodes for decades. > > Cheers > Mike Kear > Windsor, NSW, Australia > Adobe Certified Advanced ColdFusion Developer > AFP Webworks > http://afpwebworks.com > ColdFusion 9 Enterprise, PHP, ASP, ASP.NET hosting from AUD$15/month ~| 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:352698 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Issue with CF Barcode39
You might need to download a 3of9 truetype font and print the number you want in that font. it's just like printing 44557841 in TimesRoman, except you're printing it in Barcode3of9. That's the way we've been printing barcodes for decades. Cheers Mike Kear Windsor, NSW, Australia Adobe Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion 9 Enterprise, PHP, ASP, ASP.NET hosting from AUD$15/month On Fri, Sep 21, 2012 at 4:25 AM, Chad Gray wrote: > > 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 tag. This has always worked best > for me. > > > > > > > src="Images/logo.png" /> > 4840 > PERL EAST CIRCLE, 210 W. | BOULDER class="ORANGE">| CO | 80301 > etc > > > > > localUrl="Yes"> > #variables. Voucher# > > > > -Original Message- > From: Bruce Sorge [mailto:sor...@gmail.com] > 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:352691 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Issue with CF Barcode39
I did a CFDUMP on the varabies.voucher and copied and pasted it into an HTML document and the barcode shows up. What's interesting is that it won't work in a PDF, and I think that I know why. The dump code consists of all of the span tags that make up the barcode, so it's not actually an image, it's HTML formatting, but when creating the PDF it's not working right. Attached is a small sample: and so on and so on until the barcode is created. So it seems that making a PDF, it does not know what to do with the SPAN tag. This requires some more digging Bruce On Sep 20, 2012, at 12:25 PM, Chad Gray wrote: > > 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 tag. This has always worked best for me. > > > > > > > src="Images/logo.png" /> >4840 > PERL EAST CIRCLE, 210 W. | BOULDER class="ORANGE">| CO | 80301 > etc > > > > > localUrl="Yes"> > #variables. Voucher# > > > > -Original Message- > From: Bruce Sorge [mailto:sor...@gmail.com] > 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:352690 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Issue with CF Barcode39
Nope, same exact issue On Sep 20, 2012, at 12:25 PM, Chad Gray wrote: > > 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 tag. This has always worked best for me. > > > > > > > src="Images/logo.png" /> >4840 > PERL EAST CIRCLE, 210 W. | BOULDER class="ORANGE">| CO | 80301 > etc > > > > > localUrl="Yes"> > #variables. Voucher# > > > > -Original Message- > From: Bruce Sorge [mailto:sor...@gmail.com] > 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:352688 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Issue with CF Barcode39
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 tag. This has always worked best for me. 4840 PERL EAST CIRCLE, 210 W. | BOULDER | CO | 80301 etc #variables. Voucher# -Original Message- From: Bruce Sorge [mailto:sor...@gmail.com] 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