3 -- 5 April 2009 -> pquimby created initial version
7 -- 1) Launch the Printer Setup Utility and add
8 -- an IP Printer with the LPD protocol with
9 -- the following information:
10 -- Address: zygorthian-space-raiders.mit.edu
12 -- It is not necessary to specify the driver.
13 -- Be sure the name of the printer is sipbmp3 or
15 -- 2) Create the directory ~/Library/iTunes/Scripts
16 -- and place the "Send to sipbmp3.scpt" file
20 -- This script will set the volume of sipbmp3 (assuming you have remctl) to your iTunes volume scaled to the max value of 31 (which is the max volume for sipbmp3 at the time this script was written).
22 -- Ex:// If your iTunes volume is set at 50% then you will set the sipbmp3 volume to .50*31 or roughly 15.
24 tell application "iTunes"
25 set vol to (sound volume * 31 / 100)
28 set command to "/usr/local/bin/remctl zsr volume set " & vol
29 do shell script command