Yes, the javafx.print package. I thought about adding a listener and adding new pages when it exceeds the number of cards it holds but it won't be on the same pdf, and it didn't work for me. I haven't found any resources on the internet despite researching a lot.