Is there a way to print from the cliboard?

Is there a way to print from the cliboard?

Michael Shiloh michaelshiloh1010 at gmail.com
Tue Mar 17 18:32:02 IST 2009



Gilad Ben-Yossef wrote:
> 
> 
> Michael Shiloh wrote:
> 
>> I'm editing a file, or viewing a web page, or whatever.
>>
>> I'm interested in printing only a small portion of it.
>>
>> I'd like to be able to essentially "print selection".
>>
>> Of course this would require that each program (gvim, firefox, 
>> thunderbird, terminal, whatever) provide such an option.
>>
>> Alternately, I can copy to my clipboard, and then through some clever 
>> utility (I assume there are clipboard utilities?) print from 
>> clipboard. This would work with any source, regardless of whether the 
>> program supports printing selection or not.
>>
>> But when I searched I could not find the answer.
>>
>> Anyone know? Does such a think exist?
> 
> $ xclip -o | lpr
> 
> but it works only with text... :-)
> 
> Gilad

That's a feature, not a bug! (I'm a vi and command line kinda guy...)



More information about the Linux-il mailing list