A head unit (51B, 51C, 51M, 51Y) comprising: a recording head (52a, 52b, 52c) including a plurality of nozzles for ejecting ink on a recording medium; a frame which has a side wall that extends in a width direction perpendicular to a conveying direction of the recording medium to be adjacent to the recording head and to which the recording head is connected rotatably about a head rotary shaft arranged in an end part of the recording head in the width direction; and an angle adjusting portion which is arranged at another end part side of the recording head, opposite from the head rotary shaft in the width direction, and which rotates the recording head about the head rotary shaft, wherein the angle adjusting portion includes: a frame adjusting screw which is provided on the side wall, on a face thereof opposite the recording head and which can reciprocate in directions moving toward and away from the recording head; and characterized in that the head unit further comprises a head adjusting screw which is provided on the recording head, on a face thereof opposite the side wall and which can reciprocate in directions moving toward and away from the side wall, and the frame adjusting screw and the head adjusting screw make contact with each other at tip end parts thereof in a direction in which the frame adjusting screw and the head adjusting screw face each other. a recording head (52a, 52b, 52c) including a plurality of nozzles for ejecting ink on a recording medium; a frame which has a side wall that extends in a width direction perpendicular to a conveying direction of the recording medium to be adjacent to the recording head and to which the recording head is connected rotatably about a head rotary shaft arranged in an end part of the recording head in the width direction; and an angle adjusting portion which is arranged at another end part side of the recording head, opposite from the head rotary shaft in the width direction, and which rotates the recording head about the head rotary shaft, wherein which is arranged at another end part side of the recording head, opposite from the head rotary shaft in the width direction, and which rotates the recording head about the head rotary shaft, wherein the angle adjusting portion includes: a frame adjusting screw which is provided on the side wall, on a face thereof opposite the recording head and which can reciprocate in directions moving toward and away from the recording head; and characterized in that the head unit further comprises a head adjusting screw which is provided on the recording head, on a face thereof opposite the side wall and which can reciprocate in directions moving toward and away from the side wall, and a frame adjusting screw which is provided on the side wall, on a face thereof opposite the recording head and which can reciprocate in directions moving toward and away from the recording head; and characterized in that the head unit further comprises which is provided on the side wall, on a face thereof opposite the recording head and which can reciprocate in directions moving toward and away from the recording head; and characterized in that the head unit further comprises a head adjusting screw which is provided on the recording head, on a face thereof opposite the side wall and which can reciprocate in directions moving toward and away from the side wall, and which is provided on the recording head, on a face thereof opposite the side wall and which can reciprocate in directions moving toward and away from the side wall, and the frame adjusting screw and the head adjusting screw make contact with each other at tip end parts thereof in a direction in which the frame adjusting screw and the head adjusting screw face each other.