Gripper for holding an item formed from a pliable sheet material, said gripper comprising; - a body, - a first contact member located in a fixed position relative to the body, - a second contact member which is movable into an open position in which the second contact member is located at a distance from the first contact member and into a closed position to fixate the sheet material between the first contact member and the second contact member, - a first positioning member and a second positioning member, which are located in a fixed position relative to the body and at a distance from each other, wherein -- the second contact member is connected to a movable support having a third positioning member, which support is movable along a trajectory to move the second contact member in the open position and in the closed position, -- the third positioning member is attached to the support to move along with the support, -- the first positioning member comprises a first magnet, -- the second positioning member comprises a second magnet, -- the third positioning member comprises magnetic material, -- in the open position, the third positioning member is magnetically engaged by the first positioning member, and -- in the closed position, the third positioning member is magnetically engaged by the second positioning member. - a body, - a first contact member located in a fixed position relative to the body, - a second contact member which is movable into an open position in which the second contact member is located at a distance from the first contact member and into a closed position to fixate the sheet material between the first contact member and the second contact member, - a first positioning member and a second positioning member, which are located in a fixed position relative to the body and at a distance from each other, wherein -- the second contact member is connected to a movable support having a third positioning member, which support is movable along a trajectory to move the second contact member in the open position and in the closed position, -- the third positioning member is attached to the support to move along with the support, -- the first positioning member comprises a first magnet, -- the second positioning member comprises a second magnet, -- the third positioning member comprises magnetic material, -- in the open position, the third positioning member is magnetically engaged by the first positioning member, and -- in the closed position, the third positioning member is magnetically engaged by the second positioning member. -- the second contact member is connected to a movable support having a third positioning member, which support is movable along a trajectory to move the second contact member in the open position and in the closed position, -- the third positioning member is attached to the support to move along with the support, -- the first positioning member comprises a first magnet, -- the second positioning member comprises a second magnet, -- the third positioning member comprises magnetic material, -- in the open position, the third positioning member is magnetically engaged by the first positioning member, and -- in the closed position, the third positioning member is magnetically engaged by the second positioning member.