Perl and OpenOffice for Lovely Labels

Independent Label: OpenOffice Tricks

Article from Issue 127/2011

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?

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

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.

  • Text to Speech

    Visually impaired users often find working with text and tables in office suites difficult. Pico TTS, a text-to-speech synthesizer, and the Read Text extension for LibreOffice and OpenOffice provide a solution.

  • Office Suites

    In the office, the interoperability and cooperation of a few programs play an important role. We take the four big Linux office suites to task and see how well they cope with non-native formats.

  • OpenOffice 2.0 Preview

    At first glance,OpenOffice 2.0 might scare current users with a GUI that closely resembles Microsoft’s competitor product. But on closer inspection, the beast turns out to be a beauty.

  • The Clear Choice

    While LibreOffice and OpenOffice have a shared past, LibreOffice outstrips OpenOffice in contributors, code commits, and features.

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More