Alternate layers of sliced tomatoes with layers of sliced onion and chopped green peppers, in a large crock and sprinkle each layer with salt.
Let stand 24 hours, then drain.
Combine vegetables, spices and sugar and cover with vinegar.
Cook gently 45 minutes.
Pack in sterilized, hot jars and seal.