Interested in getting a simple script running to print files directly with out opening them. The template is thanks to:
I have previously used it successfully in Ubuntu/Nautilus.
Code: Select all
echo "$CAJA_SCRIPT_SELECTED_FILE_PATHS" | while read file
lpr -P "$printer" "$file"
Looks like this. What's missing?
The script file is executable, and lpr works fine when typed in the terminal