lprrm

Hi all

Is there a way to restrict lprrm to only clear the queue on the local
machine?

I use lprrm from code and I don’t want the program to hang/wait in case the
printer is not reachable.


Help appreciated
Markus

Any body cares or dares to reply?

“Markus Jauslin” <markus.jauslin@ch.mullermartini.com> schrieb im
Newsbeitrag news:ap09c8$ab2$1@inn.qnx.com

Hi all

Is there a way to restrict lprrm to only clear the queue on the local
machine?

I use lprrm from code and I don’t want the program to hang/wait in case
the
printer is not reachable.


Help appreciated
Markus

Markus Jauslin wrote:

Any body cares or dares to reply?

“Markus Jauslin” <> markus.jauslin@ch.mullermartini.com> > schrieb im
Newsbeitrag news:ap09c8$ab2$> 1@inn.qnx.com> …

Hi all

Is there a way to restrict lprrm to only clear the queue on the local
machine?

I use lprrm from code and I don’t want the program to hang/wait in case
the printer is not reachable.

Since no one else has stepped forward:
You might get by without using lprrm at all. There will be two files for
each job, usually in a printer specific dir under /usr/spool/lpd/. I am
fairly sure you won’t see jobs for remote printers there. lprrm removes
these files and as far as I know does nothing significant to lpd that
lpd can’t handle. That conclusion is based on experience deleteing
printer spool files “by hand” with no ill consequences.

If the job is partially printed and you want to stop further printing,
you will need a way to find the lpd that is serving that job, I should
think.

Anyone else have some ideas?

Richard


Help appreciated
Markus

\