Printing data displayed in terminal mode
aradsky
aradsky at ne.rr.com
Thu Oct 5 00:23:00 UTC 2006
cl at isbd.net wrote:
> On Wed, Oct 04, 2006 at 11:20:38AM -0400, alex wrote:
>
>> There are times when I'd like to make printed copies of the useful data
>> that is displayed on terminal screens, such as that
>> produced by 'apt-get --help' but there doesn't seem to be any kind of
>> print command available when such data is displayed. Is there a way to
>> get this kind of information into an editor (geditor ?) so it can be
>> printed?
>>
>>
> If your printer is set up the way mine is then you can simply pipe the
> output into 'lpr'.
>
> E.g.:-
>
> apt-get --help | lpr
>
> Slightly more elegant (if you have it installed) is enscript, works
> the same though:-
>
> apt-get --help | enscript
>
>
>
> If you want to capture something already output to the terminal then
> select it with the mouse and just do something like:-
>
> cat | lpr
>
> and then paste the text.
>
>
After I managed to get my new HP 5610 activated, I tried all your
suggestions and they all
did what they were supposed to do........thanks Alex
More information about the ubuntu-users
mailing list