Wifi printer, where both your machine and the printer are connected to the same AP? yes
If you'd rather just expose a USB printer to the network, a Pi Zero is a better fit.
If you'd rather just expose a USB printer to the network, a Pi Zero is a better fit.
What the Macbook can't do is have multiple wifi connections at the same time, so you'd have to disconnect from its primary network (which also rules out the Macbook serving as an AP that the printer connects to).