On Thu, 7 Feb 2002 15:49:25 +0200 (EET) "Petrov M.I." <[EMAIL PROTECTED]> wrote: > Hi All. > > > How do you _read_ from the printer, which is an output device? > > Are you trying to get status info back from the printer? > Yes. I want to get status info. When I do `echo -e "..."' then > `cat /dev/lp0' from command line, this work correctly. When I do > from script this do not work.
I wonder if that is because it's in a sub-process? > > You'd need something more low-level than bash for that. I'd think C... -- +------------------------------------------------------------+ | Ron Johnson, Jr. Home: [EMAIL PROTECTED] | | Jefferson, LA USA http://ronandheather.dhs.org:81 | | | ! "As I like to joke, I may have invented it, but Microsoft | | made it popular" David Bradley, regarding Ctrl-Alt-Del | +------------------------------------------------------------+

