I wouldn't waste the time on the solution Chris recommended. That feature is discontinued and replaced by REST APIs. We discontinued it because it turned out to have a flawed design that would cause it to not scale and not thread safe. So we had to rebuild it from the ground up.
You can consider Mike's suggestion, but keep in mind that what he mentioned is a third-party product not supported by Appeon and the PBVM runtime was never designed to run concurrent users on a server. PDF generation is very heavy process so if done concurrently I really don't know if this will work well.
It is on our product roadmap to support exporting to PDF for the .NET DataStore, but unfortunately we don't have a firm schedule yet so I cannot comment about when. But I can say it definitely would not be in PowerBuilder 2019 R3.
So the only thing I can suggest that is very little work and supported by Appeon is to return the data from the REST API to the DataWindow control in your app and then have your client-side app do the SaveAs to PDF.