| 1 | ----------------- |
|---|
| 2 | iTunes -> gutenbach |
|---|
| 3 | ----------------- |
|---|
| 4 | This is a simple little script which sends |
|---|
| 5 | music from an iTunes library to the gutenbach |
|---|
| 6 | lpr server. |
|---|
| 7 | |
|---|
| 8 | * Changelog |
|---|
| 9 | 29 Nov 2009 -> changed the name from sipbmp3 to gutenbach |
|---|
| 10 | 23 Aug 2009 -> broder spun loop into shell script instead of |
|---|
| 11 | applescript so that iTunes doesn't hang |
|---|
| 12 | 9 Jan 2009 -> price added 'quoted form' |
|---|
| 13 | 7 Jan 2009 -> kmill created initial version |
|---|
| 14 | |
|---|
| 15 | * System Requirements |
|---|
| 16 | This script will only work under Mac OS X as |
|---|
| 17 | it uses AppleScript. |
|---|
| 18 | |
|---|
| 19 | * Installation |
|---|
| 20 | There are two parts: |
|---|
| 21 | |
|---|
| 22 | 1) Launch the Printer Setup Utility and add |
|---|
| 23 | an IP Printer with the LPD protocol with |
|---|
| 24 | the following information: |
|---|
| 25 | Address: hostname |
|---|
| 26 | Queue: gutenbach |
|---|
| 27 | It is not necessary to specify the driver. |
|---|
| 28 | |
|---|
| 29 | *** Note that you MUST give the printer name as the same name as |
|---|
| 30 | the queue, NOT the address (which it seems to default to). *** |
|---|
| 31 | |
|---|
| 32 | 2) Create the directory ~/Library/iTunes/Scripts |
|---|
| 33 | and place the scripts you want within. |
|---|
| 34 | |
|---|
| 35 | 3) Edit those scripts such, replacing "hostname" with the hostname of |
|---|
| 36 | your printer and "gutenbach" with the printername. |
|---|
| 37 | |
|---|
| 38 | * Usage |
|---|
| 39 | When in iTunes, select the songs which you |
|---|
| 40 | would like to hear in the office, and click |
|---|
| 41 | the script you want from the script menu from |
|---|
| 42 | the menu bar. The script menu looks like a |
|---|
| 43 | little scroll icon. There will be no |
|---|
| 44 | feedback beyond the pleasant sounds you now |
|---|
| 45 | hear around you. |
|---|
| 46 | |
|---|
| 47 | * Todo |
|---|
| 48 | As it is, there is no feedback, even in the |
|---|
| 49 | event of failure. This is decidedly not |
|---|
| 50 | optimal. |
|---|
| 51 | |
|---|
| 52 | * And so... |
|---|
| 53 | Do whatever you want with it. I'd like to |
|---|
| 54 | have a copy if you extend it. |
|---|
| 55 | |
|---|
| 56 | Kyle Miller |
|---|
| 57 | kmill@mit.edu |
|---|
| 58 | |
|---|