Found the solution. Goto Windows Control Panel and select Printers. Select PDF24 and click on Manage. Select Printing Preferences and under the Advanced tab, paper size A4 can be selected. I don't know how this setting got changed but it is not easy to find.