I'm on a Mac and the way you coud do this is in the print step select "Used Last Settings" See .Pic.
You'll need to create two print steps, one with the pop up dialog box outside your loop to set your copies and the other print step is within the loop without a dialog box.
You have two Goto Record steps, one outside your loop, the other inside.
In the second .pic notice the Presets: "Last Used Settings" this is set in both print steps when the first print step is set.
And here is the other .pic
"You'll need to create two print steps, one with the pop up dialog box outside your loop to set your copies and the other print step is within the loop without a dialog box."
You can do it with a custom dialogue before any printing is done. You can either offer the user the options of Cancel, One, Two (if you only ever print 1 or 2 copies), or ask them to specify a number of copies if it could be more.
Then you can go around the loop of printing one copy (with no print dialogue) as many times as they specified.
If it is only ever 1 or 2 copies you can have an IF statement that goes to a step pre-set to print one copy, ELSE a print step pre-set to print 2.
You can also keep your current script and print with the Records Being Browsed option instead of Current Record. This assumes that your find pulls up all the records that you want to print in a single found set.
Thanks for your help everyone. So I edited the script so it will print 2 of each invoice and I don't have to enter 2 or press print before every invoice. But now it's printing out a screen shot of each invoice (the original format), rather than the "print invoice layout". Where would I need to specify the layout?
Nothing in the script you posted changes layouts. What do you do before printing your invoices? Somewhere in that process is a step that changes to your "print" layout.