I printed in the following orientation with tree supports for the pegs and it worked quite well.

I used another model of mine for the pegs which you can find here: https://www.printables.com/model/611174-parametric-ikea-skadis-pegs-hooks
The author remixed this model.
I've added pegs to the model to make it compatible with and Ikea Skadis pegboard.