CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor and other Autodesk products []
Cesky English Deutsch
 Visitors: 4118 

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    30767x   FAQ  
Comments   Tell a friend

See also:
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.
Tip 8640:Text formatting codes in MText objects.
Tip 8521:How to type greater or equal, less or equal in AutoCAD (≤ ≥)?

Back   All CAD Tips All CAD tips&tricks

After creating of new Profile, EN commands (_line e.g.) in old profile cause crash of AutoCAD. « | » DXF in R12 format saved from A2000 does not explode MTEXT to TEXT (unlike R14)

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 (Xanadu) is not responsible for possible problems that may occur as a result of using any of these tips.