Example: PrintDocwin

 

To print one copy of all displayed layers on all pages of the active document, at actual size and "best fit" orientation, without tiling them, and without including a banner, using the transaction settings:

[PrintDocwin(0, 3, 0, 0, 1, 0, 2, 0, 2, 1, 0)]

The firstPage and lastPage parameters are set to 0 because they are overridden by the pageRange parameter of 3 (all pages).