If you haven't already done so, on Mac OSX, install your Printer software.
I have a "HP Photosmart C4780" printer on my Macintosh. Then do the following:
System Preferences -> Network. Setup a Location with a Manual IP-address that connects
to a specific LAN address in your router. My computer with the printer uses 192.168.1.4
so other computers in my network know where the printer is located.
System Preferences -> Print & Fax
Make your "HP Photosmart C4700 series" be your default printer.
Check the box for "Share this printer", even if it says printer sharing is turned off.
System Preferences -> Internet -> Sharing
Give the computer a name. I used "Leopard-Guertin" since this was a 10.5.8 Leopard system.
Click on "Printer Sharing", and check the box for the "HP Photosmart C4700 series".
Re-examine Print & Fax to see if it recognizes the Shared state.
Applications -> Utilities -> Terminal(.app)
Launch Terminal, and issue the command "sudo bash", and give your Admin Password.
You are now in root-mode, and can alter the Firewall. Issue the command "ipfw list".
If there's only one entry that allows anything. exit root-mode. If there's a list of ipfw
settings, then you may need to add one just before the end of the list with this command:
ipfw add 35353 allow udp from 192.168.0.0/16 to any dst-port 5353
then exit from root-mode. You're done with Macintosh changes.
------------------------------------------------------------
On Windows 7, begin with the following step:
Follow the path: Start -> Control Panels. Then choose: System & Security,
then: Windows Firewall, and finally: Advanced Settings. You will need to
add to: Outbound Rules. Expand the window size so you can see an entire
entry across a line. Add a rule called "Remote Printer" with Remote Address
of "192.168.1.4", Remote Port of "5353", and Type of "UDP". The remaining
fields can probably be left at their defaults. The IP-address should match
that of your Macintosh where the printer will be located.
Read "How to Print to a Shared Mac OS X Printer from Windows 7" from
<http://www.7tutorials.com/printing-shared-macintosh-os-x-printer-windows-7>
On Windows 7, install your Printer software from the same installer disk.
You will have to connect the C4700 to a USB port on the Windows machine.
When done, you can disconnect the C4700 from the Windows machine, and
reconnect it to your Macintosh. Be sure to turn it on so it can be detected.
On Windows 7, download the "Bonjour Print Services for Windows" package
from <https://support.apple.com/kb/DL999?locale=en_US>.
Run "Bonjour Printer Wizard". Once done, you have to make some changes.
Start -> Control Panels, and then: Hardware & Sound, and then: Devices & Printers.
See if you have a "HP Photosmart C4700" printer. You may have more than one.
What you need is the one that has "@ Computer-Username" appended to it, where
"Computer-Username" is the Computer Name you gave to your Macintosh. Make this
printer your Default printer.
Try a test print from Windows.
|----------------| |----------------| |---------------| | | | | | | | Macintosh 3 |<-- ethernet -->| Router/Modem |<-- ethernet -->| Macintosh 4 |-- USB -->| | | 192.168.1.3 | | 192.168.1.4 | | | |----------------| |----------------| |---------------| | ^ ^ ^ | |----------------| | | | | | | | | | | | Macintosh 2 |<-- ethernet -------| | | |-------------| | | | 192.168.1.2 | | | | | |----------------| | | | HP C4700 |<-- USB ----| | | | Printer | |----------------| | | | | | | | | |-------------| | Windows 1 |<-- ethernet -----------| |<-- DSL phone line | | 192.168.1.1 |----------------| All computers can print on the HP C4700 Printer
VARIATIONS:
1) You may have a different printer. Install what you have according to directions.
2) Your router may have different LAN addresses.
They should begin with 192.168, but could have differences in the last two fields.