Sift the flour, baking soda, cinnamon, ginger, allspice, cloves, salt, and pepper into a medium bowl through a wire sieve. Set aside.
In a large bowl, beat the butter and vegetable shortening with a hand-held electric mixer on high speed until combined, about 1 minute. Add the brown sugar and beat until the mixture is light in texture and color, about 2 minutes. Beat in the molasses and egg. Using a wooden spoon, gradually mix in the flour mixture until a stiff dough forms. Divide the dough into two thick disks and wrap each in plastic wrap. Refrigerate until chilled, at least 3 hours. (You can prepare the dough up to 2 days ahead.)
Preheat oven to 350°F. Line half-sheet pans with parchment paper. Set aside.
To roll out the cookies, work with one disk at a time, keeping the other disk in the refrigerator. Remove the dough from the refrigerator and let it stand at room temperature until just warm enough to roll out without cracking, about 10 minutes. (If the dough has been chilled for longer than 3 hours, it may need a few more minutes.) Place the dough on a piece of parchment paper or another work surface dusted with confectioners' sugar. Sprinkle the top of the dough with confectioners' sugar, then cover with another piece of parchment paper or plastic wrap. Roll out the dough to ⅛-inch thick, making sure it isn't sticking to the work surface (run a long metal spatula or knife under the dough occasionally to be sure, and dust the surface with more confectioners' sugar if needed). For softer cookies, roll out slightly thicker. Using a gingerbread man cookie cutter measuring 4½ inches long by 4 inches wide, cut out the cookies and transfer them to parchment-lined cookie sheets, leaving 1 inch between each cookie. Gently knead the scraps together and form into another disk. Wrap and chill for 5 minutes, then roll out again and cut out more cookies. Repeat with the remaining dough and scraps for a total of 20 cookies.
Bake six cookies at a time at 350°F for 10 to 12 minutes per sheet, until the edges are set and crisp. Cool on the sheet for 2 minutes, then transfer to a wire rack to cool completely.