Re: Local Printing

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

 



>>>>> "BT" == Brian Truter <fedora-list@xxxxxxxxxxxxxxxxx> 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<



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

  Powered by Linux