- Barcode Products
-
Guide
- Generate barcodes in ASP.NET
- Generate barcodes in .NET WinForms
- Generate barcodes in Visual C#.NET
- Generate barcodes in Visual Basic.NET
- Generate barcodes in Java
- Generate barcodes in Crystal Reports
- Generate barcodes in Reporting Service
- Generate barcodes in RDLC Report
- Generate Barcodes in BIRT Report
- Integration
- Knowledge
- Order Now
- About Us
BusinessRefinery.com provides high performance ASP.NET barcode encoder for UPC-E barcodes and other 20+ linear & 2D barcodes in ASP.NET web forms and Internet Information Service (IIS). It provides various barcode options for customize UPC-E barcodes, and compatible with UPC-E barcode specification.
UPC-E is a fixed-length numeric linear barcode symbology, which the short form representation of a UPC number. It is is generally used on products with very small packaging. It is alsp called Universal Product Code version E, UPC-E Supplement 5/Five-digit Add-On, UPC-E Supplement 2/Two-digit Add-On, UPC-E+5, UPC-E+2, UPC-E0, E0, UPC-E1, E1, GTIN-12 with lead 0, GS1-12, UCC-12.
ASP.NET UPC-E prints 10 letters:
UPC-E is a fixed-length numeric linear barcode symbology, which the short form representation of a UPC number. It is is generally used on products with very small packaging. It is alsp called Universal Product Code version E, UPC-E Supplement 5/Five-digit Add-On, UPC-E Supplement 2/Two-digit Add-On, UPC-E+5, UPC-E+2, UPC-E0, E0, UPC-E1, E1, GTIN-12 with lead 0, GS1-12, UCC-12.
ASP.NET UPC-E prints 10 letters:
- 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
ASP.NET Barcode UPC-E Generator
1. How to create UPC-E barcodes in ASP.NET Web Application using ASP.NET Barcode Generator Web Control Library?
- Download BusinessRefinery.com ASP.NET UPC-E Barcode and unzip
- Copy BusinessRefinery.Barcode.Web.dll to your ASP.NET project folder. Do not copy dll to .NET bin directory, Visual Studio build tools will do it for you.
- Add BusinessRefinery.Barcode.Web.dll to your ASP.NET project or website reference
2. Generate UPC-E into your ASP.NET Web Forms using ASP.NET Barcode Web Control
- Install BusinessRefinery.com ASP.NET UPC-E Barcode
- Add ASP.NET Barcode Generator Control to your Visual Studio ToolBox
- Copy "linear.aspx" and "linear.aspx.cs" to the folder where your aspx pages are generating barcodes.
- Drag and drop "LinearWebForm" to your ASPX web forms.
- Run the website to view the barcodes generated. To customize UPC-E settings, view UPC-E barcode settings below.
3. Generate UPC-E into your Interner Information Service (IIS) using ASP.NET Barcode Web Control
- Download BusinessRefinery.com ASP.NET UPC-E Barcode and unzip
- Copy barcode fold and contents to IIS and create a new file directory called "br_barcode"
- Restart IIS, navigate to http://YourDomain:Port/br_barcode/aspnet.aspx?code=123456&symbology=39
- Add an image tag <img> into the web page to create UPC-E barcode image in html or aspx pages, e.g.
<img src="http://YourDomain:Port/br_barcode/aspnet.aspx? code=123456&symbology =39 />
4. Generate UPC-E into your ASP.NET Web Forms using C#, VB.NET UPC-E Generating Sample Code
How to generate UPC-E barcodes in C#.NET Class?
using BusinessRefinery.Barcode;
Linear barcode = new Linear();
barcode.Symbology = Symbology.UPCE;
barcode.Code = "123456";
barcode.draw arcode2ImageFile("C://upce.gif");
How to generate UPC-E barcodes in VB.NET Class?
Dim barcode As BusinessRefinery.Barcode.Linear barcode = New BusinessRefinery.Barcode.Linear()
barcode.Symbology = BusinessRefinery.Barcode.Symbology.UPCE
barcode.Code = "123456"
barcode.drawBarcode2ImageFile("C://upce.gif")
5. How to draw UPC-E barcodes to image files (GIF, JPEG, BMP, PNG, & TIFF) and ASP.NET objects like Graphics, Stream, Bitmap?
Draw UPC-E barcodes to image files
using BusinessRefinery.Barcode;
Linear barcode = new Linear();
barcode.Symbology = Symbology.UPCE;
barcode.Code = "123456";
barcode.draw arcode2ImageFile("C://upce.gif");
Draw UPC-E barcode image into .NET Graphics, Stream & Bitmap objects.
barcode.drawBarcode2Stream("Stream object");
barcode.drawBarcodeOnGraphics("Graphics object");
Bitmap barcodeInBitmap = barcode.drawBarcode();
ASP.NET Barcode UPC-E Generator - Barcode Property Settings
Basic
- symbology (HTTP Parameter, UPCE: 39; UPCE_2: 40; UPCE_5: 41)to choose barcode type; Default Value: 1 code(HTTP Parameter) to encode UPC-E valid character; Default Value: ""
- code(HTTP Parameter) to encode UPC-E valid character; Default Value: ""
- add-checksum (HTTP Parameter)to apply Checksum digit at the end of some linear barcode value; Default Value: false
For UPC-E
- supplement-code (HTTP Parameter) to add supplement data (2 digits or 5 digits only); Default Value: ""; Valid value: digits 0-9
- supplement-height (HTTP Parameter) to set supplemental code bar module height; Default Value: 0.8f; Valid value: X% of Y
- supplement-space (HTTP Parameter) to set space between UPC-E barcode and supplement code; Default Value: 15
Barcode Size
- barcode-unit (HTTP Parameter)to choose unit of meature for all size related properties ; Default Value: 0 (UOM_PIXEL)
- bar-width (HTTP Parameter) to set bar module width (X); Default Value: 3
- bar-height (HTTP Parameter) to set bar module height(Y); Default Value: 60
- left-margin (HTTP Parameter) to set generated barcode image left margin; Default Value: 0.0f
- right-margin (HTTP Parameter) to set generated barcode image right margin; Default Value: 0.0f
- top-margin (HTTP Parameter) to set generated barcode image top margin; Default Value: 0.0f
- bottom-margin (HTTP Parameter) to set generated barcode image bottom margin; Default Value: 0.0f
- resolution (HTTP Parameter) to control generated barcode image resolution in dpi; Default Value: 72 dpi
- rotate (HTTP Parameter) to rotate generated barcode image angle; Default Value: 0; valid values: 0 (ROTATE_0), 1 (ROTATE_90), 2 (ROTATE_180), 3 (ROTATE_270)
- barcode-width (HTTP Parameter) to manage generated barcode image width; Default Value: 0
- barcode-height (HTTP Parameter) to manage generated barcode image height; Default Value: 0
Barcode Text Style
- display-text (HTTP Parameter) to draw barcode value text under the barcode if it is true; Default Value: true
- display-checksum-digit (HTTP Parameter) to display last checksum digit if it is true; Default Value: true
- text-font (HTTP Parameter) to customize drawn barcode value text font style; Default Value: new Font("Arial", Font.PLAIN, 11) text-margin (HTTP Parameter) to the space between barcode and barcode text; Default Value: 6 pixel