Batch pdf printing

So here I have a batch pdf printing script, automatically adjusting print settings for each sheet. The problem is it fails to print anything with such error


I don’t have much hope :grinning:, but if there’re some python gurus, probably somebody could find the solution?Printing.dyn (88.1 KB)

Perhaps try the version in Archilab instead of playing with the Python code?