File Batch Images Command

Both the 1D and 2D versions of dBarcode provide the facility to create multiple image files based on data provided in a text file. This can be particularly useful if, say, hundreds of PNG files need to be created for a web site.

The operation is fairly straightforward:

1.  Using Notepad (or any other word processor which can save in ASCII text format) create a index file which contains the data text which will be converted into the barcode. Type the data for each barcode on a separate line – the data items may NOT contain carriage returns. Save this index file into a convenient directory – this is the directory into which the image files will be placed.

2.  Optionally each line of data may be followed by a tab and then the name which will be used to name the file which will be created for the barcode image. If the filename includes an extension (eg. .wmf) then that extension will be used to determine the type of image created. If the filename does not include an extension, then the default graphics type (set in the module's Graphic Options) will be used and the appropriate extension added. If no filename (and no tab) is included on the line, then the file is created with a name equal to the data and an extension taken from the Graphic Options default graphic type.

3.  From the module's File menu select Batch Images. The Open Batch File dialog is displayed. Navigate to the directory containing your index file, select that file, and push the Open button.

That's all there is to it. The dBarcode-2D module will create the images in the same directory as the index file.

We are not aware of any limitation in the number of images which may be created (we have made 10,000), but users should be aware that some graphic types take up quite a lot of space – so that a hard disk can rapidly fill up in this automatic mode.

 

 

More:

File Print command