Choosing the angle for a sideways or upside-down page
Look at where the top of the text currently points. If it points left, 90° clockwise brings it upright. If it points right, choose 270°, which is the same as a quarter turn counter-clockwise. If the text is upside down, choose 180°.
Each run applies one angle. A document with some pages turned left and others turned right needs two passes: rotate the first group by 90°, then load the downloaded result and rotate the second group by 270°. To undo a turn, either start again from the untouched original or apply the opposite angle to the output.
Only quarter turns are possible. A scan that went through the feeder a few degrees crooked needs deskewing in scanning or image software; no combination of right-angle turns will straighten it.