cdlabelgen - CD jewel case inserts creator. Generates frontcards and traycards for CD cases
cdlabelgen -c <category> -s <subcategory> [-i <item1%item2%etc> -f<itemsfile> -e <cover_epsfile> -S <cover_eps_scaleratio> -E <tray_epsfile> -T <tray_eps_scaleratio> -d <date> -D -o <outputfile> -t <template> -b -w -h -m -p]
cdlabelgen's purpose in life is twofold:
cdlabelgen was designed to simplify the process of generating labels for CD's. It originated as a program to allow auto generation of frontcards and traycards for CD's burned via an automated mechanism (specifically for archiving data), but has now become popular for labelling CD compilations of mp3's, and copies of CDs. Note that cdlabelgen does not actually print anything--it just spits out postscript, which you can then do with as you please.
The latest version of cdlabelgen as well as this document can be found at http://www.aczone.com/tools/cdinsert/. The software package includes CGI scripts that can be used to serve cdlabelgen over the internet. An older version may be available at: http://www.red-bean.com/~bwf/software/cdlabelgen/.
Thanks to some really hairy postscript from GNUPlot, cdlabelgen now supports arbitrary ISOLatin font characters. This means that you can print out characters like æøåÆØÅ (ASCII \230, \248, \229, \198, \216 and \197)
cdlabelgen comes with several eps images for you to use on your labels. These images can be found in /usr/local/lib/cdlabelgen or /usr/share/cdlabelgen or /usr/local/share/cdlabelgen, depending on your installation. Included are a Recycling icon, an mp3 icon, the Compact Disc icon (with and without 'Digital' on it), Tux the penguin, and the new Debian 'swirl' logo. Two color background images called Music Notes are also available.
Note that cdlabelgen now prints a 'tongue' as part of the traycard. This folds around and is viewable from the front in jewel boxes that are entirely clear (CD holder piece is not opaque). If you do not have a clear CD holder in your jewel box, you may find it easier to just cut the 'tongue' off--it's a bit easier to fold without it.
cdlabelgen requires Perl Version 5.003 or greater. Ghostscript is not required, but is recommended so that you can test out your labels without wasting paper.
-P
option is used.
You can insert blank lines by
inserting 2 percent signs in a row into the items list.
If the value passed is 0.0 (note: not 0, but 0.0), then the logo is used as a background image - it will be scaled as required to fit the entire cover.
If the value passed is 0.0 (note: not 0, but 0.0), then the logo is used as a background image - it will be scaled as required to fit the entire tray card (or inside cover).
If there is a problem with -w
, the best option right now is to split
lines in the input itself, and to omit the -w
option.
Use this option to use a fixed width font for all items. If the item is too large to fit in a column, the text will be clipped instead.
./cdlabelgen -c "My Filesystem" -s "/usr/local/foo" -e postscript/recycle.eps > foo.ps
./cdlabelgen -c "title of cd" -s "subtitle" -i "Item 1%and Item 2%a third item here perhaps" -e postscript/recycle.eps > bar.ps
./cdlabelgen -c "Fitz" -s "home directory" -o qux.ps
Currently maintained by Avinash Chopde <avinash@acm.org>
Last Updated: July 2001
Original author: B. W. Fitzpatrick <fitz@red-bean.com>
- Karl Fogel, for general encouragement and that free software vibe - Adam Di Carlo, for bug testing, help and making the .deb - Greg Gallagher, for bug testing, coding, and tons of suggestions - Goran Larsson, for feedback and date fixes - Jens Claussen, for the patch to allow arbitrary ISO-Latin1 characters - Bernard Quatermass, for contributing several excellent new features - Sebastian Wenzler <sick@home.and.drunk.at> for reports, tests, RPM.
Perhaps one of the most important features that I wanted in a CD labelling program was the ability to print Title/Subtitle, and date information on the endcaps of the CD jewel box to allow me to keep archive disks in a standard CD rack and find a particular one without yanking them all out and shuffling through them like a deck of cards.
cdlabelgen was inspired by the need for not only a simple cd labelling program (there are many available), but by the need for a free labelling program which could be integrated easily with scheduled CD archiving routines. I did find a program called cdlabel http://londo.ncl.ac.uk/~npac/cdlabel/, but that one is designed to work with CDDB.
I searched the net for a suitable program, but found none, so taking cues from programs that I found that perform similar tasks (like tape labellers and DAT labellers), I embarked on this venture. Notable inspiration came from the incredible audio-tape.ps by Jamie Zawinski (which is indeed, as Jamie notes, completely out of control). Other ideas were drawn from casslabel.c, and cdlabel.cc (noted above).
People have already pointed out to me that cdlabelgen could be extended to perform other functions:
Please report bugs and submit any patches to the Author's email address.
In order of importance.
* Add cdindex support