Link to home
Start Free TrialLog in
Avatar of ffoley
ffoley

asked on

HP Laserjet 5000 error

Hi i have a laserjet 5000 and it has worked fine for some time now but last week it would not print from one of the programs that i use it will not print from sage (a dos based progi) it still works fine from every other program on my computer just not the sage the error that it keeps giving me is  

ERRER:undefined
OFFENDING COMMAND: E&K2SM

STACK

I have uninstalled it from our print server and reinstalled it i have also uninstalled it from our clients pc and reinstalled it but to no avail

Has any one seen this error before?
Avatar of slink9
slink9

This is all that I could find - http://www.hp.com/cposupport/printers/support_doc/npl01063.html.  Does it help?
 What it means is that your program is sending a bad PCL command Ec&K2SM is not a valid PCL command.  This means either that your program is actually sending the bad command, or the data is getting corrupted, either thru bad communications or spooler/driver issues.
  If the offending command is the same every time, I would guess that it's not bad communications, although that's still a possibility.  This is a Dos based app, we can find out if the windows driver or spooler is causing problems by restarting into DOS, rather than running it through a window (provided you've got a parallel connection).  If it still happens in bare DOS mode, we've narrowed it down to either the connection, or the program.  
  It's a bit more difficult to test this with certainty.  One thing you can do is go into the options of the driver, and set it to print to file, then take that file, look through it for the bad command (it'll be text format), or take that file to another computer and printer (any other HP laserjet should work), and send it out, see if the same error occurs.  If so, then it would seem to be your application is sending the bad data.  
  Is there anywhere in your app that you can see the PCL code it sends, and possibly edit it?
ASKER CERTIFIED SOLUTION
Avatar of Kyle Schroeder
Kyle Schroeder
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Also, have you tried power cycling the printer?  I have had weird problems with HP LJ printers doing this kind of junk, and turning them off for a while has fixed it (mostly HP LJ 4000's, printing from Outlook 98....)

-d
Have you found a solution yet, ffoley?
Apparently so...ffoley, what fixed the problem?

-d
Avatar of ffoley

ASKER

i changed it to Print directly to port

Thank's