If your printer is supported by the existing cloud printing connectors I can not tell😉
But you also can create files from the page contents in your onedrive and batch print them from your local computer.
To get the page contents you may use a flow like this:

First Get the notebooks and filter them for names according to your naming convention.
E.g. if you ask you students to call the notebook 'mathematics <students name>', you filter for 'mathematics'.
Then, in an Apply to each, loop over these notebooks
@{body('Filter_array')}

Here you need the notebook section that contains the page.
Use Get sections in notebook with key
@items('Apply_to_each')?['Key'])
and filter them for the section name you aggreed on with your students ('homework' in my flow)
Next step is getting the page identifier with Get pages for a specific section.
Notebook key is again
@items('Apply_to_each')?['Key'])
Notebook section is the expression
first(body('Filter_array_2'))['pagesUrl']
and filter these pages for an agreed page title:
@item()['title'] is equal to <the title> ('November 2023' in my flow)
Now the page is identified and you can get the page content:
Notebook key is again
@items('Apply_to_each')?['Key']
Notebook section is again
first(body('Filter_array_2'))['pagesUrl']
Page Id is
first(body('Filter_array_3'))['id']
This page content is HTML.
You might want to convert it to text or maybe use a browser addon to (batch) print the HTMLs directy.
But before that, of course you have to save these page contents to files (or one big file).
I think my flow is already big enough, so I skipped this here 🙂
Please note: whenever a “Filter array” returns an empty array (because there is no such section or page), the loop iteration fails and of course does not output any page content.
So you either need to create some checks in the flow and handle them accordingly or check the flow run carefully.