I've got a couple of spring arm lamps that clamp to a desk, and wanted to mount one to my peg board to free up some desk space, so I whipped this up.
I'm using an Ikea Tertial lamp in particular, but these lamps are generic enough that the mount should work for many others.
Just in case you've got something out of the ordinary, I've included the Fusion 360 archive and STEP file so you can tinker with it.
(sorry for the crappy photo - black on black doesn't read well)
Amazon Basics PETG
I recommend printing with supports just to ensure the under side of the pegs come out cleanly, otherwise this one should be pretty straight forward.
I printed with PETG because thats what I already had loaded in the printer, but it should work with PLA. If you print PLA, I'd make a point of printing at least 3 perimeters, and perhaps 25% infill.