BUG 10746 I added a validate to pdf size IMPROVEMENT