Looks like it works. I popped open "Automator," you know, that apple scripting program in your applications folder? Anyways, I hit record, click BIAB, type "Apple P", then clicked OK. I then hit stop in automator, and it recorded my script.
You tried that yet?

here's the resulting code that I got. I wish I understood how it worked:

-- Bring the window “Band-in-a-Box [No File Name] 2:49 [ZZJAZZ.STY:Jazz Swing Style]” to the front.
delay 1.783014
set timeoutSeconds to 2.000000
set uiScript to "click window \"Band-in-a-Box [No File Name] 2:49 [ZZJAZZ.STY:Jazz Swing Style]\" of application process \"Band-in-a-Box\""
my doWithTimeout( uiScript, timeoutSeconds )

-- Press ⌘P
delay 0.064018
set timeoutSeconds to 2.000000
set uiScript to "keystroke \"p\" using command down"
my doWithTimeout( uiScript, timeoutSeconds )

-- Type '
'
delay 1.056103
set timeoutSeconds to 2.000000
set uiScript to "keystroke \"
\""
my doWithTimeout( uiScript, timeoutSeconds )

-- Click the “Print” button.
delay 3.200038
set timeoutSeconds to 2.000000
set uiScript to "click UI Element \"Print\" of window \"Print\" of application process \"Band-in-a-Box\""
my doWithTimeout( uiScript, timeoutSeconds )

on doWithTimeout(uiScript, timeoutSeconds)
set endDate to (current date) + timeoutSeconds
repeat
try
run script "tell application \"System Events\"
" & uiScript & "
end tell"
exit repeat
on error errorMessage
if ((current date) > endDate) then
error "Can not " & uiScript
end if
end try
end repeat
end doWithTimeout