In a food processor, process almonds until finely chopped. Add flour, sugar, cornstarch and salt; process with several on/off turns until mixed. Add butter and vanilla; process until slightly crumbly. Place dough on a lightly floured surface and divide in half. Add peppercorns to one half and knead until smooth. Add cranberries to other half and knead until smooth. Wrap each portion in plastic wrap and chill 30 minutes.
Preheat oven to 350 degrees F. Roll one portion of dough to 1/4-inch thick. Cut with a 2-inch round cutter. Place 1-inch apart on an ungreased baking sheet. Sprinkle with coarse salt or pearl decorating sugar.
Bake about 8 to 10 minutes or until edges and bottoms just start to brown. Transfer to wire rack and let cool. Repeat with remaining portion of dough.