An image processing device for use with a printing device including a head having a plurality of nozzle rows (81-88) for discharging liquids onto a medium , and being configured to fill the head with the liquids selected according to the nozzle rows (81-88), the image processing device being configured to generate data that causes the printing device to perform printing, wherein the liquids are a color ink and a penetrant liquid (Ac), when it is necessary to newly dispose the penetrant liquid in the head, the image processing device is configured to calculate a usage amount of each color ink from printing data generated based on the color ink disposed in the nozzle row (81a-88b), wherein the image processing device is configured to integrate the discharging amounts of the color ink discharged from each of the nozzle rows (81a-88b) and calculates the usage amount for each color ink, and determine an ink to be replaced with the penetrant liquid based on the usage amount, characterised in that the image processing device is further configured to determine a nozzle row placement method so as to dispose the penetrant liquid in an end nozzle row that is a nozzle row positioned at an end portion of the head, and generate liquid replacement data for replacing the liquid disposed in the head with the penetrant liquid and output the liquid replacement data to the printing device. wherein the liquids are a color ink and a penetrant liquid (Ac), when it is necessary to newly dispose the penetrant liquid in the head, the image processing device is configured to calculate a usage amount of each color ink from printing data generated based on the color ink disposed in the nozzle row (81a-88b), wherein the image processing device is configured to integrate the discharging amounts of the color ink discharged from each of the nozzle rows (81a-88b) and calculates the usage amount for each color ink, and determine an ink to be replaced with the penetrant liquid based on the usage amount, characterised in that the image processing device is further configured to determine a nozzle row placement method so as to dispose the penetrant liquid in an end nozzle row that is a nozzle row positioned at an end portion of the head, and generate liquid replacement data for replacing the liquid disposed in the head with the penetrant liquid and output the liquid replacement data to the printing device. calculate a usage amount of each color ink from printing data generated based on the color ink disposed in the nozzle row (81a-88b), wherein the image processing device is configured to integrate the discharging amounts of the color ink discharged from each of the nozzle rows (81a-88b) and calculates the usage amount for each color ink, and determine an ink to be replaced with the penetrant liquid based on the usage amount, characterised in that the image processing device is further configured to determine a nozzle row placement method so as to dispose the penetrant liquid in an end nozzle row that is a nozzle row positioned at an end portion of the head, and generate liquid replacement data for replacing the liquid disposed in the head with the penetrant liquid and output the liquid replacement data to the printing device. <EOS>