<p>A printer and method of calibrating such a printer is presented. The method comprises: printing a reference pattern on print media; depositing ink over the printed reference pattern; printing a test pattern over the deposited ink to form an interference pattern; and determining an ink density value that results in an acceptable deformation of the printing media based on an optical evaluation of the interference pattern.</p>