You can print to fit the paper size you loaded in the printer.
This feature is not available with borderless printing.
Access the printer driver, and then make the following settings.
On the More Options tab > Output Paper, select the size of the loaded paper.