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

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 Download
  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    46171×   FAQ  
Prices - CAD eShop:

See also:
Tip 14080:AutoCAD 2025 is not displaying some fonts correctly.
Tip 13426:Use of alternative units for arithmetic in dimensions (without square brackets).
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.

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   

Save your floating licenses (NLS) consumed by inactive users - free unused licenses with
LogOff 2006 More info

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