Just Barcodes CL Help - UPC-E Command Line Options


Data / number
-data [Data]
Sets the barcode number. Required
e.g. to set the barcode number to 0123456 (assuming the automatic check digit will be appended):
-data 0123456
7 Digits are required unless the -nocheck option is used (see below), in which case 8 digits are needed.
UPC-E numbers must begin with a zero.
Only certain numbers are valid UPC-E codes. An error will be generated if the number is not valid.
No check digit
-nocheck
Prevents the check digit from being automatically calculated and appended. Optional
e.g.
-nocheck
If this option is used, you need to provide your own check digit (see -data above).
Allow incorrect check digit
-badcheck
Allows you to supply an incorrect check digit (for specialised testing purposes). Optional
e.g.
-badcheck
For this option to have any effect, you also need to use the -nocheck option and provide a check digit.
Warning This option should be used with care, as it allows unscannable barcodes to be generated!
Magnification
-mag [Magnification]
Sets the desired magnification as a percentage of standard size. Optional
e.g. to set the desired magnification to 80 %
-mag 80
Default: 100
Range: 50 - 200
Magnification choice
-magc [closest | greater | less]
Selects what to do if the exact desired magnification cannot be achieved. Optional
Use greater for the closest available magnification greater than or equal to the chosen value.
Use less for the closest available magnification less than or equal to the chosen value, e.g.
-magc less
Default: closest (this chooses the closest available value).
Bar height
-height [Height]
Sets the height of the bars as a percentage of standard height. Optional
e.g. to set the height to 120 % of standard:
-height 120
Default: 100
Range: 20 - 200

Example

Generate a UPC-E with:

Command line:
jbccl -sym upce -data 0765432 -mag 120 -magc greater -height 70 -font Arial -res 360 -outclip

This produces the following barcode on the clipboard:
(A warning is also generated about the bar height being less than 80%)

UPC-E Sample


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.