For the gratinated breads, spread the breads with butter. Peel garlic and press onto the breads. Cover the breads with 2 slices of ham each.
Add corn, bacon cut into small cubes, pepperoni in pieces, spread on the breads and cover with cheese.
Bake in the oven at 180°C until the cheese has melted. Serve the baked sandwiches.