the print function is part of Ace2 (AceConsole-2.0) and uses the global variable DEFAULT_CHAT_FRAME to determine the chatframe for output (all other non ace2 addons use this as well I guess).
Code:
local function print(text, name, r, g, b, frame, delay)
...
(frame or DEFAULT_CHAT_FRAME):AddMessage(last_color and "|cff" .. last_color .. t or t, r, g, b, nil, delay or 5)
...
end
This variable is set in Blizzards ChatFrame.lua (part of the default UI)
Code:
"DEFAULT_CHAT_FRAME = ChatFrame1;"
So try to write a small addon, that changes it or add the line to any addon to change it to ChatFrame2 or any Frame you want (if it doesn't exist, you get tons of errors )