Let pears, onions and peppers stand in separate containers for 1 hour. Pour boiling water over each; drain well.
Combine pears, onion, peppers, vinegar, sugar and seasonings in a large kettle. Bring to a boil, reduce heat and simmer uncovered for 30 minutes. Pour hot mixture into hot sterilized jars, leaving 1/4 inch headspace.
Remove air bubbles and wipe jar rims.
Cover at once with metal lids and screw on bands.
Process in boiling water bath for 20 minutes.
Let stay in a cool place for 1 month before using.