Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- #
- # Create a dedicated folder for printing in your Dropbox
- # e.g. ~/Dropbox/PrintQueue
- #
- # Point dboxprint.sh to this folder by setting dir
- # Then make dboxprint.sh executable
- # Add the script to crontab and forget it
- #
- ###
- dir=/full/path/to/Dropbox/PrintQueue
- for file in `ls $dir`
- do
- lpr $file
- rm $file
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement