Combine the flours, sugar substitute, baking soda, and baking powder in a bowl and stir to mix well. Set aside.
Combine the peanut butter, margarine, and brown sugar in a large bowl and beat with an electric mixer to mix well. Beat in the egg substitute, maple syrup, and vanilla extract. Add the flour mixture to the peanut butter mixture and beat to mix well.
Shape level teaspoonfuls of the dough into balls and arrange 1-1/2 inches apart on ungreased baking sheets. Flatten each cookie to 1/4 -inch thickness by crisscrossing with the tines of a fork. Dip the tines of the fork lightly in sugar between each cookie if desired.
Bake for 10 to 12 minutes, until the bottoms of the cookies are golden brown. Remove the cookies and let sit for 2 minutes. Transfer the cookies to wire racks to cool completely.