CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products []
CZ | EN | DE
Login or
  Visitors: 2777

CAD tip CAD tip # 31:

Question CAD 
 %  platform  category 
Q - question

How to draw barcode in AutoCAD drawings?

A - answer To create barcodes in AutoCAD drawings you can use e.g. one of the following methods:
  1. write barcode as AutoCAD text (MText) using one of the "barcode" fonts installed in Windows (usually TrueType - EAN, UPC, Code 39/128, UCC, JAN, e.g.: or
  2. using a utility which converts your alphanumeric code group to AutoCAD entities (draws rectangles) - see e.g. BARCODE.LSP on
  3. insert barcode in your AutoCAD drawing as an OLE object of another Windows application - e.g. Corel BARCODE object
  4. use a commercially available barcode ActiveX component and write a simple AutoCAD VBA macro to control it
  5. use a standalone barcode application (like that from and copy/paste the resulting code as a bitmap to your drawing
  6. for QR-codes you can use CADstudio ImgConvert
100% *  CAD 
1.12.1999    40209×   FAQ  

See also:
Tip 11794:Undocumented code in field expression - MText contents without control characters.
Tip 11160:Dynamic display of layer/block/text style/linetype properties.
Tip 11128:How to convert lines forming a text to a text entity.
Tip 10952:All DWG texts in UPPERCASE.
Tip 9814:Export text from DWG drawings to Excel.

Back   All CAD Tips

Have we helped you? If you want to support the CAD Forum web service, consider buying one of our CAD applications, or our custom software development offerings, or donating via PayPal (see above). You may also add a link to your web - like this "fan" link: CAD Forum - tips, utilities, blocks for Autodesk products
CAD:    OS:    Categ: 
Text:  FAQ glossary   

Extend your AutoCAD LT productivity with our popular add-on
CADstudio LT Extension More info

Please use these tips at your own risk.
CAD Studio is not responsible for possible problems that may occur as a result of using any of these tips.