-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
- HP Community
- Printers
- Printer Wireless, Networking & Internet
- How can I use pcl command and control printing without using...

Create an account on the HP Community to personalize your profile and ask a question
11-13-2024 08:04 PM
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.