This script converts the current document to a "film frame".
The perforation is always created "along the frame", that is, at the long document sides.