[linux-audio-user] Re: E17 - our choice of WM in the future?

mik mprims at skynet.be
Wed Oct 25 19:44:25 EDT 2006



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



More information about the Linux-audio-user mailing list