SOLIDWORKS API PrintOut4

The SOLIDWORKS API PrintOut4 function effectively saves drawings in the appropriate format and orientation based on the print specifications. However, when I attempt to send the documents to the printer, they only print in A3 or A4 sizes. Additionally, when I utilize the mixed mode in the printer output settings, the drawing sheets are printed solely in A4. Has anyone encountered this issue? Any assistance would be greatly appreciatedSolidworksAPIAPIApi macros