DynamicPDF™ Generator v3.0 for COM/ActiveX has built-in support for Bar Codes. These Bar Codes are rendered using vector based graphics and can be scaled to any size without loosing resolution. The bar codes are page elements and can be placed on a page in the same manner as other page elements. The following Bar Codes are supported:
- Codabar
- Code 128
- Code 2 of 5
- Code 3 of 9
- Postnet
- Interleaved 2 of 5
- EAN 13
- EAN13 Supplement 2
- EAN13 Supplement 5
- UPC Version A
- UPC Version A Supplement 2
- UPC Version A Supplement 5
- EAN8
- EAN8 Supplement 2
- EAN8 Supplement 5
- UPC Version E
- UPC Version E Supplement 2
- UPC Version E Supplement 5
Adding a Bar Code to a page is very straight forward:
[ASP - VBScript]
<!-- METADATA TYPE="typelib" UUID="{DF9225FE-94A4-490D-8CAD-E8366CE621D3}" -->
<%
' Add a bar code to a page.
Dim MyDocument
Dim MyPage
Set MyDocument = Server.CreateObject( "DynamicPDF.Document" )
Set MyPage = MyDocument.AddPage()
MyPage.AddCode128 "Barcode Data", 0, 0, 20
MyDocument.DrawToWeb
Set MyPage = Nothing
Set MyDocument = Nothing
%>
| See Also |
Programming with Generator for COM-ActiveX

