Ralph Shumaker wrote:
>..
> <DefaultPrinter hp1100>
> DeviceURI parallel:/dev/lp0
> Location HP LJ 1100
> Info HP LJ 1100
> State Idle
> Accepting Yes
> JobSheets none none
> QuotaPeriod 0
> PageLimit 0
> KLimit 0
> </Printer>
> <Printer TimeWaste>
> DeviceURI parallel:/dev/lp0
> Location This is an exercise in futility.
> Info This is an exercise in futility.
> State Idle
> Accepting Yes
> JobSheets none none
> QuotaPeriod 0
> PageLimit 0
> KLimit 0
> </Printer>

Looks normal to me. Do you have the latest cups appropriate for your
FC4? (yum update cups).

>..
> I suppose that "\|" in your suggested command translates to OR .  I use
> bash on fc4.  If it was supposed to do something different than what I
> supposed, tell me and I'll retry.

No, you were "supposed to" type both of the characters '\' and '|', but
it doesn't make any difference because you improvised correctly to run
two commands (one with cups, one with lpd), and confirmed that cupds
_is_ running and there is not any lpd running.

Interesting(?) aside..
My format,
  grep cups\|lpd
was intended to check for either match in one call, but my advice was
wrong anyway -- I should have used egrep, because grep doesn't do
alternatives (egrep does). I should have said
  egrep cups\|lpd
or equivalently
  egrep 'cups|lpd'
The significant point here is that '|' normally has special meaning to
the shell, and either the '\' escaping or the '...' quoting prevents the
shell from interpreting special characters.

..jim


-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to