Printing documents

I found this discussion about using Interface Builder connections to connect the print menu to the document’s text view. In a doc-based app, usually the main menu is in Main Menu.nib and the document is in document.nib. I tried cross-connecting between nib elements in different files (menu to document) and of course it didn’t work. Is there another way to do this?