1827251 Members
2825 Online
109716 Solutions
New Discussion

lpstat command error

 
SOLVED
Go to solution
Lee Abell
Frequent Advisor

lpstat command error

I am getting the following error when I run the lpstat command. Any thoughts? Thanks!

lpstat -t | grep 2d3a
npi2d3a69 not accepting requests since Jan 14 13:43 -
printer npi2d3a69 disabled since Jan 14 13:43 -
lpstat: execlp failed
lpstat: execlp failed
lpstat: execlp failed
lpstat: execlp failed
lpstat: execlp failed
lpstat: execlp failed
lpstat: execlp failed
lpstat: execlp failed
lpstat: execlp failed
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: lpstat command error

This is what I get.

I'm not running the daemon.

Its safe to say the daemon is running on your system.

try this command:

enable 2d3a

Post the error, but we've reached very close to my limit of lp commands 'cause in real life I never used them. I only studied them to pass cert exam.

Chapter 21 HP Certified
Rafeeq Ur Rehman

Steve
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Robert-Jan Goossens
Honored Contributor
Solution

Re: lpstat command error

Hi,

Think you have a corrupted printer file, this is what i did.

start SAM, printers and plotters, lp spooler , spooler configuration ---- save spooler configuration and direct after that restore spooler configuration.
Hope it helps for you too,

Robert-Jan.
Jose Mosquera
Honored Contributor

Re: lpstat command error

Lee Abell
Frequent Advisor

Re: lpstat command error

Robert-Jan

That worked!! Thank you very much!
Paul Sperry
Honored Contributor

Re: lpstat command error

try restarting the scheduler.

# lpshut
# lpsched