"The Walrus and the Carpenter" by John Tenniel. The carpenter is wearing a hat of this type.
From printer + -'s + hat.
printer's hat
- A traditional box-shaped hat made from folded paper, formerly worn by craft tradesmen such as carpenters, masons, and printers.