MLUG: Re: Re: [MLUG] printing barcodes
Re: Re: [MLUG] printing barcodes
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
For fun -- making .gif barcode:

For my colleaugue Marguerite, I thought I'd make a barcode that said "Marguerite". This is the one-liner:

barcode -b 'Marguerite' | gs -q -DNOPAUSE -sDEVICE=ppmraw -r200x200 -sOutputFile='|pnmcrop|ppmtogif -interlace >barcode.gif' -

I put it here:

http://epirh1.epi.umn.edu/~mbmiller/download/barcode.gif

barcode -b 'Marguerite' produces postscript output which is sent to ghostscript. Ghostscript uses the netpbm library to translate the postscript from stdin to .gif output. The "200x200" determines the size of the output image and "barcode.gif" is the name of the output file.

I had everything I needed on Red Hat except for GNU barcode which I downloaded and installed in about two minutes (it is tiny and fast). I think I will enjoy working with barcodes. It is easy and kinda fun.

Mike

_______________________________________________
members mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/members