Perl and OpenOffice for Lovely Labels

Independent Label: OpenOffice Tricks

Author(s):

OpenOffice offers a selection of preconfigured formats for users who need to print their own self-adhesive labels. Perl feeds the address data to the document.

Even though you might enjoy writing greeting cards by hand and mailing them, you might consider saving yourself the trouble of writing the addresses on the envelopes and use sticky labels instead. Practical laser printer labels on letter-sized sheets cost about half a cent apiece (15 cents a sheet). Not only do they speed up the postal shipping process, they are also useful for labeling wires of electronic gadgets. The Perl script in this issue reads comma-separated text and prints it line by line on the labels. Of course, you don’t have to restrict yourself to addresses. How do you like the idea of labeling the mess of cables beneath your desk to help the overworked home network administrator find the router’s power supply next time something goes wrong?

Read full article as PDF:

060-064_perl.pdf (8.29 MB)

Related content

  • Fresh Wind at Work: OpenOffice 3.1

    Cute but astute: the new minor version of OpenOffice can do more than ever, such as cast shadows, position chart axes and provide structured conversations through comments.

  • OpenOffice Automation

    You don't have to be an expert to get started with OpenOffice's Basic programming interface.

  • Workspace

    Dmitri shows how to create an OpenOffice.org extension from scratch and introduces a useful extension packaging tool.

  • writer2ePub

    The writer2ePub plugin for OpenOffice Writer converts formatted files to compatible data for many of the popular e-book readers at the press of a button.

  • KOffice 1.4

    The latest KOffice suite offers many new features – and even some new applications. We’ll show you what we found when we tried out KOffice 1.4.

Comments

  • store database-like data in a database?

    I just saw this article in the magazine. A cool sequel to this would be an article to show the setup to get LibreOffice to retrieve the address information from something like a Postsres database.

    BTW, In a lot of situations repeating data is not ideal -- it would result in a few people receiving multiple copies of a mailing. Duplicate labels could be just as "wasted" as blank labels.
comments powered by Disqus

Direct Download

Read full article as PDF:

060-064_perl.pdf (8.29 MB)

News

njobs Europe
What:
Where:
Country:
Njobs Netherlands Njobs Deutschland Njobs United Kingdom Njobs Italia Njobs France Njobs Espana Njobs Poland
Njobs Austria Njobs Denmark Njobs Belgium Njobs Czech Republic Njobs Mexico Njobs India Njobs Colombia