Can I define a precise page size other than A4,A5 in record template ?

Can I define a precise page size other than A4,A5 in record template ?

I need to print a label with precise page size ie. 60mmX40mm in record template. But the custom setting only show Width, padding and Margin. I can convert mm to pixel, but where is the length?