1. A method of printing, with a printer, an image on a substrate, the printer comprising a substrate support, the method comprising:
obtaining an image to be printed;
producing an image of at least a portion of the substrate support;
determining, using image data for elements of the substrate support from the image of the at least a portion of the substrate
support, an amount of skew of the substrate relative to the substrate support;
based on the determined amount of skew, determining an amount of rotation of the image to be printed; and
controlling the printer to print the rotated image.