[maemo-users] [maemo-users] Printing?
From: Jan Wender jwender at gmail.comDate: Mon Jan 29 08:43:30 EET 2007
- Previous message: [maemo-users] [maemo-announce] New Scratchbox installer for maemo 3.0 'bora' now available
- Next message: [maemo-users] Printing?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
A little enhancement, but untested. And maybe it would be better to use /bin/sh, because on normal devices no bash is installed. #!/bin/sh user=[put your user here] host=[put fqdn or up of printer host here] if [ $# -ge 1 ];then file=$1 cat $file | ssh $user@$host 'lpr /tmp/$file' else cat | ssh $user@$host 'lpr /tmp/$file' fi echo "complete" Cheerio, Jan
- Previous message: [maemo-users] [maemo-announce] New Scratchbox installer for maemo 3.0 'bora' now available
- Next message: [maemo-users] Printing?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]