Oh, that's a great idea to use ifttt with dropbox, I'd not thought of
that.
We're using a combination of ifttt, twilio, twitter and gmail to get
our two printers, Cathy and Heathcliff printing SMS messages and then
autotweeting them.
It's very much a first stab to get them working, hopefully I'll be
able to get some time to work with them this week. Our work flow at
the mo:
SMS to Twilio
Twilio POST to a noddy PHP page which:
* posts to the
printer.gofreerange.com back end
* sends an email using gmail to ifttt
* ifttt then posts the contents of the email to twitter.
A future plan for Cathy is to get her to
* look out for tweets mentioning a specific account
* send the tweet content to printer back end
I'll have a look at your Python script, I've never used Python, so it
might be fun for me to investigate further.
cheers,
James
On Jun 3, 3:48 pm, Jeremy Harper <
jeremy.har...@gmail.com> wrote:
> I just figured out something that this is really good for.
>
> If This Then That (
http://ifttt.com) is a neat service which connects a
> whole bunch of web services together with a really simple interface. One of
> the actions available in ifttt is to create a text file in Dropbox. Combine
> that with my little python script, and now ifttt can print to your GFR
> printer.
>
> As a proof of concept <
http://ifttt.com/recipes/38795>, I just created a
> rule that will automatically print anything I star in Google Reader. But
> you could do all kinds of stuff. For example:
> * print any tweet that mentions you
> * print out a warning if rain is predicted for tomorrow
> * print anything added to your delicious or pinboard or Evernote accounts
> with the tag ToPrint
> * print out anything that you text to the ifttt number
>
> That's right, I can now send text messages to my GFR printer. This is
> pretty awesome.
>
> - J. D. Harper
>
>
>
>
>
>
>
> On Mon, May 14, 2012 at 5:16 PM, James Adam <
james.a...@gmail.com> wrote:
> > That's great work! As you mention at the bottom of your post, let us know
> > what you end up using this for :)
>
> > - James
>
> > On Sunday, 13 May 2012 16:22:53 UTC+1, J. D. Harper wrote:
>
> >> I wrote a little python script that checks a folder for any .txt
> >> files, converts them into printer-friendly HTML via Markdown, and then
> >> sends them to my thermal printer. I thought I'd post it here in case
> >> anyone else found it interesting.
>
> >> There's a bit more info and a video on my blog at
> >>
http://jdharper.com/blog/**automatically-printing-text-**
> >> files-to-a-thermal-printer/<
http://jdharper.com/blog/automatically-printing-text-files-to-a-therm...>
>
> >> Or if you just want to download the script it's here (along with the
> >> Markdown library I'm using):
http://jdharper.com/downloads/**
> >> AutoPrintTxtFile.zip <
http://jdharper.com/downloads/AutoPrintTxtFile.zip>