The Harvard Book Store (the independent one, not the Coop) has just such a machine! Though I haven’t used it.
> Termination of Print-on-Demand Services
> Print-on-Demand services are no longer available through Harvard Book Store, effective Monday, April 25, 2022.