BUG 10746 I added a validate to pdf size SOLVED

I added a validate to pdf size