The Root of the Problem
Your PCL XL error (IllegalOperatorSequence) usually means there’s a driver issue or some compatibility problem.
-----
Steps to Fix the Issue
Reinstall Printer Drivers
1. Uninstall the current driver (Settings → Printers & Scanners → Remove Device).
2. Restart your computer.
3. Reinstall the latest driver from HP website.
4. Set it up again and test.
Check these documents and setup your printer with the right setting:
---