A method of coating with a material includes the steps of moving at least
one of a stage and a head relative to the other in a Y axis direction
perpendicular to an X axis direction in a first pass period while
positioning each ejection nozzle forming a first nozzle group in an
ejectable range and positioning each nozzle forming a second nozzle group
out of the ejectable range; and moving at least one of the stage and the
head relative to the other in the Y axis direction perpendicular to the X
axis direction in a second pass period while positioning each of the
ejection nozzles forming the second nozzle group in the ejectable range.