cancel
Showing results for 
Search instead for 
Did you mean: 
  • ×
    Information
    Need Windows 11 help?
    Check documents and videos on compatibility, FAQs, upgrade information and available fixes.Windows 11 Support Center.
  • post a message
  • ×
    Information
    Need Windows 11 help?
    Check documents and videos on compatibility, FAQs, upgrade information and available fixes.Windows 11 Support Center.
  • post a message
The HP Calculator Community Message Board is moving. While we prepare for the move, we are unable to accept new postings. During the move, you can look for help from other users by visiting https://www.hpmuseum.org/ . Or if you need technical support for your calculator visit: HP Calculators. .
JacekM
New member
2 1 0 0
Message 1 of 4
2,922

Solved!

Laser printer as dot-matrix printer

HP Recommended
HP 1020
Other
 
242/5000
 
 
Is it possible to set the HP 1020 printer (with PCL, PJL command or any other) so that it works like a dot matrix printer?
My controller will send text to the printer without any control characters (except the new line mark) and it will be printed like on dot-matrix printer.
My controller can send any characters.
Tags (2)
1 ACCEPTED SOLUTION

Accepted Solutions
Jim_Asman
Level 6
207 156 8 27
Message 4 of 4
HP Recommended

It appears that the LJ1100 is a PCL5e printer, and as such can do everything you want.

 

Typically, PCL5 printers can detect from the context of the data received what is required. As such, from a DOS prompt you should be able to simply copy the text file to the printer port. Something like  copy /b textfile LPT1:

 

A PCL5 job should start with <esc>E, your text, followed by another <esc>E.   <esc> representing ascii char(27)/hex 1B

 

Now, PJL is used as a wrapper that surrounds the complete PCL file that at the beginning selects the language, which in the case of the 1100, is only PCL5. Other models also support Postscript.

 

In the case of    <esc>E Your text <esc>E   you will by default get 10 pitch Courier text and 60 lines of text at 6lpi on letter sized paper. Slightly more lines on A4. All of these parameters can be configured with PCL commands that you would put just after the first <esc>E. That will likely be 25 bytes MAX.

 

You can get VERY clever with PCL programming. I would suggest the you Google for the PCL Technical Reference Manual, a PDF of about 1000 pages that has all the answers. In the meantime, you might be a little more specific about what you are trying to do.

 

View solution in original post

Tags (2)
3 REPLIES 3
Jim_Asman
Level 6
207 156 8 27
Message 2 of 4
HP Recommended

That is a simple task for a printer that speaks  PCL3 or PCL5. Unfortunately, the 1020 is a "host based" printer that must be run through a printer driver.

JacekM
Author
New member
2 1 0 0
Message 3 of 4
HP Recommended

Thanks for your answer!

Which of the simpler HP printers (maybe from the family 1100) has the ability to switch to this mode of operation without printer driver?

How should i do this switch in case of HP printer that supports PCL language? Could you send me any small example?

Jim_Asman
Level 6
207 156 8 27
Message 4 of 4
HP Recommended

It appears that the LJ1100 is a PCL5e printer, and as such can do everything you want.

 

Typically, PCL5 printers can detect from the context of the data received what is required. As such, from a DOS prompt you should be able to simply copy the text file to the printer port. Something like  copy /b textfile LPT1:

 

A PCL5 job should start with <esc>E, your text, followed by another <esc>E.   <esc> representing ascii char(27)/hex 1B

 

Now, PJL is used as a wrapper that surrounds the complete PCL file that at the beginning selects the language, which in the case of the 1100, is only PCL5. Other models also support Postscript.

 

In the case of    <esc>E Your text <esc>E   you will by default get 10 pitch Courier text and 60 lines of text at 6lpi on letter sized paper. Slightly more lines on A4. All of these parameters can be configured with PCL commands that you would put just after the first <esc>E. That will likely be 25 bytes MAX.

 

You can get VERY clever with PCL programming. I would suggest the you Google for the PCL Technical Reference Manual, a PDF of about 1000 pages that has all the answers. In the meantime, you might be a little more specific about what you are trying to do.

 

View solution in original post

Tags (2)
Warning Be alert for scammers posting fake support phone numbers and/or email addresses on the community. If you think you have received a fake HP Support message, please report it to us by clicking on "Flag Post".
† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation