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

From: James Sparenberg james at linuxrebel.org
Date: Sun Jan 28 22:56:36 EET 2007
On Sunday 28 January 2007 11:38, Damien Challet wrote:
> On Sunday 28 January 2007 16:56, Humberto Ortiz-Zuazaga wrote:
> > Jonathan Greene wrote:
> > > It would be great to print from my N800 to a network accessible
> > > printer... Anyone figure a hack for this?
> >
> > There are remote only lpr tools, like http://truffula.com/rlpr/. Maybe
> > these can run on maemo?
>
> this is what I use in an other context:
>
> #!/usr/bin/perl
> my($file)=$ARGV[0];
> system("scp $file user\@host:");
> system("ssh user\@host lpr $file");
> sleep 100;
> system("ssh user\@host rm -f $file");
> exit;

Damien,

   If I'm understanding this correctly, you are saying (in perl) take this 
file and move it to that host and print it using it's defaults.  Or am I 
wrong.  (If I'm right, slick idea!)

James

More information about the maemo-users mailing list