1. An image processing apparatus comprising: at least one processor configured to execute: an acquisition section configured to acquire one or more sets of attribute information, the attribute information including an attribute of a publication, identification information which identifies the publication, and label information which indicates at least one of an arrangement of the publication in an establishment and a period during which the publication is not permitted to be lent; a conversion section configured to convert the acquired identification information into a code image; a generation section configured to that generate a label image based on the acquired label information; and an image generating section configured to generate an image which expresses one or more of the acquired attribute information, the code image, and the generated label image on one or more media such that image groups corresponding to one set are generated to be formed on one piece of medium, wherein, the acquisition section is configured to, in response to the publication being a book, acquire arrangement information, which indicates arrangement of the book in the establishment, as the label information, wherein the acquisition section is configured to, in response to the publication being a magazine, acquire prohibition period information, which indicates a period during which the magazine is not permitted to be lent, as the label information, and wherein the image generating section is configured to sort the image groups according to whether the publication is the book or the magazine, and arrange the image groups in the sorted order.