We have used, and continue to use, the Kendo PDF library to provide PDF functionality. Maybe this is suitable? Very simple to implement, easily styled, PDF's look great and represent what you see on the screen. Details below:
Just remember to include jQuery if you are using BS5!