Spurious page feeds when printing PDFs

When printing a PDF from PDF.js from Firefox, I get spurious page feeds. Downloading the same PDF and printing it from evince does not show the same problem.

This is with nixos-unstable, cups, hplip, an a HP OfficeJet Pro 8120e. Posting here because it’s of course tricky to say what component is at fault here - the fact that it fails for PDF.js but not for evince does not prove it’s a problem in PDF.js, it might also simply not be triggered from there. The first 2 rows of pixels on the page after a spurious line feed sometimes appear to contain noise.

Any hints on how to further narrow down the issue are appreciated!

Scratch that, it’s also happening when printing from evince :cry:

(a firmware update on the printer side didn’t help either)