The barcode is generated as an image data stream in GIF format and sent to the browser or your application.
The integration into Html documents can be done with the Html Image Tag - like this:
The bar code type and the other bar code properties are supplied via GET parameters (separated by &).
|
https://services.tec-it.com/aspx/tbarcode/barcode.ashx? |
|
accesskey=YourAccessKey |
Your access key (identifies your account) |
|
&code=Code39 | Code128 | ... |
Barcode type (see list below for the possible values) |
|
&data=Hello%201234 |
Barcode data (URL encoded, UTF-8) |
|
&dpi=96 |
Bitmap resolution in DPI (Default: 96 dpi) - optional |
|
&modulewidth=auto | fit | min | [value] |
Module width: auto or fit: value is selected appropriately min: value is selcted as small as possible
[value]: value is specified numerically |
|
&unit=mm | px | mils |
Unit (for width, height and modulewidth) - optional
mm: Millimeter; px: Pixel; mils: 1/1000 inch; fit: identical to modulewidth=fit |
|
&height=heigth (numerical) |
Height (&unit=..) incl. quiet zone - optional |
|
&width=width (numerical) |
Width (&unit=..) incl. quiet zone - optional |
|
&qz=quiet zone (numerical) |
Quiet zone (&qzunit=..) - optional 5 (all sides) | 5,10 (top/bottom, left/right) | 5,10,5,20 (top, right, bottom, left) |
|
&qzunit=mod | mm | px | mils | in | none |
Unit for the quiet zone - optional
mod: Module (standard); mm: Millimeter; px: Pixel; mils: 1/1000 inch; in: inch |
|
&bb=bearer bar (numerical) |
Widt of the bearer bar in [mm] for ITF-14 - optional |
|
&bbtype=tb | rect | none |
Type of the bearer bar for ITF-14 - optional
tb: only horizontal (default); rect: all sides; none: no bearer bar
|
|
&translate-esc=on | off |
Translate escape sequences (on = translate) \F -> FNC1, \xFA -> binary value in hex format, \t -> Tab, \n -> Line Feed, \r -> Carriage Return |
|
&codepage=Default | Utf_8 | Windows1252 |
[...]
|
Code page for encoding the barcode data.
Usually used with 2D codes (e.g. QRCode vCard uses Utf_8).
|
|
&eclevel=Low | Medium | Quartil | High |
Error correction level for QR Code - optional |
|
&cdmethod=Standard | Modulo10 | [enum] |
Check digit method (see API description) - optional |
|
&hrt=ABCDEFG |
Display text - optional (only if the display text should differ from the barcode data). |
|
&showhrt=yes | no |
Show human readable text line - optional (Default: yes), applied only to linear code types. |
|
&composite=auto | cca | ccb | ccc |
2D Composite Component - optional (applies only to Composite Codes) |
|
&rotation=0 | 90 | 180 | 270 |
Orientation (rotation) of the bar code in degree - optional |
|
&scalex=1,2,3... |
Horizontal scaling - optional |
|
&scaley=1,2,3... |
Vertical scaling - optional |
|
&format=gif | jpg | png | svg |
Generated bitmap or vector format (default: GIF) - optional |
|
&download=false | true |
File will be delivered as attachment (Default: false) - optional |
|
&onerror=show | ignore | 500 | 204 |
Error handling (see API description) (Default: show) - optional |
|
&hash=E3A243F7... |
Hash code - optional (only if set for your account) |