It’s indeed scriptable. Here’s a basic script to print the selected documents:
tell application "DEVONthink Pro"
set theSelection to the selection
repeat with theRecord in theSelection
if type of theRecord is not group then
set theWindow to open window for record theRecord
print theWindow without print dialog
close theWindow
end if
end repeat
end tell