debianmacno-cupsweb
Last change
on this file since a9e08a4 was
a9e08a4,
checked in by Evan Broder <broder@…>, 16 years ago
|
Instead of looping over the lpr commands within applescript, use a
backgrounded shell loop so that iTunes doesn't hang while the jobs are
printing.
(Since I'm not currently on campus, this is as yet untested.)
|
-
Property mode set to
100644
|
File size:
1.3 KB
|
Rev | Line | |
---|
[3fde6d5] | 1 | ----------------- |
---|
| 2 | iTunes -> sipbmp3 |
---|
| 3 | ----------------- |
---|
| 4 | This is a simple little script which sends |
---|
| 5 | music from an iTunes library to the sipbmp3 |
---|
| 6 | lpr server. |
---|
| 7 | |
---|
| 8 | * Changelog |
---|
[a9e08a4] | 9 | 23 Aug 2009 -> broder spun loop into shell script instead of |
---|
| 10 | applescript so that iTunes doesn't hang |
---|
[3fde6d5] | 11 | 9 Jan 2009 -> price added 'quoted form' |
---|
| 12 | 7 Jan 2009 -> kmill created initial version |
---|
| 13 | |
---|
| 14 | * System Requirements |
---|
| 15 | This script will only work under Mac OS X as |
---|
| 16 | it uses AppleScript. |
---|
| 17 | |
---|
| 18 | * Installation |
---|
| 19 | There are two parts: |
---|
| 20 | |
---|
| 21 | 1) Launch the Printer Setup Utility and add |
---|
| 22 | an IP Printer with the LPD protocol with |
---|
| 23 | the following information: |
---|
| 24 | Address: zygorthian-space-raiders.mit.edu |
---|
| 25 | Queue: sipbmp3 |
---|
| 26 | It is not necessary to specify the driver. |
---|
| 27 | |
---|
| 28 | 2) Create the directory ~/Library/iTunes/Scripts |
---|
| 29 | and place the "Send to sipbmp3.scpt" file |
---|
| 30 | within. |
---|
| 31 | |
---|
| 32 | * Usage |
---|
| 33 | When in iTunes, select the songs which you |
---|
| 34 | would like to hear in the office, and click |
---|
| 35 | "Send to sipbmp3" in the script menu from |
---|
| 36 | the menu bar. The script menu looks like a |
---|
| 37 | little scroll icon. There will be no |
---|
| 38 | feedback beyond the pleasant sounds you now |
---|
| 39 | hear around you. |
---|
| 40 | |
---|
| 41 | * Todo |
---|
| 42 | As it is, there is no feedback, even in the |
---|
| 43 | event of failure. This is decidedly not |
---|
| 44 | optimal. |
---|
| 45 | |
---|
| 46 | * And so... |
---|
| 47 | Do whatever you want with it. I'd like to |
---|
| 48 | have a copy if you extend it. |
---|
| 49 | |
---|
| 50 | Kyle Miller |
---|
| 51 | kmill@mit.edu |
---|
| 52 | |
---|
Note: See
TracBrowser
for help on using the repository browser.