Summarize this article:

White, French, or sourdough sandwich bread will work great for this, but you can also use other types as well, such as wheat. Do not use baguette for this. For a tasty twist, use mayonnaise instead of butter. Place one of the bread slices, buttered-side-down on the cutting board. Layer the ham and cheese on top, then press the final bread slice on top. Make sure that the buttered side is facing up. When you grill the sandwich, the butter will help make the bread nice and crispy.  The number of slices of ham and cheese does not have to be exact. You can use more/less of ham or cheese depending on your personal taste. Cheddar is the most popular choice, but you can also use other cheeses as well, such as Comté, Gouda, Gruyere, Monterey Jack, or Swiss. For an added punch of flavor, add some ranch dressing on top of the ham and cheese before you put the final slice of bread down. Place a skillet on the stove and let it get hot; you do not need to add any butter on it. Once the skillet is hot enough, place the sandwich on it and let it cook for 2 to 3 minutes. The sandwich is ready when the cheese melts and the bread turns golden brown. Use a heavy pot to press the sandwich down before you flip it and just before you take it off the skillet. This will flatten the sandwich and make it easier to eat. You can serve it as it is, or add a side, such as chips or fries.
Spread some butter on one side of each slice of bread. Assemble the sandwich, with the buttered sides of the bread on the outside. Cook the sandwich on a skillet over medium heat for 2 to 3 minutes. Flip the sandwich over using a spatula, then cook it a few minutes more. Serve the sandwich while it is still warm.