HP LaserJet - Products not supported in Windows 8 or Windows 8.
Products not supported
The following products are not supported and do not have any driver options available in the Microsoft Windows 8 and Windows 8.1 operating systems:
NOTE: If your printer is not listed here, it is supported. Go to Windows 8 and Windows 8.1 support (c03365145) (in English) to determine the recommended driver for your printer.
HP Color LaserJet 3700 Printer series (USB connection only)
NOTE: The HP Color LaserJet 3700 IS supported in Windows 8 using a network connection. For information about available drivers, go to Windows 8 and Windows 8.1 support (c03365145) (in English).
HP Color LaserJet 8550 Multifunction Printer series
HP LaserJet Plus Printer
HP LaserJet IId Printer
HP LaserJet IIId and IIIsi Printers
NOTE: The HP LaserJet III and IIIp ARE supported. Use Windows Update to obtain the driver.
The PCL XL error is printed from the printer because the Laserjet 5 does not support the PCL XL protocol. You would have to find a PCL5 compatible driver.
Here is the download page for the Universal Print Driver PCL 5. It should work for your LaserJet 5 series. There is a 32 bit version and a 64 bit version for Windows 8.1. You will have to find out which version it is and download the appropriate version.
Computer Type PC/Desktop System Manufacturer/Model Number Home Built OS Windows 10 Pro CPU Intel Xeon E3-1230 V2 @ 3.3-3.7 Ghz Motherboard MSI Z77-G41 Memory 16 GB Kingston HyperX Beast DDR3-1600 Graphics Card NVIDIA GT 730 Sound Card Creative Sound Blaster X-Fi XtremeMusic Monitor(s) Displays Dual 20 Inch Dell Screen Resolution 1680*1050
Keyboard Logitech K330 Mouse Logitech M215 PSU Thermaltake 550W Case Antec Nine Hundred Two Cooling Arctic Freezer i30 CO Hard Drives Western Digital Caviar Blue 500 GB
Western Digital Caviar Black 1 TB Internet Speed 60 Mbps Browser Comodo Chromodo Antivirus Comodo Internet Security Premium