Patent ID: 8564817

Claim:
A device comprising: an obtaining unit configured to, in a case where a first identifier that is communicated between a printing apparatus and an information processing apparatus in order to specify a type of a printing medium that is used in the printing apparatus, and a second identifier unique to each of a plurality of types of printing medium are set in both the printing apparatus and the information processing apparatus, obtain the first identifier and the second identifier set in each of the information processing apparatus and the printing apparatus; a determination unit configured to determine whether different first identifiers are set with respect to a type of printing medium which is common in the information processing apparatus and the printing apparatus, based on the first identifier and the second identifier obtained by the obtaining unit; and a changing unit configured to, in a case where it is determined by the determining unit that the different first identifiers are set, change the first identifier set in at least one of the information processing apparatus and the printing apparatus, such that a common first identifier is set with respect to the type of printing medium which is common in the information processing apparatus and the printing apparatus.