Generate & output UPC-E barcodes to common industry image files
Brief Overview of ASP.NET Linear UPC-E Barcode
UPC-E, a numeric linear barcode symbology, can encode 8 digit numbers, including a check digit which will be automatically computed by our ASP.NET UPC-E barcode generator and a fixed number system (0 or 1). So in general, users could only enter 6 digits in the data textbox.
Install Barcodelib.Barcode.ASP.NET.dll to your ASP.NET project reference.
Install Barcodelib.Barcode.ASP.NET.dll to Toolbox.
After you finish this part, you will see four new items in the Toolbox, similar to the picture below.
Generating UPC-E Barcode Images in ASP.NET Web Site
Copy "linear.aspx", "linear.aspx.cs" from folder barcode to your web project. (Note: If you forget this step, UPC-E barcode will not visible when you are debugging the program in the ASP.NET website.)
Drag LinearASPNET from the toolbox to the split part of your aspx page and you will see a Code 128 barcode.
Adjust the generated barcode type to UPC-E and change other settings in the Properties Window.
Run the project to view created UPC-E barcode.
Creating UPC-E in ASP.NET Using C# or VB Class Codes
To help users generate UPC-E barcode in ASP.NET project, free C# & VB.NET class codes are listed below.
For users who want to generate UPC-E barcode using ASP.NET C# codes:
Generating Linear UPC-E Barcode Images in Microsoft IIS
Our ASP.NET UPC-E barcode generator also makes it possible for users to generate UPC-E barcode in IIS. The following are detailed steps:
Copy the folder "barcode" to your IIS folder, e.g. C:\ interpub.
Create a new virtual directory in your IIS named "barcode", and connect it to the above "barcode" folder pasted in inetpub.
Restart IIS and navigate to: http://YourDomain:port/barcode/linear.aspx?Type=31&Data=123456&LeftMargin=8&RightMargin=8 To make further adjustment for UPC-E image, please view web stream URL parameters for UPC-E here: Linear Barcode UPC-E .NET Barcode Settings
If you want to add this UPC-E barcode image to your aspx or html page, please pass the url to IMG tag or src value. <img src=http://YourDomain:port/barcode/linear.aspx?Type=31&Data=123456&LeftMargin=8&RightMargin=8 /> This method will not generate any UPC-E barcodes in your IIS server side.
Supported 1D & 2D Barcode Types in ASP.NET Project