Reproduced with upstream hplip-3.12.4. Submitted this bug to upstram tracker as https://bugs.launchpad.net/bugs/997225