Mr. Grammer is to play the largely comic role of Charles Frohman, the theater producer of "Peter Pan" playwright J.M. Barrie.