Rotation of drawing data is required when a page orientation specified in a document, which describes each object in a hierarchical manner in a preset format, is different from a specified medium orientation. Even under such a requirement, a printing device of the invention enables a laid-out and drawn image to be printed without any subsequent rotation. In the presence of an orientation change command given to eliminate the difference between the page orientation and the medium orientation, the printing device of the invention receives a layout command and determines a layout of each object in each page on the medium with conversion of coordinates at a preset position of the object in response to the orientation change command. In the presence of the orientation change command, the printing device of the invention receives a print command, fetches an object according to the stored layout in each page, and draws and prints the fetched object in response to the orientation change command. Even when the page orientation is different from the medium orientation, this arrangement does not require any subsequent orientation change of drawing data, which has been laid out and drawn in the specified page orientation, to generate converted drawing data corresponding to the specified medium orientation.