|
 |
|
ASP/Barcode is a server side COM component that allows web developers to add barcodes to their applications. It supports most standard barcodes : Code39, Code39Ext, Code128 (A,B,C, and Auto), Code93, Code93Extended, MSI, PostNet, Codabar, EAN8, EAN13 ,etc.
|
This component is shareware version without limitations on functionality or time, the only limitation is it displays a cross line on the barcode generated, if you want to remove it then you have to register it for US$50.
unregistered version:

ASP/Barcode Component |
CH.2 |
Features |
- supporting most standard symbologies: Code39, Code39Ext, Code128 (A,B,C, and Auto) , Code93, Code93Extended, MSI, PostNet, Codabar, EAN8, EAN13, Code_2_5_interleaved, Code_2_5_industrial, Code_2_5_matrix, UPC_A, UPC_E0, UPC_E1, UPC_Supp2, UPC_Supp5, EAN128 (A,B,C, and Auto)
- full control bar properties for narrow width, ratio, bar color, background color, bar height
- Enable or disable checksum calculation for Code39, EAN8 or EAN13
- Orientation options - Rotate barcodes 0, 90,180, 270 degrees.
- Output format: PNG, JPG, BMP
- Support ASP, PHP (COM class - Windows)
ASP/Barcode Component |
CH.3 |
Installation |
for zip file:
- Unzip the aspBarcode.zip file extract to a directory.
- copy register.bat and nonnoi_ASPBarcode.dll to the WINNT\SYSTEM32 (or WINDOWS\SYSTEM on Win95/98 or WINDOWS\SYSTEM32 on WinXP Home) directory
- run register.bat
- Done!
for setup(.exe) file:
- run setup_aspBarcode.exe
- Follow instructions of the installer
- Done!
After you register the dll, place the barcode.asp (found in the demo
folder) in your website's directory. Then use this HTML code in any page
you wish to display the barcode:
<img src="barcode.asp?image=1&type=14&data=<%=pass parameters here%>">
ASP/Barcode Component |
CH.4 |
Reference |
ImageTypeStr
String value indicating the image format:
ImageType
Numeric value indicating the image format:
- 1 for JPG
- 2 for BMP
- 3 for PNG
BarcodeTypeStr
String value indicating the barcode type:
- 2_5_interleaved
- 2_5_industrial
- 2_5_matrix
- Code39
- Code39 Extended
- Code128A
- Code128B
- Code128C
- Code93
- Code93 Extended
- MSI
- PostNet
- Codebar
- EAN8
- EAN13
- UPC_A
- UPC_E0
- UPC_E1
- UPC Supp2
- UPC Supp5
- EAN128A
- EAN128B
- EAN128C
- Code128Auto
- EAN128Auto
BarcodeType
Numeric value indicating the barcode type:
- 0 for 2_5_interleaved
- 1 for 2_5_industrial
- 2 for 2_5_matrix
- 3 for Code39
- 4 for Code39 Extended
- 5 for Code128A
- 6 for Code128B
- 7 for Code128C
- 8 for Code93
- 9 for Code93 Extended
- 10 for MSI
- 11 for PostNet
- 12 for Codebar
- 13 for EAN8
- 14 for EAN13
- 15 for UPC_A
- 16 for UPC_E0
- 17 for UPC_E1
- 18 for UPC Supp2
- 19 for UPC Supp5
- 20 for EAN128A
- 21 for EAN128B
- 22 for EAN128C
- 23 for Code128Auto
- 24 for EAN128Auto
Checksum
Enable or disable checksum calculation for Code39, EAN8 or EAN13 (True or False).
ChecksumMethod
Numeric value indicating the Checksum Method type:
- 0 for None
- 1 for Modulo10 (default for EAN 8/13)
Orientation
Numeric value specifying the orientation of the bar code: 0, 90, 180, 270
Data
Contents of the barcode.
NarrowBarWidth
Numeric value specifying the Width of narrow bar (Width of the smallest line in the barcode).
ShowText
Enable or disable show data of barcode in plain text (True or False).
Height
Numeric value specifying the Height of the resulting image of the barcode.
Ratio
A property specifying the ratio of wide bar over narrow bar.
BGColor
Numeric value specifying the color value.
Example:
Obj.BGColor RGB(&hFF, &h00, &h00)
BarColor
Numeric value specifying the bar color value.
Example:
Obj.BarColor RGB(&hFF, &h00, &h00)
SetTextFont (Name,Size,Color,Spacing)
Set font name, size, color and text spacing for show data of barcode in plain text.
Example:
Obj.SetTextFont "Arial",9,RGB(&hFF, &h00, &h00),1
Obj.SetTextFont "Arial",9,RGB(&hFF, &h00, &h00)
Obj.SetTextFont "Tahoma",9
Obj.SetTextFont "Verdana"
ShowBarcode
Method to generate image of barcode and return to browser.
SaveBarcode(FileName)
Method to generate image of barcode and save to file.
Parameters:
FileName - save image of barcode to this specified name.
RegisterName
if you already registered this product, input your name (company name or customer name) here.
** you must set this value before call ShowBarcode or SaveBarcode.
RegisterKey
if you already registered this product, input your registration key here.
** you must set this value before call ShowBarcode or SaveBarcode.
ASP/Barcode Component |
CH.5 |
Example |
ASP :
<%
Set Obj = Server.CreateObject("nonnoi_ASPBarcode.ASPBarcode")
Obj.ImageTypeStr = "JPG"
Obj.BarcodeType = 14
Obj.Height = 50
Obj.Data = "1234567890"
Obj.ShowText = True
Obj.ShowBarcode
set Obj = nothing
%>
PHP :
<?php
// starting object
$Obj = new COM("nonnoi_ASPBarcode.ASPBarcode") or die("Unable to load ASPBarcode");
$Obj->Visible = 1;
$Obj->ImageTypeStr = "JPG"; // or use Obj.ImageType = 1
$Obj->BarcodeType = 14;
$Obj->Height = 50;
$Obj->Data = "1234567890";
$Obj->ShowText = True;
$Obj->ShowBarcode;
//free the object
$Obj = null;
?>
ASP (Registered User):
<%
Set Obj = Server.CreateObject("nonnoi_ASPBarcode.ASPBarcode")
Obj.ImageTypeStr = "PNG"
Obj.BarcodeType = 14
Obj.Height = 50
Obj.Data = "1234567890"
Obj.ShowText = True
Obj.RegisterName = "Nonnoi"
Obj.RegisterKey = "0123456-789"
Obj.ShowBarcode
set Obj = nothing
%>
ASP/Barcode Component |
CH.6 |
Update & Order |
Click here for prices and discount information.
Click here for product news & information.
Click here for product support or any comment.