How to get all pages to print

I’m using capacitor with my Ionic app. The app needs to work not just on mobile but on web as well. Until now I’ve had no problems, however, now I need to print a long page. So what happens when I go to browser > print is only the first page is visible in the print preview and it has a scroll bar. I need to be able to print multiple pages (full document).

I did some googling and only found info on how to get printing to work with Cordova. There’s also an old post related to ionic 2, but that code doesn’t work for me.

#help Thanks!