In a small bowl, mix the cream cheese, mayonnaise, salt, and pepper until smooth.
Spread the cream cheese mixture over half the bread slices.
Top with cucumber slices and chopped dill for cucumber sandwiches.
For ham and cheese sandwiches, layer ham and cheese slices over the spread.
For egg salad sandwiches, mix chopped eggs with mustard and butter, then spread over bread.
Top with remaining bread slices, press gently, and trim crusts if needed.
Cut each sandwich into halves or quarters before serving.