Page 1 of 1

macro to print all open documents?

Posted: 2011-11-17 05:34:53
by tomholman
Is there a macro that will print all open documents on the currently selected printer?
Thanks.

Re: macro to print all open documents?

Posted: 2011-11-17 23:58:55
by phspaelti
The following macro should do it. Since I don't really want to print out a lot of stuff, I haven't really tested this.

Code: Select all

$openDocs = Document.openDocuments
foreach $doc in $openDocs
$doc.show
File:Print
Press Default Button
end

Re: macro to print all open documents?

Posted: 2011-11-18 09:11:16
by tomholman
Thanks very much. It worked perfectly.