Should be able to just print and it should work. My bedframe is exactly 51mm.
The remote should fit up to 48mmx22mm