A method for nesting a plurality of digital input files into a digital output file according to a predetermined nesting strategy, each digital input file being of a same predetermined digital filetype and having a size and a user unit value which is a multiplication factor of a maximum length or height defined for the same predetermined digital filetype, and the digital output file intended to be printed by a printing system , the method comprises the steps of - determining a size of the digital output file which is needed to accommodate the plurality of digital input files according to the predetermined nesting strategy, - determining a user unit value for the digital output file which corresponds to the determined size of the digital output file , and for each digital input file - scaling the digital input file with a scale factor such that the size and an aspect ratio of the digital input file is kept in the digital output file when using the user unit value which is determined for the digital output file , and - placing the scaled digital input file into the digital output file , wherein the scale factor is equal to the determined user unit value of the digital output file divided by the user unit value of the digital input file , wherein the step of determining the size of the digital output file comprises a substep of calculating a total width and a total height for the digital output file which is in accordance with the predetermined nesting strategy, and wherein the step of determining the user unit value for the digital output file comprises the sub-steps of taking a biggest value of the total width and the total height for the digital output file , dividing said biggest value by the maximum length or height defined for the same predetermined digital filetype resulting in a number result, and rounding up the number result, and wherein the predetermined digital filetype of each of the digital input files is a portable document format. - determining a size of the digital output file which is needed to accommodate the plurality of digital input files according to the predetermined nesting strategy, - determining a user unit value for the digital output file which corresponds to the determined size of the digital output file , and for each digital input file - scaling the digital input file with a scale factor such that the size and an aspect ratio of the digital input file is kept in the digital output file when using the user unit value which is determined for the digital output file , and - placing the scaled digital input file into the digital output file , - scaling the digital input file with a scale factor such that the size and an aspect ratio of the digital input file is kept in the digital output file when using the user unit value which is determined for the digital output file , and - placing the scaled digital input file into the digital output file , wherein the scale factor is equal to the determined user unit value of the digital output file divided by the user unit value of the digital input file , wherein the step of determining the size of the digital output file comprises a substep of calculating a total width and a total height for the digital output file which is in accordance with the predetermined nesting strategy, and wherein the step of determining the user unit value for the digital output file comprises the sub-steps of taking a biggest value of the total width and the total height for the digital output file , dividing said biggest value by the maximum length or height defined for the same predetermined digital filetype resulting in a number result, and rounding up the number result, and wherein the predetermined digital filetype of each of the digital input files is a portable document format. <EOS>