minicom questions, need expert

Mikkel L. Ellertson mikkel at infinity-ltd.com
Tue May 13 03:16:37 UTC 2008


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 -- -

 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
-- 

   Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20080512/97105829/attachment-0001.sig>


More information about the fedora-list mailing list