[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

bash question.



Hi All.
I write small script:
 #!/bin/bash
 echo -e "...PJL commands..." | cat > /dev/lp0
 cat /dev/lp0
When I try it run I get nothing.
When I run this script two time (one after the other)
I get informations.
I need write to & read from /dev/lp0 in one & the same
script. How do this do? Any help appreciated.
Thanks.
 



Reply to: