File print from right-click context menu in Caja
Posted: Mon Mar 18, 2013 2:48 am
Using Mint 14 32-bit w/ Mate
Interested in getting a simple script running to print files directly with out opening them. The template is thanks to:
http://www.frenssen.be/content/printing ... u-nautilus
I have previously used it successfully in Ubuntu/Nautilus.
Looks like this. What's missing?
The script file is executable, and lpr works fine when typed in the terminal
Thanks all
Interested in getting a simple script running to print files directly with out opening them. The template is thanks to:
http://www.frenssen.be/content/printing ... u-nautilus
I have previously used it successfully in Ubuntu/Nautilus.
Code: Select all
printer=Office-HP
echo "$CAJA_SCRIPT_SELECTED_FILE_PATHS" | while read file
do
lpr -P "$printer" "$file"
done
exit 0
The script file is executable, and lpr works fine when typed in the terminal
Thanks all