Things got a little backed up - we're processing the data and things should be back to normal within the hour.

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

25
Script to create barcodes for LTO tape labels (Copied and pasted from my internal wiki)
Post Body

Tape Barcodes

The tape cartridges used by the tape library are all labeled with barcodes and a human readable tag.

These are created using the barcode command and the following script:

for ((i=1;i<31;i  ));do printf "SIMdL3\n" $i; done | barcode -t 2x15 20 30-20-28 -u mm -o label.ps -e code39 -p 8.5x11in -m 20,3 -c

Adjusting ā€œiā€ e.g.

 ((i=30;i<61;i  )) 

and such will create the rest of the labels-or multiple pages can also be created at once

 ((i=1;i<121;i  ))

Changing the printf input will change the value for the barcode-whatever you want labeled.

barcode flags are fairly straightforward, for more info see the man page.1

The label.ps file should be printed to a laser printer and printed onto label stock2 then trimmed to fit the back of the cartridge before sticking it on3.

1) http://linux.die.net/man/1/barcode

2) Avery Product Number: 8066 or equivalent

3) With the aforementioned label stock you just need to trim a little bit of white space from each end before applying-the paper cutter works well for trimming the whole sheet quickly.

Author
Account Strength
100%
Account Age
13 years
Verified Email
Yes
Verified Flair
No
Total Karma
27,603
Link Karma
964
Comment Karma
26,591
Profile updated: 4 days ago
Posts updated: 5 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
11 years ago