[maemo-users] [maemo-users] Printing?

From: Jan Wender jwender at gmail.com
Date: Mon Jan 29 08:43:30 EET 2007
A little enhancement, but untested. And maybe it would be better to
use /bin/sh, because on normal devices no bash is installed.


user=[put your user here]
host=[put fqdn or up of printer host here]

if [ $# -ge 1 ];then
  cat $file | ssh $user@$host 'lpr /tmp/$file'
  cat | ssh $user@$host 'lpr /tmp/$file'
echo "complete"

Cheerio, Jan

More information about the maemo-users mailing list