There is no clean way to “print” a long topic at this time. You can disable JavaScript and visit the topic to get a 1996 era HTML 1.0 paginated view, that is about it.
In code you can pull the json to get the entire topic pretty easily, just like a browser would. See https://meta.discourse.org/t/how-to-reverse-engineer-the-discourse-api/20576