Just Barcodes CL Help - Interleaved 2 of 5 Command Line Options


Data / number
-data [Number]
Sets the barcode number. Required
To use 12345678 for the barcode number:
-data 12345678
A specific number, or an even or odd number of digits may be required, depending on the other options. More details on Data Constraints are given in the table below.
Check digit
-check
Automatically calculates and appends a check digit at the end of the number. Optional
e.g.
-check
See Data Constraints in the table below.
Fixed length
-len [Length]
Forces the barcode to contain the specified number of digits. Optional
e.g. to generate fixed length codes with 8 digits:
-len 8
When using the automatic check digit, you need to provide one less digit than you specify here, as this length includes the check digit
See Data Constraints in the table below.
Pad with zeroes
-pad
Allows one or more leading zeroes to be automatically added before the number, in order to achieve the correct number / an even number of digits. Optional
e.g.
-pad
See Data Constraints in the table below.
Narrow bar width
-narrow [Width]
Sets the narrow bar width in microns or mils. Required
e.g. to use a narrow bar width of 400 microns (assuming the default size units are in use):
-narrow 400
Range:
127 - 6350 microns
5 - 250 mils
The units depend on the size units setting.
Width choice
-widc [closest | greater | less]
Selects what to do if the exact desired narrow bar width cannot be achieved. Optional
Use greater for the closest available width greater than or equal to the chosen value.
Use less for the closest available width less than or equal to the chosen value, e.g.
-widc less
Default: closest (this chooses the closest available value)
Bearer bar type
-bearer [none | topbottom | box]
Configures / disables the type of bearer bars. Optional
e.g. to join the top and bottom bearer bars to form a box around the barcode:
-bearer box
Default: topbottom
The use of bearer bars is recommended.
Bearer bar width
bearerw [Width]
Sets the width (thickness) of the bearer bars (if used) as a percentage of standard. Optional
e.g. to set make the bearer bars 150 % of standard width:
-bearer 150
Default: 100
Bar width ratio
-ratio [Ratio]
Sets the bar width ratio. Optional
e.g. to set the bar width ratio to 2.8:
-ratio 2.8
Default: 3.0
Range: 2.2 - 3.0
Bar height
-height [Height]
Sets the bar height in mm or inches. Required
e.g. to set the bar height to 25 mm (assuming default size units):
-height 25
Range: up to 100 mm / 3.9 inches
The units depend on the size units setting.
Italic font style
-fonti
Uses the italic font style for the human readable. Optional
e.g.
-fonti
Bold font style
-fontb
Uses the bold font style for the human readable. Optional
e.g.
-fontb
Stikeout font style
-fonts
Uses the stikeout font style for the human readable. Optional
e.g.
-fonts
Underline font style
-fontu
Uses the underline font style for the human readable. Optional
e.g.
-fontu
Distribute human readable
-distr
Spreads the human readable text across the width of the barcode. Optional
e.g.
-distr
Text size
-tsize [Size]
Sets the human readable text size as a percentage of standard. Optional
e.g. to set the text size to 120 % of normal size:
-tsize 120
Range: 50 - 200

Example

Generate an Interleaved 2 of 5 with:

Command line:
jbccl -sym i2of5 -data 123456 -narrow 500 -ratio 2.2 -height 15 -font Arial -outclip

This produces the following barcode on the clipboard:

Interleaved 2 of 5 Sample

Data Constraints

Constraints on number of digits and behaviour with various settings

Fixed length
-len
Auto pad
-pad
Check digit
-check
Comments
N N N Length must be even
N N Y Length must be odd
N Y N A leading zero is added if necessary
N Y Y A leading zero is added if necessary
Y N N Length must match fixed length and be even
Y N Y Length must be one less than the fixed length and be odd
Y Y N Length must be no more than the fixed length
Leading zeros will be added if necessary
Y Y Y Length must be less than the fixed length
Leading zeros will be added if necessary

See Also
Settings Files - simplify the command line and save common options together.

Back
Standard Command Line Options

Help Contents

Copyright (c) 2006-2016 Neon Sine Software. All rights reserved.