[Solved] How to recover the rich print-to-file features in older versions?

Older text editor’s print to file feature allows for specifications of paper sizes and many other page settings, as shown in Debian 11 Live CD:

However moving into Debian 12 all these features are gone, also seen in Live CD:

Surprisingly I’m using this feature heavily. Did I miss installing a component? How can I get old features back? Thanks!

Just realized the old editor is gedit rather than gnome-text-editor. I will install gedit for printing.
Kudos to the new editor. Thanks!