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:
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.pswould 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.
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ä