Patent ID: 7549813

Claim:
A printing apparatus comprising: a detection section that is capable of moving and that is for detecting a medium to be printed; a transporting section for transporting the medium to be printed in a direction that intersects a movement direction of said detection section; and a control section, wherein the control section first causes said detection section to be positioned on one side in said movement direction, then causes said transporting section to transport said medium to be printed in a predetermined direction up to a first detection position where said detection section detects a first upper end of said medium to be printed, and then causes said detection section to move from the one side to the other side that is opposite from the one side in said movement direction, where said detection section detects a second upper end of said medium to be printed, wherein if said detection section detects that said second upper end is leading said first upper end by at least a set amount at said first detection position, said control section causes said transporting section to transport said medium to be printed from said detection position in a direction opposite from said predetermined direction, then causes said medium to be printed to be transported in said predetermined direction up to a second detection position where said detection section detects said medium to be printed, and then causes said medium to be printed to be transported by a predetermined amount in said predetermined direction from said second detection position; and wherein if said detection detects that said first upper end is leading said second upper end, said control section causes said transporting section to transport said medium to be printed in said predetermined direction from said first detection position by said predetermined amount without causing said transporting section to transport said medium to be printed from said first detection position in the direction opposite from said predetermined direction.