Local Printing
Jason L Tibbitts III
tibbs at math.uh.edu
Fri Aug 20 01:42:07 UTC 2004
>>>>> "BT" == Brian Truter <fedora-list at kurse.damnyou.org> writes:
BT> Is there an equivalent of "lprint" in Fedora (or linux in
BT> general)?
Isn't switching on the local printer just a matter of sending the
proper VT100-standard escape sequence? Of course, you have to be
running a terminal which supports this. I know xterm does, but weird
features like this aren't well supported.
The sequence is <ESC>[5i begins printing all received text to the
local printer, and <ESC>[4i stops. So
echo '\e[5i'; cat file; echo '\e[4i'
might substitute, assuming of course that local printing works with
your terminal.
- J<
More information about the fedora-list
mailing list