HP DLT 4000 Barcode Labels


Here is a utility program labels.c that can be used to create bar code labels for HP DLT 4000 library and for any other library using similar bar code labels. The program creates PostScript code of one page containing 30 labels and the page can be printed to any PostScript compatible printer. The bar code is printed according to Code 39 specifications and formatted to suit the HP DLT 4000 library. Below is an example of the labels created.

Example:

Example

Hex    Checksum      


The program takes one or two arguments. The first argument specifies the label to start with and the second argument (if given) specifies the file where the PostScript code is written. If only one argument is given the PostScript code is written to standard output. For example, the command

  ./labels AB0123 labels.ps
would create a file labels.ps where it writes 30 labels starting from AB0123. Options -c and -h can be used after the command and before the initial label. Option -c adds checksum to the barcodes and option -h sets the increment mode to hexadecimal.
 

We have been using the labels created by this program for some time now and no problems of any kind have ever occurred. No differences can be visually distinguished when comparing labels made by this program with those that came along the HP DLT 4000 library. As far as I can see there should be no problems with the use of these labels but there is no warranty of any kind so remember to also read the legal stuff below.
 

Legal stuff

The program is provided as is and the author makes no warranty of any kind with regard to the program, to any modified version of it, or to the labels created by any version of the program, including, but not limited to, the implied warranties of merchantability and fitness for a particular use. The author shall not be liable for errors contained in the program or in the labels or for incidental or consequential damages in connection with the furnishing, performance, or use of them. In no event shall the author be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the program or the labels created by it.

The program and the labels created by the program are free for any non-commercial use. The program and the created bar code labels can be used freely as long as no cost (in terms of money or otherwise) is charged for the delivery or use of the program or the labels created by the program. The program may be modified to produce labels for your specific needs as long as the modified program clearly states that it is a modification of the original. The modified program and the labels created by the modified program must also be free and no cost may be charged for the modified program or for the labels created by it.
 
  Copyright © Mika Seppä