PSSetCopies()

Syntax

Function PSSetCopies(nCopies)
TPageScript:SetCopies(nCopies)

Returns

The old value.

Description

Call PSSetCopies() to set the number of copies of your document you want to print. This is useful if you don't use the print dialog and want to set the number of copies manually. You must call this procedure before starting a new document.

Arguments

nCopies A numeric value indicating the number of copies to print.