Preheat the oven to 220 °C (425 °F). Roll out the pizza dough and place it on a baking sheet lined with parchment paper. Spread tomato sauce over the dough. Cut the ham into squares and arrange them on the pizza. Sprinkle with grated gruyère cheese. Season with salt and pepper, and bake for 15 to 20 minutes.