Honored Contributor Honored Contributor
Re: memory fault when using lpstat command
That is where the use of lpmgr is important to backup the configuration ( I figured you had a long list ).

If you really want to fix then here is where your scripting skills will come into play.

Script the removal and re-adds. Eventually you will run into the queue causing the issue?

Maybe start with remotes(LPR) first, if you have any?

Maybe run thought the list of printers and disable then re-enable. This has been known to fix stuff in the past also?

If you have a test/crash and burn server. Restore the queues with lpmgr over there to recreate the problem ?

/usr/sam/lbin/lpmgr -? will get you the options.
export with lpmgr
tar up your export directory
ftp to other server
untar
import