To Make Cayenne Pepper
From Directions for Cookery, in its Various Branches by Eliza Leslie, tenth edition, Philadelphia, 1840; first published 1837.

Method
Take ripe chillies and dry them a whole day before the fire, turning them frequently. When quite dry, trim off the stalks and pound the pods in a mortar till they become a fine powder, mixing in about one sixth of their weight in salt. Or you may grind them in a very fine mill. While pounding the chillies, wear glasses to save your eyes from being incommoded by them. Put the powder into small bottles, and secure the corks closely.
About the book
The general cookbook of the Philadelphia writer Eliza Leslie, first published in 1837 and reprinted through the middle of the century. Its receipts are long and exact for their time, with weights, measures and timings written into the prose. The Gutenberg text follows the tenth edition of 1840.
Directions for Cookery, in its Various Branches: all 714 recipes
Where this comes from
Directions for Cookery, in its Various Branches
From a public-domain cookbook. Mustard and Pepper. Licence: Public domain (Project Gutenberg). An old recipe in its own words and measures. Some old methods are now known to be unsafe.