Charles,

<Is there a way to print out labels without having to use the "File..Print
Report/Label" menu in RBW6.5++? Ie, I want to print labels from inside
application. Either I am blind or it isn't readily apparent.>


Name: LBLPRINT Shortest: LBL
Family: Command Category: Output
Description: Use the LBLPRINT command to send a set of labels to a screen,
printer, file, or any combination of destinations.

Syntax


Options
CHECK
Tests the alignment of the label stock in your printer.

labelname
Specifies a 1 to 18 character label name.

ORDER BY clause
Sorts rows of data. For more information, see the "ORDER BY" entry.

WHERE clause
Limits rows of data. For more information, see the "WHERE" entry.

About the LBLPRINT Command
To send labels to a file or a printer, use the OUTPUT command to designate
the output device before the LBLPRINT command. (The default output device is
the screen.) After printing the labels, be sure to return the output to the
screen. When you send labels to a file, R:BASE only writes the last buffer
of information to the file after the OUTPUT SCREEN command is run.

Examples
The following command lines print labels using the employeetable. The labels
are printed in the order that the names are stored in the table. After the
labels are printed, R:BASE directs output back to the screen.

OUTPUT PRINTER
LBLPRINT emplabel
OUTPUT SCREEN

The following command lines print labels in ascending zip code order, from
the smallest to the largest zip code. After the labels are printed, R:BASE
directs output back to the screen.

OUTPUT PRINTER
LBLPRINT emplabel ORDER BY empzip
OUTPUT SCREEN

The following command lines print a row of test labels to check the
alignment of the label stock in your printer.

OUTPUT PRINTER
LBLPRINT emplabel CHECK ORDER BY empzip
OUTPUT SCREEN

The following command displays the mailing labels on screen in ascending zip
code order, up to and including zip code 98100. Any labels with zip codes
greater than 98100 are not displayed.

LBLPRINT emplabel WHERE empzip <= 98100 ORDER BY empzip


Best regards,

Oma

Reply via email to