Why won't my HP photosmart 7520 printer connect to my wireless internet?

I have comcast internet, Brand new out of the box HP Photosmart 7520 printer and it won't connect to my wireless network. I can connect my iPhone, laptop, and iPad all fine. I'm using a D-link DIR645 wireless router, I do not have MAC address filtering on. I have tryed connecting through the laptop, wireless setup wizard on printer, and Wi-Fi protected set up with the "push button option" I have called hp and they said comcast is to blame that my router is not set up in wireless G mode and on channel 11. Comcast won't help they just want to charge me to fix the printer. The printer finds the network very easily and i type the password in without any problems I even double checked the password to make sure it was correct. Any help would be greatly appricated.

So the printer sees the network, but won't log into it?

Or it did log in, but you didn't map it right on the PC thus you can't print to it?

I'm going to guess the latter. Can you see the printer in network devices? (i.e. Add a Printer, Network Printer, then see if it appears in a list?)

Your D-link DIR645 is both 802.11n & 802.11g compatible, so the "G" mode that HP stated as a problem is not the problem as long as they're all 2.4Ghz (and channel 11 shouldn't be an issue either). Do you have security enabled and if so what? You didn't state what security you have enabled on the router or if at all. I'm guessing you do since you're entering a password, but is the security option the same/compatible on both devices?

Have you installed the printer & driver on your computer?

I'd need more detailed info to help further.

Here's a link that has some more links that might help:
http://h20000.www2.hp.com/bizsupport/TechSupport/SupportTaskIndex.jsp?lang=en&cc=us&taskId=115&prodSeriesId=5199461&prodTypeId=18972&supportTaskId=43369

Manual:
http://bizsupport1.austin.hp.com/bc/docs/support/SupportManual/c03456524/c03456524.pdf