Heat the oven to 375°F. Lightly butter a shallow 2-quart rectangular baking dish. Spread the remaining butter thinly on the slices of baguette. Line the baking dish with half the baguette slices, butter side down. Arrange the ham and half the cheese over the bread. Top with the remaining baguette slices, butter side up, and sprinkle with the remaining cheese.
Beat together the eggs and half-and-half, adding
Bake for about 45 minutes, until the custard is set but still a bit wiggly and the top is nicely browned.