A line head inkjet printer includes an inkjet head, a storage unit, and a controller. The inkjet head includes a flow path unit and individual electrodes. The flow path unit is formed with pressure chambers communicating with nozzles. The individual electrodes correspond to the pressure chambers. The storage unit stores a table in which plural blocks, each of which includes at least one nozzle, are ranked in accordance with an amount of ejected ink per nozzle in each block. The controller generates plural kinds of waveforms, which are used to eject different amounts of ink from the nozzles. The controller selects a waveform for each block from the plurality kinds of waveforms on a basis of the table stored in the storage unit so that a difference among the blocks in the amount of ejected ink per nozzle becomes small. The controller outputs the selected waveforms to the individual electrodes.