Hi Guys.
  
 I running the Barbecue barcode application on CF V8.  No issues works 
well.
  
 I'm in the process of doing a migration to CF11.  The barcodes do generate 
but in CF11 there are no numbers below the barcode.  I think it has 
something to do with the font.
  
 I'm running V1.5 beta 1.  Which appears to be the latest version 
http://barbecue.sourceforge.net/
  
 Has anyone had an experience with this product and CF 10 or 11.  Does 
anyone use a different produce to produce barcodes.
  
 Code snippet below.
  
 bc = createobject("java","net.sourceforge.barbecue.Barcode");
 bcFactory = 
createobject("java","net.sourceforge.barbecue.BarcodeFactory");
 bcEnv = 
createObject("java","net.sourceforge.barbecue.env.EnvironmentFactory");
  
  
        os = createobject("java","java.io.FileOutputStream");
        number = orderNumber;
        bcImage = 
createobject("java","net.sourceforge.barbecue.BarcodeImageHandler");
        bc = bcFactory.createCode128("*2175#number#");
        bc.setLabel("*2175 #number#");
        bc.setBarWidth(0.35);
        bcEnv.setHeadlessMode();
        bc.setFont(bcEnv.getEnvironment().getDefaultFont());
        bc.setDrawingText(true);
        bc.setDrawingQuietSection(true);
        fileName = "c:\inetpub\wwwroot\iMine Prod\BBQ\#url.id#.jpg";
        bcImage.writeJPEG(bc, os.init(fileName));
        os.flush();
        os.close();
  
  
Brian
  

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.

Reply via email to