[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: labels



eric wrote:
> Greetings:
> 
> I am running potato with an hpdeskjet 540c installed as my printer.
> 
> I would like  to find out how to print labels under Debian linux.
> 
> I am a hobbyist bee-keeper and give labeled honey  jars to friends.
> Last year I printed my labels under a windows program but want to use
> debian to print this year.  (I also don't have windows installed
> anymore. :>)

For a straight text solution:

Using a "namelist" in the following format:
<name>, <address>, <town>
use
awk -F', ' '{ print $1; print $2; print $3; print "\n"}' namelist > labels

That will be 5 lines, the last 2 blank.

If you want 2 or more columns use enscript.  See package: enscript
It can pack 2 (or more) columns on a page using the above created file, and
make it a postscript file, suitable for printing.

For color and drawings others will have to advice.

J.F.


Reply to: