简体   繁体   English

条码生成器

[英]Barcode Generator

hi I am developing a online billing software for a Grocery shop .This is a simple application which can be used for to manage their stock and billing .I should integrate bar code generating option in this application . 您好,我正在为一家杂货店开发在线计费软件。这是一个简单的应用程序,可用于管理其库存和计费。我应该在此应用程序中集成条形码生成选项。 They are using TVS LP45 bacode printer . 他们正在使用TVS LP45条形码打印机。 My plan was to generate barcode to a PDF file and let the user to print that . 我的计划是将条形码生成为PDF文件,然后让用户进行打印。 for example,if they have 10 units of 1kg onion bag on stock when they click to generate barcodes for onion we need to get 10 barcode of onion a sheet . 例如,如果他们有10个1kg洋葱袋的存货,当他们单击以生成洋葱条码时,我们需要将10条洋葱条码换成一张。 I am using PHP for the implementation .But i am not much idea how to implement this barcode integration section? 我正在使用PHP进行实现。但是我不知道如何实现此条形码集成部分? please help me 请帮我

As you want a solution in PHP, I suggest a simple PHP library called php-barcode by davidscotttufts . 当您想要使用PHP解决方案时,我建议使用由davidscotttufts命名的简单PHP库php-barcode This is very simple straight forward solution and you may able to generates barcodes in four barcode formats including Code 128, Code 39, Code 2of5, and Codabar. 这是非常简单的直接解决方案,您可以生成四种条形码格式的条形码,包括Code 128,Code 39,Code 2of5和Codabar。

You can find simple usage in http://davidscotttufts.com/2009/03/31/how-to-create-barcodes-in-php/ 您可以在http://davidscotttufts.c​​om/2009/03/31/how-to-create-barcodes-in-php/中找到简单的用法

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM