Special

Introducing the “Welcome to Xojo” Bundle!

New to Xojo and looking for guidance? We've put together a terrific bundle to welcome you! Xojo Bundle

This bundle includes six back issues of the magazine -- all of year 14 in printed book and digital formats -- plus a one-year subscription so you'll be learning all about Xojo for the next year. It's the perfect way to get started programming with Xojo. And you save as much as $35 over the non-bundle price!

This offer is only available for a limited time as supplies are limited, so hurry today and order this special bundle before the offer goes away!

Article Preview


Buy Now

PDF:

Beginner's Corner

Printing Labels

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.


 


|

 


Weblog Commenting and Trackback by HaloScan.com