Top Navigational Bar

Macro To Merge A Primary File To A Laser Prin
DocumentID: 606733
Revision Date: 29-Feb-96 1:31:46 PM

The information in this document applies to:
WordPerfect® 5.1 for DOS

Problem

Solutions: FYI:
The following is a primary file that will merge laser sheet labels to the printer.
Note:      It is important to put the Paper Size/Type code at the very beginning as shown in the Reveal Codes version below the macro commands.

Macro Commands
{ON ERROR}{GO}print~~{LABEL}top~{LOCAL}1~{VARIABLE}1~+1~{FIELD}1~
{FIELD}2~
{FIELD}3~{IF}{VARIABLE}1~=30~{PRINT}{PAGE OFF}{NEXT RECORD}
{LOCAL}1~0~{COMMENT}
~{GO}top~{ELSE}
=================================================================
{NEXT RECORD}
{GO}top~{END IF}{LABEL}print~{PRINT}{PAGE OFF}

Information viewed in Reveal Codes:
[Paper Sz/Typ:8.5" x 11",Labels,2.63" x 1"]
[Mrg:ON ERROR][Mrg:GO]print~~[Mrg:LABEL]top~
[Mrg:LOCAL]1~[Mrg:VARIABLE]1~+1~[Mrg:FIELD]1~[HRt]
[Mrg:FIELD]2~[HRt]
[Mrg:FIELD]3~[Mrg:IF][Mrg:VARIABLE]1~=30~[Mrg:PRINT]
[Mrg:PAGE OFF][Mrg:NEXT RECORD]
[Mrg:LOCAL]1~0~[Mrg:COMMENT][HRt]
~[Paper Sz/Typ:8.5" x 11",Labels,2.63" x1"]~ [Mrg:GO]top~[Mrg:ELSE][HPg]
[Mrg:NEXT RECORD][HRt]
[Mrg:GO]top~[Mrg:END IF][Mrg:LABEL]print~[Mrg:PRINT]
[Mrg:PAGE OFF]

Answer:

Details:


Product specifications, packaging, technical support and information (*Specifications*) refer to theUnited States retail English version only. Specifications for other versions may vary. All Specifications, claims, features, representations, and/or comparisons provided are correct to the best of our knowledge of the date of publication, but are subject to change without notice.OUR MAXIMUM AGGREGATE LIABILITY TO YOU AND THAT OF OUR DEALERS AND SUPPLIERS IS LIMITED. IT SHALL NOTEXCEED THE AMOUNT YOU PAID TO ACCESS THE INFORMATION. SEE LEGAL DISCLAIMER.