Patent ID: 9116592
Filing Date: 2015-08-25
Classification: B41J,G06F

Abstract:
1. A data processing device comprising: an input unit that includes an input detection region; a detection unit that detects a position of an input to the input detection region of the input unit; a partition region setting unit that partitions the input detection region of the input unit into at least one partition region; a valid region setting unit that sets, from among said at least one partition region partitioned by the partition region setting unit, a partition region in which an input is detected as a valid region; a longitudinal direction determination unit that determines a longitudinal direction of the valid region; a magnification determination unit that determines a magnification for enlarging or reducing a size of a drawing corresponding to the input in the valid region, the magnification being determined such that a width along a direction perpendicular to the longitudinal direction of the valid region conforms to a width along a transverse direction of a printing medium; and a data rotation unit that, in a case in which the longitudinal direction of the valid region which is determined by the longitudinal direction determination unit is different from a longitudinal direction of the input detection region, rotates the drawing by an angle between the longitudinal direction of the valid region and the longitudinal direction of the input detection region.