If you use the Print Preview command, you can change this in its "Page..." settings. With the regular Print command, a printer specific dialog opens after the (first) yEd print dialog is closed and typically allows you to choose the page size, for example in its Properties section.