A device that applies glue to a packaging material and folds a first portion of the packaging material onto a second portion of the packaging material with the glue therebetween, the device comprising: a support structure; a support plate coupled to the support structure, wherein the support plate is configured for supporting a packaging material; a first clamp and a second clamp (136/138), wherein: the first and second (136/138) clamps are each movable between a first position and a second position; the first and second (136/138) clamps permitting the packaging material to be inserted or withdrawn from the device when the first and second (136/138) clamps are in their respective second positions; the first clamp selectively holds the first portion of the packaging material against the support plate when in the first position and the second clamp (136/138) selectively holds the second portion of the packaging material against the support plate when in the first position; and wherein the first portion is at an end of the packaging material a gluing apparatus having a glue dispensing nozzle (146/148) fluidly coupled to a glue supply, wherein the glue dispensing nozzle is movably mounted to the support structure such that the glue dispensing nozzle can be selectively moved between a first position and a second position on the support structure to apply glue along a length of at least one edge surface of the second portion of the packaging material while the first and second (136/138) clamps are in their respective first positions; and a folding apparatus configured for folding the first portion of the packaging material onto the second portion of the packaging material after glue has been applied to the at least one edge surface of the second portion of the packaging material, the folding apparatus comprising: a first folding bar that folds the first portion of the packaging material onto the second portion of the packaging material while the second clamp (136/138) is in the first position; and a second folding bar that supports the packaging material under the first folding bar to seal the first portion of the packaging material onto the second portion of the packaging material while the first clamp is in the second position and the second clamp (136/138) is in the first position. a support structure; a support plate coupled to the support structure, wherein the support plate is configured for supporting a packaging material; a first clamp and a second clamp (136/138), wherein: the first and second (136/138) clamps are each movable between a first position and a second position; the first and second (136/138) clamps permitting the packaging material to be inserted or withdrawn from the device when the first and second (136/138) clamps are in their respective second positions; the first clamp selectively holds the first portion of the packaging material against the support plate when in the first position and the second clamp (136/138) selectively holds the second portion of the packaging material against the support plate when in the first position; and wherein the first portion is at an end of the packaging material the first and second (136/138) clamps are each movable between a first position and a second position; the first and second (136/138) clamps permitting the packaging material to be inserted or withdrawn from the device when the first and second (136/138) clamps are in their respective second positions; the first clamp selectively holds the first portion of the packaging material against the support plate when in the first position and the second clamp (136/138) selectively holds the second portion of the packaging material against the support plate when in the first position; and wherein the first portion is at an end of the packaging material a gluing apparatus having a glue dispensing nozzle (146/148) fluidly coupled to a glue supply, wherein the glue dispensing nozzle is movably mounted to the support structure such that the glue dispensing nozzle can be selectively moved between a first position and a second position on the support structure to apply glue along a length of at least one edge surface of the second portion of the packaging material while the first and second (136/138) clamps are in their respective first positions; and a folding apparatus configured for folding the first portion of the packaging material onto the second portion of the packaging material after glue has been applied to the at least one edge surface of the second portion of the packaging material, the folding apparatus comprising: a first folding bar that folds the first portion of the packaging material onto the second portion of the packaging material while the second clamp (136/138) is in the first position; and a second folding bar that supports the packaging material under the first folding bar to seal the first portion of the packaging material onto the second portion of the packaging material while the first clamp is in the second position and the second clamp (136/138) is in the first position. a first folding bar that folds the first portion of the packaging material onto the second portion of the packaging material while the second clamp (136/138) is in the first position; and a second folding bar that supports the packaging material under the first folding bar to seal the first portion of the packaging material onto the second portion of the packaging material while the first clamp is in the second position and the second clamp (136/138) is in the first position.