Swiftbarcode      to create your own barcodes
  Home | Examples | Parameters | Products | Contact us | Site map | FAQ Quick links :  Order
 

Swiftbarcode parameters for version v1_10

Parameter name / Description
Allowed values
Default
Example
symbology
System of encoding
EAN13
EAN8
UPCA
UPCE
JAN
SUP2
(2-Digit UPC suplement)
SUP5 (5-Digit UPC suplement)
BOOKLAND
EAN13 <param name="symbology" value="UPCA">
orientation
This parameter sets the orientation of the barcode
0 (horizontal)
1 (rotated to the left)
2 (rotated to the rigth)
3 (upside down)
0 <param name="orientation" value="2">
bar_code_width
Width factor. The minimum possible width of a narrow bar is 1/96 inch (about 0.03 cm). If the width factor is set to 1, the narrow bar will be displayed at 1/96 inch (0.03 cm). The narrow bar must be a multiple of 1/96 inch and the number of multiples is set by the bar_code_width parameter.
Any integer greater than 0 (eg 1,2,3, ...) 1 <param name="bar_code_width" value="2">
bar_code_height
Sets the height of the barcode (not including the UPC and EAN guard bar additional height). The actual height in inches (cm) is bar_code_height * 1/96 inch (bar_code_height * 0.03 cm). For example a bar_code_height of 40 will display the barcode 40/96 inch high.
Any integer greater than 0 40 <param name="bar_code_height" value="60">
bar_code_value
The actual value to be encoded
Depends on symbology 123456789012 <param name="bar_code_value" value="5000243674407">
check_digit_supplied
Specifies if the bar_code_value contains the check digit or not. Can only be used for UPC and EAN symbologies.
Y The bar_code_value contains the check digit
N The bar_code_value does not contain the check digit. The Swiftbarcode software will calculate the check digit.
N <param name="check_digit_supplied" value="Y">
font_size
Sets the size of the barcode text
Any integer 22 <param name="font_size" value="12">
font_type
Font type of the barcode text.
Helvetica, Courier, TimesRoman, Dialog, Symbol, Sans Serif, Arial and Wingdings Courier <param name="font_type" value="Arial">
text_display
To display or not display barcode text
Y barcode text displayed
N barcode text not displayed
Y <param name="text_display" value="N">
font2_size
Sets the size of the ISBN text. Only to be used for bookland symbology.
Any integer 18 <param name="font2_size" value="12">
font2_type
Font type of the ISBN text. Only to be used for bookland symbology.
Helvetica, Courier, TimesRoman, Dialog, Symbol, Sans Serif, Arial and Wingdings Courier <param name="font2_type" value="Arial">
text2_display
To display or not display ISBN text. Only to be used for bookland symbology.
Y ISBN text displayed
N ISBN text not displayed
Y <param name="text2_display" value="N">