can you post the scripts in question?
Print setup (restore)
I've done the same earlier with other files.
Fixed the problem now by writing new scripts (exactly the same as the ones that didn't work).
Printing is a volatile thing in FM.