Re: minicom questions, need expert

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

 



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!

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux