I make masks for contact printing. It is called paper plane masking. All the same principles apply as masking while enlarging. I punch the paper and locate it on the pins. The negative and whatever masks are also punched. Any mask that can be used in the enlarger can also be used while contact printing. I actually find it easier than masking while enlarging.