Adobe Pagemaker has a dedicated function for PDF export, so is the obvious choice for pm5 to pdf conversion, i.e. export of old Pagemaker 5 documents (.pm5) to PDF format.
Without Pagemaker, it will be very hard if not impossible to successfully convert pm5 to pdf as no 3rd party program supports PageMaker formats.