minicom questions, need expert
Gene Heskett
gene.heskett at verizon.net
Tue May 13 03:25:07 UTC 2008
On Monday 12 May 2008, Mikkel L. Ellertson wrote:
>Gene Heskett wrote:
>> But, this command line, which outputs to the screen very nicely if the
>> pipe and the rest of the line are removed, seems to send the data to
>> /dev/null:
>>
>> #>cat /dev/ttyUSB1 | lpr -Plp1
>
>Try something like:
>cat /dev/ttyUSB1 | lpr -Plp1 -
>or
>cat /dev/ttyUSB1 | lpr -Plp1 -- -
>
Either of those give this:
[root at coyote ~]# cat /dev/ttyUSB1 | lpr -Plp1 -
lpr: Error - unknown option '
^C
[root at coyote ~]# cat /dev/ttyUSB1 | lpr -Plp1 -- -
lpr: Error - unknown option '-'!
Thanks.
> From the lp man page:
>lp submits files for printing or alters a pending job. Use a
>filename of "-" to force printing from the standard input.
>
>Mikkel
--
Cheers, Gene
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
I've got a very bad feeling about this.
-- Han Solo
More information about the users
mailing list