I'm trying to send PJL commands to my HP Deskjet 2630, but it doesn't respond. My Commands:
out.writeBytes(UEL+"@PJL COMMENT *Start Job* \r\n");
out.writeBytes("@PJL JOB NAME = \"Sample Job #1\" \r\n");
out.writeBytes("@PJL SET COPIES = 3 \r\n");
out.writeBytes("@PJL SET RET = OFF \r\n");
out.writeBytes("@PJL ENTER LANGUAGE = PCL \r\n");
out.writeBytes(ESC+"E. . . . PCL job . . . ."+ESC+"E");
out.writeBytes("@PJL ENTER LANGUAGE = PCL \r\n");
out.writeBytes("~"+ESC+"%–12345X@PJL \r\n");
out.writeBytes("@PJL EOJ\r\n");
out.writeBytes(ESC+"%–12345X");