foxprohf
asked on
How to send PJL command to HP Laser?
How to send PJL command to HP Laser? Where can I get the information about PJL and PCL?
ASKER
I try to copy a file to LPT1 to set the printer.
copy abc.txt LPT1
abc.txt is a file for PJL setting
////////////////////////// ////////// ////
$%-12345X@PJL
@PJL DEFAULT PITCH = 12.00
$%-12345X
////////////////////////// ////////// //
However, I can't change it .
Is it true?
copy abc.txt LPT1
abc.txt is a file for PJL setting
//////////////////////////
$%-12345X@PJL
@PJL DEFAULT PITCH = 12.00
$%-12345X
//////////////////////////
However, I can't change it .
Is it true?
Try removing the second %-12345X, because it performs a kind of printer reset.
I don't know PJL language, thus I don't know if that command (DEFAULT PITCH=12.00) is right or not. Sorry... :(
I don't know PJL language, thus I don't know if that command (DEFAULT PITCH=12.00) is right or not. Sorry... :(
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
GREETINGS!
This question was awarded, but never cleared due to the JSP-500 errors of that time. It was "stuck" against userID -1 versus the intended expert whom you awarded. This corrects the problem and the expert will now receive these points; points verified.
Please click on your Member Profile and select "View Question History" to navigate through any open or locked questions you may have to update and finalize them. If you are an EE Pro user, you can also choose Power Search to find all your open questions.
This is the Community Support link, if help is needed, along with the link to All Topics which reflects many TAs recently added. Also in the Community Support link is a question on how experts can help, if they wish, on the cleaning of old and abandoned questions.
https://www.experts-exchange.com/jsp/qList.jsp?ta=commspt
https://www.experts-exchange.com/jsp/zonesAll.jsp
Thank you,
Moondancer
Moderator @ Experts Exchange
This question was awarded, but never cleared due to the JSP-500 errors of that time. It was "stuck" against userID -1 versus the intended expert whom you awarded. This corrects the problem and the expert will now receive these points; points verified.
Please click on your Member Profile and select "View Question History" to navigate through any open or locked questions you may have to update and finalize them. If you are an EE Pro user, you can also choose Power Search to find all your open questions.
This is the Community Support link, if help is needed, along with the link to All Topics which reflects many TAs recently added. Also in the Community Support link is a question on how experts can help, if they wish, on the cleaning of old and abandoned questions.
https://www.experts-exchange.com/jsp/qList.jsp?ta=commspt
https://www.experts-exchange.com/jsp/zonesAll.jsp
Thank you,
Moondancer
Moderator @ Experts Exchange
$%-12345X
(where "$" is actually Escape, this is, ASCII 27 [decimal])
After that, you can send
@PJL ENTER LANGUAGE=PCL
to enable PCL mode.
The PJL and PCL languages are documented in HP's technical reference guides. I've asked for HP here (argentine branch office) and they sent me a thick manual (totally free !!); perhaps you'll be so lucky, and get the same in your country.
If you have old Write (Win 3.x), you can "print" something, checking the box "Print to a file", and then examine file's contents with an editor to see the first part, where printer is set up.