Just Barcodes CL Help - Settings Files
- A settings file may be used to provide additional options, for use in generating your barcode.
- It is not essential to use a settings file - it just means that fewer command line options will be required.
- You can split your chosen options between the command line and the settings file as you wish.
- Only one settings file can be used at a time.
- It is sometimes useful to use a batch file with a settings file.
Creating Settings Files
- A settings file is a plain text file. You can create one using notepad or any other text editor.
- Any file name can be used.
- There must be a single space between the token (e.g. -res) and the value that follows (if applicable).
- The order in which options appear in the file (or on the command line) does not matter.
- The syntax is similar to the command line, except:
- There must be one option per line.
- For items containing spaces (e.g. file and font names) quotes must not be used.
- Blank lines are allowed.
- Comments may be included by using // at the start of a line.
EAN-8 Generation Using Settings File
Create a text file using Notepad containing the following lines, and save it as MyFile.txt
// Just Barcodes CL settings file example
// Set the symbology, magnification, resolution and font
// Output to the clipboard
Now we can use the options contained in the file to generate an EAN-8 barcode at the command line as follows:
jbccl -data 4567890 -set MyFile.txt
This produces the following barcode on the clipboard:
Note: we have assumed that the settings file was saved in the current directory, so that it can be found without using its full path name. Otherwise we would need to include the path to the settings file, e.g.
jbccl -data 4567890 -set C:\Test\MyFile.txt
Command Line Options
Copyright (c) 2006-2016 Neon Sine Software. All rights reserved.