You can try Fumatic driver which is recommended by default:
1) sudo getweb 1018
2) choose a printer driver from a list: HP --> LaserJet 1018
Than reboot and try to print.
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
HP Laserjet1018 detected by 17.10 but not print anything
To manage notifications about this bug go to:
ubuntu-bugs mailing list