[3fde6d5] | 1 | ----------------- |
---|
[e520009] | 2 | iTunes -> gutenbach |
---|
[3fde6d5] | 3 | ----------------- |
---|
| 4 | This is a simple little script which sends |
---|
[e520009] | 5 | music from an iTunes library to the gutenbach |
---|
[3fde6d5] | 6 | lpr server. |
---|
| 7 | |
---|
| 8 | * Changelog |
---|
[e520009] | 9 | 29 Nov 2009 -> changed the name from sipbmp3 to gutenbach |
---|
[a9e08a4] | 10 | 23 Aug 2009 -> broder spun loop into shell script instead of |
---|
| 11 | applescript so that iTunes doesn't hang |
---|
[3fde6d5] | 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: |
---|
[e520009] | 25 | Address: hostname |
---|
| 26 | Queue: gutenbach |
---|
[3fde6d5] | 27 | It is not necessary to specify the driver. |
---|
| 28 | |
---|
[e520009] | 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 | |
---|
[3fde6d5] | 32 | 2) Create the directory ~/Library/iTunes/Scripts |
---|
[e520009] | 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. |
---|
[3fde6d5] | 37 | |
---|
| 38 | * Usage |
---|
| 39 | When in iTunes, select the songs which you |
---|
| 40 | would like to hear in the office, and click |
---|
[e520009] | 41 | the script you want from the script menu from |
---|
[3fde6d5] | 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 | |
---|