I can make a document manually that has 35mm width and 17mm height, it's a label. As long as I have no margins the document is created with no issues. Trying to make the same document size through Applescript throws up a Page too small error even though I have set all margins to 0 (including master page margins).
If I make the height of the document 30mm in the Applescript the document creation is fine.
Anyone know what is going on here or am I missing something.