Method for creating custom-sized cardboard blanks for folding packagings from a piece of corrugated cardboard cut-off from a web of fanfold cardboard, said cardboard having transverse folds from fanfolding, comprising the steps of - calculating, based on order information regarding the desired minimum dimensions of a current packaging, under predefined optimization criteria a first blank layout for folding the packaging, said blank layout comprising a leading edge and an ending edge and transverse and longitudinal crease lines dividing the blank having a desired length and width into panels, - defining, based on predefined criteria, areas around the transverse crease lines, the leading edge and the ending edge, in which no transverse folds should be present, - obtaining information on the presence of transverse folds in cardboard ready to be cut-off from a first web of fanfold cardboard and checking, if transverse folds are present in said areas, - if no transverse folds are present in said areas, cutting-off a piece of cardboard and forming the desired blank, and - if a transverse fold is present in at least one of said areas, performing at least one of the following steps: A) calculating a second blank layout for folding the same packaging, said second layout comprising transverse and longitudinal crease lines at different positions than the first layout, B) enlarging at least one of the panels by shifting a respective transverse crease line and the ending edge, C) obtaining information on the presence of transverse folds in cardboard ready to be cut-off from at least one additional web of fanfold cardboard, and, if no transverse folds are present in said areas, cutting-off a piece of cardboard of the desired length from the at least one additional web. - calculating, based on order information regarding the desired minimum dimensions of a current packaging, under predefined optimization criteria a first blank layout for folding the packaging, said blank layout comprising a leading edge and an ending edge and transverse and longitudinal crease lines dividing the blank having a desired length and width into panels, - defining, based on predefined criteria, areas around the transverse crease lines, the leading edge and the ending edge, in which no transverse folds should be present, - obtaining information on the presence of transverse folds in cardboard ready to be cut-off from a first web of fanfold cardboard and checking, if transverse folds are present in said areas, - if no transverse folds are present in said areas, cutting-off a piece of cardboard and forming the desired blank, and - if a transverse fold is present in at least one of said areas, performing at least one of the following steps: A) calculating a second blank layout for folding the same packaging, said second layout comprising transverse and longitudinal crease lines at different positions than the first layout, B) enlarging at least one of the panels by shifting a respective transverse crease line and the ending edge, C) obtaining information on the presence of transverse folds in cardboard ready to be cut-off from at least one additional web of fanfold cardboard, and, if no transverse folds are present in said areas, cutting-off a piece of cardboard of the desired length from the at least one additional web. A) calculating a second blank layout for folding the same packaging, said second layout comprising transverse and longitudinal crease lines at different positions than the first layout, B) enlarging at least one of the panels by shifting a respective transverse crease line and the ending edge, C) obtaining information on the presence of transverse folds in cardboard ready to be cut-off from at least one additional web of fanfold cardboard, and, if no transverse folds are present in said areas, cutting-off a piece of cardboard of the desired length from the at least one additional web. <EOS>