How can I print long text files (+50 pages) with page numbers on them?

I don’t use a printer and never used one, but my mom brought one from her work and she needs me to print her a list of a few thousand people with some info in each row. I got the document in PDF over mail and if I print it straight from Gmail, it cuts up text between pages, for example you only see the upper parts of letters on one page and lower parts on lower parts (of the first or last person on the list, even if I set the format to A4 which it is)

I instead tried with notepad and that worked much better, everything was where it should be, except that pages weren’t marked as “page 1, page 2,…” and there’s around 80 to 100 pages or so…

How am I supposed to get the page numbers to appear and do I need to use a different program for it? I looked in the preferences settings option thing and I can select what format I want, how much copies and whether landscape or portrait, but nothing about page numbers. It’s the same printer from work that my mom uses and over there they have the page numbers printed, so it’s up to the program or program settings that they have, not up to the printer, since it’s the exact same printer she brought from work.

In Windows 10 Notepad, it’s under File, Page Setup, Footer (“Page &p”). Which version of Notepad are you using?

Edited to add, and try it with a short document before you waste a hundred pages of printer paper.

Notepad doesn’t support pagination but Wordpad does.

And this in Notepad^^

In Wordpad there just a checkbox in the page setup.

BBEdit does, along with file path, creator, creation date, edted date, etc in an optional page header.