Operating System - HP-UX
1848225 Members
7151 Online
104022 Solutions
New Discussion

lpstat causes garbled character

 
Glenn Bohrman
Occasional Contributor

lpstat causes garbled character

When I run the lpstat command, the last line that apears is -12345X@PJL enter language=PCL

Os is HP-UX 11.11. I had been removing/adding some printers but not sure where my problem started. After running lpstat the prompt is garbled and does not do correct .
3 REPLIES 3
RAC_1
Honored Contributor

Re: lpstat causes garbled character

type lpstat
Is that corrct location??
What if you do
lpstat -t or any other options? does it show
garbled chars??
There is no substitute to HARDWORK
Glenn Bohrman
Occasional Contributor

Re: lpstat causes garbled character

Located in /usr/bin
lpstat -p shows up OK
lpstat t does the same thing.
The last line returned is
-12345X@PJL enter language=pcl
then I'm basically done, I have to close session and reconnect.
RAC_1
Honored Contributor

Re: lpstat causes garbled character

Compare the size of lp command. Compare it to the lp on some other system, where it is working fine.
Up to date on lp patches??

When you lpstat, what is the last printer that it reports. Is that printer correctly configured?? Check this printer through SAM, if required delete and add it back.

You may want to do lpstat on each printer and find out, if any of those report this error/garbled error.
There is no substitute to HARDWORK