1. A method for detecting a size and shape of media on which image data is to be printed in an image production device, comprising: receiving a request to print a print job; scanning image data for the print job; feeding media on which the image data is to be printed, wherein the fed media contains exclusions; scanning the fed media to determine the size and shape of the fed media; generating a mask based on the determined size and shape of the fed media; applying the mask to the image data, the mask permitting marking material to be applied to an intermediate member based on the determined size and shape of the fed media; applying the image data to the fed media; and outputting the fed media containing the image data.