Precision ID Barcodes Fonts, Barcode ActiveX Controls, and ASP Barcode Generators
PrecisionID Barcode Home Page Barcode Font and ActiveX Control Store Barcode Product User's Guides Barcode Demos Versions How to Contact PrecisionID Search for Barcodes View Shopping Cart Links to related products and services

Native ASP Barcode Generator

ASP Barcode Software Overview
PrecisionID's ASP Barcode Generator enables dynamic creation of barcodes on web pages. Native ASP Barcode files are provided for Code 128, Code 39, EAN, UPC, Interleaved 2 of 5, Postnet, and MSI Plessey. The barcodes are created with a very simple call using HTML, ASP, JavaScript, Pearl, PHP, etc.

Demonstration of the PrecisionID Native ASP Barcode Generator
A demo version of the Native ASP Barcode Generator has been placed on a PrecisionID ASP enabled server. You may access the demo software by calling the demo URLs. Examples and explaination of this are below. You may view source of this page to see how it is done or read below for more examples. Default parameter values are populated in the code which you may overwrite as desired. The PrecisionID ASP demo version includes a demo watermark which is not included in the purchased versions. All other functionality is identical.
Code 128 <img src="http://www.native-asp-barcode.com/precisionid-code128-demo.asp?D=123456789">
Code 39 <img src="http://www.native-asp-barcode.com/precisionid-code39-demo.asp?D=123456789">
UPC-A <img src="http://www.native-asp-barcode.com/precisionid-upc-a-demo.asp?D=123456789012">
Interleaved 2 of 5 <img src="http://www.native-asp-barcode.com/precisionid-i2of5-demo.asp?D=123456789">
EAN 13 <img src="http://www.native-asp-barcode.com/precisionid-ean-13-demo.asp?D=123456789012">
USPS Postnet <img src="http://www.native-asp-barcode.com/precisionid-postnet-demo.asp?D=123456789&H=11">
MSI Plessey <img src="http://www.native-asp-barcode.com/precisionid-msi-demo.asp?D=123456789">

Integration Examples

HTML Example:
<img src="http://www.yourdomain.com/asp/precisionid-code128.asp?D=variable">

ASP Example:
<P>Pure ASP Barcode Generation Example: </P>
<% @ LANGUAGE = VBScript %>
<% Data = "pure-asp-barcode" %>
<img src="<%="precisionid-code128.aspx?D=" & Data %>"
</P></body>
</HTML>


JavaScript Example:
<SCRIPT LANGUAGE="JavaScript">
function display() {
     DispWin = window.open(",'NewWin','menubar=yes,status=no,width=650,height=780')
     message = "<HTML><HEAD><TITLE>Native ASP Barcode Generator Tutorial</TITLE></HEAD><BODY>"
     message += "<img src='http://www.yourdomain.com/asp/precisionid-code128.asp?D="
     message += document.form1.DataField.value;
     message +="'><BR></p></BODY></HTML/>"
     DispWin.document.write(message);
     DispWin.document.close();
}
</SCRIPT>


Parameter List
The parameters listed in the table below may be used to modify the data encoded and change properties. After specifying the ASP file, the question mark ? is used before the first parameter and the ampersand & is used for additional parameters. For example, the following sets several parameters for Code-39:
precisionid-code39.asp?D=ASP-BARCODE&C=F&N=3&X=2&O=270&H=65
PrecisionID recommends only changing parameters when the default setting is not sufficient.

Purpose Parameter Default Description
Apply Tilde A F When ApplyTilde is True in Code 128 with the Auto character set, the format ~??? may be used to specify an ASCII code of a character that is encoded. For example, the data of "ASP~009Barcode" would encode "ASP[TAB]Barcode".
This Parameter is only valid in precisionid-code128.asp
Bar Height H 40 The height of the barcode in pixels.
Check Character C T When set to T, automatically add the check digit to the barcode. Set to F to exclude.
Check Character in Text CT T When set to T, automatically adds the check digit that is encoded in the barcode to the displayed human readable text. Set to F to exclude.
Data Encoded D 123456789012 Data to be encoded into the barcode symbol.
Narrow to Wide Ratio N 2 The narrow to wide ratio of symbologies that only contain narrow and wide bars such as Code 39, Interleaved 2 of 5 and MSI. Valid values are 2 and 3.
Orientation O 0 Orientation of the barcode. Valid values are 0, 90, 180, and 270
Show Text T T When set to T, the human readable text is displayed. When set to F, the human readable text is not shown.
X Dim X 1 The number of pixels per unit of X Dimension. This determines the overall width of the barcode. The default value of 1 equal 1/96 of an inch or ~12 MILS.
Font Size S 12 The font size used for human readable text. Valid values are 10 and 12. Other font sizes can be implemented manually by adding a text field of the desired size below the barcode