• ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
  • ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
Guidelines
We have new content about printers, Click here to check it out!
Common problems for Connectivity Issues
We would like to share some of the most frequently asked questions about Printer Wi-Fi, Connectivity Issues and Offline Status. Check out this link: HP printer is offline or unavailable.
HP Recommended
HP LaserJet Enterprise M608x

Hi HP team,

I'm trying to use PCL command to print some pdf files. I'm not using any printer's drivers as I'm sending pcl command to printer's ip address directly through socket. I successfully done it when send pure text file to the printer and got it printed. But when I use same PCL command to print pdf, I failed.

Exact model number/product number(SKU number) ?
Laserjet M608, product no. K0Q19A

- Error messages (if any) on the unit?
No error, just PCL tray selection command doesn't work when print pdf file. It only works with pure text.

- When was the last time it was working fine?
Never

- Were there any changes made to your PC recently?
Never
https://developers.hp.com/system/files/attachments/PCL_5_Developers_Guide.pdf
I followed this guide to send pcl command to printer's ip address directly. But it only works with pure simple text like print 'ABC', if I send pdf file to printer's ip using same pcl command then the pcl command like tray selection command 'Ec&l1H' won't work. Any suggestions would be appreciated.

† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.