Print Page | Close Window

Insert a barcode

Printed From: CAD Forum
Category: EN
Forum Name: AutoCAD
Forum Description: Discussion about AutoCAD and AutoCAD LT, viewers, DWG and DWF formats, Design Review, AutoCAD 360, add-ons
URL: https://www.cadforum.cz/forum_en/forum_posts.asp?TID=553
Printed Date: 31.May.2026 at 23:32


Topic: Insert a barcode
Posted By: shrieky
Subject: Insert a barcode
Date Posted: 10.Mar.2008 at 15:03
Hi All,
I have a requirement to insert a barcode as a new layer onto a existing autocad drawing. I want to use the existing barcode fonts of window to make the barcode out of the alpha numeric string supplied.
 
I am very new to autocad programming. Please guide me . A piece of would be very useful.



Replies:
Posted By: Vladimir Michl
Date Posted: 10.Mar.2008 at 16:03
Please see the related CAD tips below your posting.

-------------
Vladimir Michl (moderator)
ARKANCE - https://arkance.world" rel="nofollow - https://arkance.world - Autodesk Platinum Partner


Posted By: shrieky
Date Posted: 10.Mar.2008 at 16:07

I have visited those links. But i want it to be automated  and i want to add a text style (barcode) dynamically. I am very new to programming , so iam looking for a piece of code which can achieve this.



Posted By: Vladimir Michl
Date Posted: 10.Mar.2008 at 16:27
Just write a text (alphanumeric code) using a predefined style (with a barcode TTF font), or use the CHANGE command on an existing plain text entity.

-------------
Vladimir Michl (moderator)
ARKANCE - https://arkance.world" rel="nofollow - https://arkance.world - Autodesk Platinum Partner



Print Page | Close Window