Does "working good" refer to the iMac or to the sharing of the printer with the other iMac's?
I did this just last week with an iMac sharing the printer, System Preferences/Sharing/Printer Sharing, and a Macbook Pro.
The printer was not connected to the D-Link wireless router so the Host computer must be on and not asleep for the sharing to take place.
In Add a Printer on the MacBook Pro, the shared printer just popped up.
Epson Stylus Photo 1390 printer software must also be installed on the Macbook Pro.
If you have already done all of the above and not mentioned it, please say so.
Otherwise, what OS are you running on the iMac and the Macbook and how did the above suggestions work out for you?
P
i have an Epson Stylus Photo 1390 printer connected to my imac thru usb. It is connected to other imacs via ethernet and is working good. But recently i purchased a macbook pro, and it has wireless connectivity via a dlink router. The problem is that i cannot access the printer thru my macbook.

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic