is there any way you can get information about pagesize and margins of the current page from inside a script?