The papersize is specific to the postscript output device.
In /usr/share/groff/1.18.1/font/devps/DESC:papersize a4
Commandline:papersize /etc/papersize a4
Regardless of how the papersize is specified, the resulting postscript file does _not_ contain a %%DocumentMedia or %%BoundingBox comment. It only has the right position in the sheet.groff -Tps -P-p -PA4 file.tr > file.ps groff -Tps -P-p -Pletter file.tr > file.ps
These set 1in horizontal margin and 0in vertical margin. To change them or to set for other paper sizes, set them with the .pl and .ll requests, possibly using the previous values \n[.p] and \n[.l] or by setting with + and - to increase or decrease from the previous values, as in page.tr.