This is a great location to get assistance! I read your post and see you are not getting option to change the size while printing pictures on HP Deskjet 2540 printer. I would like to help you resolve this issue.
However, I will need a few details to provide an accurate solution,
How are you trying to print pictures?
Which software are you using to print?
Reply with the answers for above questions for further assistance on this.