Cook corn in boiling water for 2 minutes. Dip in cold water and cut grains from the cob. Chop the cabbage, onion and peppers into small pieces and add to corn. Mix vinegar, sugar, salt and spices and heat to boiling. Add the corn and vegetables and boil until tender, 20 to 30 minutes, stirring frequently. Pour into sterile jars and seal. This makes about 8 pints.