Academic Computing Services
QUICK STUDY #27
March 2001
Printing Mailing Labels From RCS UNIX Systems
There is a PostScript printer in the VCC dedicated to printing labels from
RCS. A program, based on LATEX, enables you to prepare and print a file
onto 30 labels per page. Each label has a maximum of 5 lines if you use
the default 11-point type size. The cost is 25 cents per page, and output
is placed in the VCC output racks. In the instructions below, issue all
commands at a UNIX prompt (either at an RCS workstation or via a remote
connection) unless otherwise noted.
Using a text editor, prepare a file containing your data, such as a list of
names and addresses. Each line of a label must be on a new line, and each
new label must be separated by a blank line from the previous one. For
example:
You may include a comment at the end of any line by starting the comment
with a percent sign (%). (An entire line may be a comment if the % is in
column one.) If you want a blank line in a label, type
blankline
as the entry for that line. Be sure not to leave any blank lines at
the end of the file.
IMPORTANT: Certain characters having special meaning to LATEX. Therefore,
if you wish to include any of the characters &, #, % or $ in your file,
you must enter them as
&,
#,
% or
$.
If you wish, you can prepare the file on your own PC and upload it to RCS.
If you use a word processor, save your file in ASCII format.
Enter the following command at a UNIX prompt:
You will be prompted for the name of your input file. If the file
isn't in your current directory, give the complete path. (If
the file is named tolist.tex, you can just press the Return key.)
If you get an error message, it is most likely because you omitted the
blackslash (
)
before one of the special characters listed above. To solve
the problem, exit the program by typing ``x" at the ``?" prompt, edit the
input file to insert the necessary backslash, and process the file again.
Note that, regardless of the name of your input file, the result will
ALWAYS be placed in the file labels.dvi (a binary file).
It's usually a good idea to preview your labels on an RCS workstation
before you print them. To do this, enter the command:
To print the labels on the VCC label printer (vclbl30), enter the command:
Your label output will be placed in the VCC output racks; please allow
several hours for turn-around time.
It's possible that the printer may occasionally jam or misfeed, resulting
in a page or two that is missing or incorrectly registered. You can use the
-pp option of dvips to reprint just the bad page(s). (You can
also apply for a refund at the ACS Help Desk.) The page numbers at the
bottom allow you to identify the pages to be reprinted. For example, if the
bad pages are numbers 5 and 8, the following command will print only those
pages:
You can also specify just one page number, or you can specify a range of
pages with a hyphen, for example -pp2-4.
Note: If you would like to print multiple copies of your labels file--for
example, 10 copies--you can use the -c option of dvips:
As mentioned above, the labels program always places the output in the file
labels.dvi, overwriting output from any previous use of the program.
To prevent the output from being overwritten by a subsequent run, rename the
.dvi file. For example, if the name of your input file is mylist.tex,
you can save the output in the file mylist.dvi by entering the UNIX
command:
To change the type size of your labels from the default of 11 points, create
a file called size.tex (the name is important!) and put a size-changing
command in it. The labels program will read the file and change the
type size of your labels accordingly. Type in one of the commands shown below
(e.g.,
large); the characteristics of each font appears in
parentheses.
small |
( 10 points |
6 lines/label ) |
normalsize |
( 11 points (the default) |
5 lines/label ) |
large |
( 12 points |
5 lines/label ) |
Large |
( 14 points |
4 lines/label ) |
LARGE |
( 17 points |
3 lines/label ) |
huge |
( 20 points |
3 lines/label ) |
Huge |
( 25 points |
2 lines/label ) |
Note that with the larger font sizes, you will not be able to fit as many
characters per line; the exact number depends on what characters you use.
The range is from an average of about 36 characters per line for
small to about 15 for
Huge.
For boldface or italic letters on all your labels, add the command
bf
or
it, respectively, following the size command; for example,
large
bf gives 12 point bold type.
Published by Academic Computing Services, RPI, Troy, NY 12180
Send comments to consult@rpi.edu.