COPIES, PCOPIES |
Top Previous Next |
Syntax
copies copies pcopies copies
Description
These keywords are used to generate multiple copies of the form. The number of copies is specified by the number copies. If the copies form is used, then the entire print job is duplicated the number of times indicated. If the pcopies form is used, then each page is duplicated as it is printed, so the pages come out collated together for each page.
The two versions of this keyword are mutually exclusive; the last one that is found in the rule set is the one used. Note also the -c and -pc command line options can be used, though these keywords take precedence, if specified.
Individual copies can be managed to any degree necessary via "if copy n" rule set logic, and also full programming logic with the "precopy {}" and "postcopy {}" logic entry points. Use this to modify the output device for specific copies, or to modify the content of specific copies.
To add attachments that are separate pages from the standard form pages, assign a copy to the attachment, and add a notext keyword for that copy.
pcopies 2
if copy 2 notext attach "/usr/UnForm/attachments/attach1.pcl" end if
Examples:
copies 2 will print the entire report twice.
pcopies 3 will print each page three times.
Drivers: all
|