Prema Posted August 2, 2010 Share Posted August 2, 2010 Hi,I am developing website using prestashop. in back office(admin section) i want to add one more module. thats name is warehouse. here i want to generate barcode image. right now in prestashop there is opton ean13 for create barcode.but i want to display in barcode image format.can any one help me? is there any module in prestashop for generate barcode?thanksPrema Link to comment Share on other sites More sharing options...
Vinum Posted March 4, 2011 Share Posted March 4, 2011 Yes, now this module exist.try that :http://addons.prestashop.com/fr/transport-logistique/2150-barcodeprint.html Link to comment Share on other sites More sharing options...
Zachariasann Posted May 23, 2013 Share Posted May 23, 2013 Hi, Im not sure whether prestashop can generate barcode in image format. if I need to generate barcode in my work, I would like to choose a professional image barcode generating sdk, such app can generate barcode in any common image format, very convenient. Link to comment Share on other sites More sharing options...
vekia Posted September 29, 2013 Share Posted September 29, 2013 Viviandlm your message disappeared, can you please write it once again? Link to comment Share on other sites More sharing options...
tuk66 Posted October 1, 2013 Share Posted October 1, 2013 Prema: Why do you need to display a barcode in your shop? Barcodes are for printing and scanning. Link to comment Share on other sites More sharing options...
jerry1023 Posted October 11, 2013 Share Posted October 11, 2013 This free EAN-13 barcode generator control for VB.NET class application can easily and accurately generate & create a standard EAN-13 barcode. Here is the VB.NET demo code: Dim reImage As REImage = REFile.OpenImageFile("c:/Sample.png", New PNGDecoder()) Dim barcode As New Linear() 'create a barcode barcode.Type = RasterEdge.Imaging.Barcode.Creator.BarcodeType.EAN13 'select barcode type barcode.Data = "012345678901" 'set barcode data barcode.X = 1F 'set x barcode.Y = 60F 'set y barcode.Resolution = 96 'set resolution barcode.Rotate = Rotate.Rotate0 'set rotate barcode.DrawBarcode(reImage, 300, 450) 'draw barcode on REImage with location x and y REFile.SaveImageFile(reImage, "c:/ean13.png", New PNGEncoder()) Link to comment Share on other sites More sharing options...
marylanlan Posted June 26, 2014 Share Posted June 26, 2014 have you solved this problem, yesterday, i found a simple way to generate barcode image and display this barcode image. please refer to ean 13 generater source code. hope this can help you Link to comment Share on other sites More sharing options...
tuk66 Posted July 9, 2014 Share Posted July 9, 2014 Are you really using .NET library in PrestaShop? Why not use https://github.com/rlt3/php-barcode, for example. Link to comment Share on other sites More sharing options...
prstshp_joe Posted July 9, 2014 Share Posted July 9, 2014 Prestashop already has pdf tools built-in. You can choose between tcpdf and fpdf, both inside the tools folder. For myself I use tcpdf: <?php require_once(dirname(__FILE__).'/tcpdf_barcodes_1d_include.php'); $code=$_GET["code"]; $tcpdfbarcode = new TCPDFBarcode($code, C128); $tcpdfbarcode->getBarcodePNG(2, 30, array(0,0,0)); ?> 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now