A method of using a system comprising a central computer, a first control computer (104, 202) and a server, the central computer being communicatively connectable to the first control computer and to the server, the central computer being configured to dynamically allocate and transmit unique codes from the server to the first control computer, characterized in that the method comprises the steps of: - the server receiving a first request for a first patch of unique codes from the first control computer of a first printing machine, wherein the first control computer is communicatively connected to the first printing machine having a first rate of printing, and wherein the first control computer controls the first printing machine for printing the unique codes in package labels; - the server obtaining printing parameters comprising a file size of a unique code and a printing speed of the first printing machine, wherein each unique code which is to be included in a patch has said file size; - determining, using the first control computer, a first time interval between the first request to the server and a first received unique code being available to be used by the first printing machine; - the server determining a first communication speed between the server and the first control computer; - the server dynamically calculating a first optimum patch size of the first patch of unique codes to be delivered to the first control computer based on the first request from the first control computer of the first printing machine, the printing parameters, the first time interval and the first communication speed, wherein the first optimum patch size is a patch size of the first patch of unique codes to be printed in the package labels by the first printing machine; and - communicating a first patch of unique codes having a patch size equal to the first optimum patch size to the first control computer of the first printing machine. - the server receiving a first request for a first patch of unique codes from the first control computer of a first printing machine, wherein the first control computer is communicatively connected to the first printing machine having a first rate of printing, and wherein the first control computer controls the first printing machine for printing the unique codes in package labels; - the server obtaining printing parameters comprising a file size of a unique code and a printing speed of the first printing machine, wherein each unique code which is to be included in a patch has said file size; - determining, using the first control computer, a first time interval between the first request to the server and a first received unique code being available to be used by the first printing machine; - the server determining a first communication speed between the server and the first control computer; - the server dynamically calculating a first optimum patch size of the first patch of unique codes to be delivered to the first control computer based on the first request from the first control computer of the first printing machine, the printing parameters, the first time interval and the first communication speed, wherein the first optimum patch size is a patch size of the first patch of unique codes to be printed in the package labels by the first printing machine; and - communicating a first patch of unique codes having a patch size equal to the first optimum patch size to the first control computer of the first printing machine.