Patent ID: 6983886

Claim:
A method of setting a two-dimensional code reader for reading a two-dimensional code by using an image pick-up section, comprising the steps of: designating a specification of the two-dimensional code including one or more of a code type, a model, an error correcting level, a printing pattern, a data type for encoding the two-dimensional code, a data volume, a printable space or printing precision of the two-dimensional code; calculating the specification of the two-dimensional code including one or more of a cell size or a symbol size of the two-dimensional code in accordance with the designated condition; designating an attachment condition of the image pick-up section including one or more of an attachment distance limitation of the image pick-up section, a shift tolerance of a two-dimensional code label, presence or absence of rotation, a cell size of the two-dimensional code or a printing pattern; and calculating an attachment specification including one or more of the attachment distance of the image pick-up section, a focusing range, a size of a visual field, the number of pixels to be allocated to one cell, a total thickness of close-up rings, a combination of a thickness of each of the necessary close-up rings and the number thereof, or a standard of a scale of a focusing ring in accordance with the specification of the calculated two-dimensional code and the attachment condition of the image pick-up section.