"In" is correct. Perhaps you are thinking of the spoken version: "The pictures will be printed in sizes 1 by 2 m" If you say "printed by", you would be indicating the person, company, etc. that does the printing.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.