Patent ID: 7775733

Claim:
An image processing apparatus comprising: a medium feeding passage for conveying a medium; an image processing portion for performing an image processing of the medium including a print head which performs printing on the medium; a gap adjusting mechanism which widens a space between the medium and the print head; a detector for detecting first left end and right end positions of the medium at a first position in a medium conveyance direction of the medium and detecting second left end and right end positions of the medium at a second position in the medium conveyance direction of the medium after a conveyance of the medium by a predetermined distance subsequent to the detection of said first left end and right end positions, a medium guide arranged on a downstream side in the medium conveyance direction with respect to the image processing portion, wherein the second left end and right end positions are detected before a front end of the medium reaches the medium guide, and a comparator for comparing the first left end position with the second left end position and comparing the first right end position with the second right end position, wherein a predetermined processing is made according to the compared results from the comparator, wherein if the compared result from the comparator is greater than a predetermined value, the medium is discharged with the spacing of the print head widened.