Re: Re: E17 - our choice of WM in the future?

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

 





Joshua Boyd schreef:


Pay someone to write code that lets you right click on the document in
Nautilus and select Print?  Actually, I wonder how hard that would be to
set up for files that are either recognized by cups and/or use CLI
programs to render them (DVI, TeX, Docbook, etc).  A bit of a cheat, but
currently you can right click on assorted files, select Open With ->
Open with Other Application, then enter lpr in the custom command field.
Seeing as there is also Open with Document Viewer (see, that's not an
editor!), Open with "PDF Viewer", Open with XPDF, and as of a few
seconds ago, Open with "lpr", there must be a way to add a Print option
in a config file somewhere.


as i said: a script will do that.

put the following script in your nautilus-scripts folder and call it print:

#!/bin/sh
lpr $*

now, when you right click, you will have the option "print" under "Scripts".

i can't check if it works though. my printer (dj 710c) does not work in amd64.


m



--

http://www.mprims.net

[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux