[NTLK] Printing directly from Newton with Bluetooth without BPB

From: Javier Monllor <jmonll2_at_uic.edu>
Date: Thu Sep 14 2006 - 02:23:20 EDT

I recently read Adriano's guide on how to print directly from his
Bluetooth enabled MP to Mac OSX using Bluetooth Print Bridge (BPB)
and this gave me an idea. Since all BPB is doing is detecting when a
file is sent to the desktop and then printing it, I thought this same
functionality can be done from withing OS X without the need for
extra software.

First I created two folders inside my documents folder. One folder
named "Newton Received Files" and another folder named "Printed"
which is located inside the "Newton Received Files". Basically, it
looks like "...home/Documents/Newton Received Files/Printed".

Second, I fired up Automator and created the following workflow (with
help from macosxhints.com):
Finder: Get Specified Finder items (added the "Newton Received Files"
to the list and selected "Ignore Results from Previous Actions" so
previous print jobs wouldn't interfere with the process).
Finder: Get Folder Contents (gets the files that will be added to the
folder and passes it to the next action)
Finder: Print Finder Items
Finder: Move Finder Items (and selected the Printed folder that I
created so that in the future there is only one file in the folder
and therefore only one file printed)

Third: After I was done, I saved the workflow as a Plug In and in the
drop down menu, selected "Folder Actions" and then selected the
"Newton Received Files" which is the folder I want to add the files too.

Fourth and final: I went to the bluetooth preferences and under
Sharing/Bluetooth File Exchange selected to save the files received
to the "Newton Received Files" .

Now, whenever I send a note to my computer, it is automatically saved
into the "Newton Received Files". The Folder actions is immediately
activated and the file is printed and then moved to the "Printed"
folder.

Extra comments:
-Pros
1. The print dialog box opens up always and after printing I can also
select to save the file as a PDF.

-Cons
1. The file is automatically printed and if I want to only save it as
a PDF or something else, I have no choice. To overcome this, I always
have OS X ask me what to do with the incoming file so if I don't want
to print it, I can select another folder to save the file too.
2. For some reason, Printer Setup Utility is always opened and I have
to quit it after the file is printed.

Tovi

-- 
This is the NewtonTalk list - http://www.newtontalk.net/ for all inquiries
Official Newton FAQ: http://www.chuma.org/newton/faq/
WikiWikiNewt for all kinds of articles: http://tools.unna.org/wikiwikinewt/
Received on Thu Sep 14 02:23:22 2006

This archive was generated by hypermail 2.1.8 : Thu Sep 14 2006 - 06:30:00 EDT