A simple label printing program
Issue: 9.6 (September/October 2011)
Author: Marc Zeedar editor-at-rbdeveloper.com
Article Description: No description available.
Article Length (in bytes): 18,497
Starting Page Number: 66
RBD Number: 9611
Resource File(s): None
Related Link(s): None
Known Limitations: None
Excerpt of article text...
A few issues ago I covered printing, demonstrating a print preview feature and how to print styled text. Today we're going to finish up that lesson with something practical: I'm going to show you a label printing program I've been using for years. More than a good demonstration, it's actually a useful application!
I first wrote this back in 2002 when I launched this magazine as I frequently needed to print address labels to mail subscribers magazines. Now that we're not print-based, I don't do as much physical mailing any more, but I do still have to mail books and CDs and printed back issues so I still use this frequently.
The main reason I wrote this program is so I wouldn't waste address labels. Almost any word processor will let you batch print labels with a mail-merge feature, but that only works if you have 30+ addresses to print. What if you're just printing one or two labels? So I made LabelPrinter display a grid of labels and allow you to select just the label position you want to print on. This means I could use up any leftover labels sheets or print one-off labels easily.
...End of Excerpt. Please purchase the magazine to read the full article.
Article copyrighted by REALbasic Developer magazine. All rights reserved.