This is a current issue for me, too, and it's driving me buggy.
I recently added a DYMO LabelWriter to my system in order to print out folder labels and cover sheets at the same time. I thought I understood the whole idea of restoring print setup, but it's not working like I would like.
I'm using two scripts. The first script, which was created after selecting the appropriate printer and printing a standard 8.5x11 page for a single record, is:
[color:"blue"]
Goto Layout
Print Setup [Restore, No Dialog]
Print[No Dialog]
Perform External Script [Print Label]
Goto Layout [Original Layout]
The "Print Label" script was created after setting my computer to print out one label on the labelwriter for the current record.
[color:"blue"]
Goto Layout [Folder Label]
Print Setup [Restore, No Dialog]
Print[No Dialog]
but it doesn't work. I thought the whole point of restoring print setup settings was so that a user wouldn't have to go back and manually verify the print settings, as I will likely have to do. If you have any suggestions, I'd appreciate them.
Just to test, I created a global field, gPrinterSetting, and tested two new scripts. I selected the label printer manually and printed out one label, just to be sure. Then I created "SetLabelPrinter" to be:
[color:"blue"]
Print Setup [Restore, No Dialog]
Print []
Set Field [gPrinterSetting, Status(CurrentPrinterName)]
I did the same thing and created "SetSheetPrinter", too. Neither script "restores" the print setup or selects the appropriate printer. I'm about to introduce my printers and computer to my hammer!
Paul