Re: lpc: conflicting information
hmm
I guess you are not into C programming, right?
by issuing 'man lp' you have read a manual page about C programming
(did you notice the LP(4) on top? it means 'this is quite advanced')
that explains how a C program may access some specific
parameters of a /dev/lp parallel device using the ioctl() call
(from inside a C program, not from the shell prompt)
this is not what you were needing; this is what lpd does on
your behalf
a.
On Wed, Oct 24, 2001 at 11:45:28PM +1000, Adam Bogacki wrote:
> Hmmm ... since I posted the message below I've installed cupsys
> [although the command 'cupsys' as root did not seem to work; what
> am I missing here ?] and running 'lpc status all' gives me the response
> "waiting for lp to become ready (offline ?)"
> 'man lp' showed me the 'lp int ioctl' command to reset the printer
> but when I tried it I received the response
> "lp: command not found".
>
> I'm sure there is a simple solution here but I can't see it.
>
> Any advice, O Wise Ones ?
>
> Adam Bogacki,
> afb3@primus.com.au
>
> On Wed, Oct 24, 2001 at 10:30:42PM +1000 or thereabouts, Adam Bogacki wrote:
> > Hi,
> > I'm getting conflicting info in trying to get my printer
> > going again. The following was done as root ...
> >
> > # lpc start all
> >
> > lp: printing enabled
> > daemon started
> >
> > # lpc status all
> >
> > lp: queuing is enabled
> > printing is enabled
> > no entries
> > no daemon present
> >
> > Apparently, with the 'start' command the daemon is started but with the
> > 'status' command immediately afterward it is not present.
> >
> > Confused ?
> >
> > So am I. Attempts to print are met with silence.
> >
> > Any ideas ?
> >
> > Adam Bogacki,
> > afb3@primus.com.au
--
A Mennucc
"È un mondo difficile. Che vita intensa!" (Renato Carotone)
Reply to: