The barcode.asp File Reference

barcode.asp represents a barcode image. You use it the same way you would a CGI program. barcode.asp is only provided for your convenience. If you are a scripting programmer, you can modify its content anyway you see fit.

Syntax

<img src="http://path/barcode.asp">

<img src="http://path/barcode.asp?
     image=imageFormat
     type=type
     &data=data
     &addondata=addOnData
     &rotate=rotation
     &height=height
     &barwidth=barWidth
     &caption=caption
     &addOnCaption=addOnCaption">

Parameters

All the parameters are optional:

image

Numeric value indicating the image format:

type

Numeric value indicating the barcode type

data

String specifying the barcode data

addOnData

String specifying the barcode add-on data if the barcode has an add-on

rotation

Numeric value indicating the rotation of the barcode image

height

Numeric value indicating the height of the barcode image in screen pixels

barWidth

Numeric value indicating the width of the thinnest barcode bar in screen pixels

caption

String specifying the barcode caption

addOnCaption

String specifying the barcode add-on caption

Remarks

barcode.asp generates the barcode image dynamically in the PNG or JPEG format.

barcode.asp uses only a subset of the properties provided by BarCode/ASP. If need be, you can modify barcode.asp to set other properties like text position, etc.