What was done
Gemini analysed the working Windows driver to work out the raster format the printer expects; the result became open-hl2140, a clean-room CUPS filter that prints photos the stock Linux driver garbled.
Where the human stepped in
The author wrote a long, detailed prompt, compared test prints and documented the findings; he calls the code a first pass that can be optimised.