Here's a solution with projects for AutoCAD2023 and BricsCADv22, and binaries.
I tried to make a version for ZwCad, but
AcAp.Application.UserConfigurationManager.OpenCurrentProfile(); failed.
warning CS0618: 'GlyphRun... has been depreciated
As I said in my 1st post check outside of Autocad, Windows Devices and Printers check that the default printer settings are set to a A3 not A4 the default will over ride Autocad sometimes.