My setup is as follows: iMac is connected to the internet via Airport. Next, I have a small ethernet cable coming out of the ethernet port on the iMac and going into the uplink port on the LinkSys Switch. Next, I personally have one ethernet cable running from the LinkSys Switch to my computer in the garage and one ethernet cable running from the LinkSys Switch to the JetDirect card ethernet port on the HP LaserJet 4050 Printer. The LinkSys Switch will allow for 3 more connections should you need them. This is how the cabling should run, pretty simple.
Step 1: Start Internet Sharing
Next, you click on the check box for the "Internet Sharing" service. Since I use Airport to connect to the internet, I am sharing my connection from Airport to Computers using Ethernet. Once you make these selections, a small dialog box will pop up and ask if you want to "start" internet sharing. Click "Start."
Step 2: Setup the Ethernet Connection to LinkSys
Click on the "Ethernet" service on the left side of this window/screen. Make the following selections:
Configure IPv4: Manually
IP Address: 192.168.2.1
Subnet Mask: 255.255.255.0
At this time, open "Network Utility" and check the "Ethernet en0" interface. The IP Address should exactly the same as the IP address that you manually typed into the Network screen.
Step 3: Setup HP LaserJet I/O JetDirect Card on Printer
Press the "Item" button once to the right. It will say: CFG NETWORK=NO *
Press the "Value" button once the right (+), then press the "Select" button. It should say: CFG NETWORK=YES *
The attached video should help you configure the printer. Just make sure that you press "Select" after each entry when putting the numbers into the menu. I set my printer to use an IP Address of: 192.168.2.10. The IP Byte is where you put in the IP Address Numbers. The SM bytes are the Subnet Mask numbers. The LG bytes have no effect here, so they are 0.0.0.1. The GW Bytes are the "Gateway" bytes or server address, which is: 192.168.2.1.
Once you have set up your IP numbers, you're ready for the next step.
Step 4: Adding the HP LaserJet Printer to Your Printers
Click the "+" button. The Add Printer Dialog Box will come up. The choices are: "Default", "Fax", "IP", and "Windows"
You want to select "IP"
The Protocol should be "HP Jetdirect - Socket"
The Address will be the IP address you gave the printer in the CFG screen of the printer. Again, I used 192.168.2.10 for my IP Address. So, in this Address Field, you will type in the number you gave your printer.
The Queue field is where you can Name your printer. I called mine HP LaserJet 4050
In the Name field, you use the same name as Queue. Again, mine is called HP LaserJet 4050
Location: You can leave this blank, but I put the physical location of mine, which is right next to my iMac.
Print Using: HP LaserJet 4050 Series. This is where you select the printer driver. Click on the down arrow and select the HP LaserJet 4050 Series Software.
Click "Add" and you should see your HP Printer show up in your printer list.
Step 5: Print Something With Your Networked Printer
Click once on your HP LaserJet 4050 to highlight it in Blue.
Double-click on the highlighted printer and it will open up the HP LaserJet 4050 Queue.
Click on "Printer Setup" to see all kinds of information about your printer. Notice the URL Socket will show the IP address that you gave your printer.
Now click on the "Printer" drop down menu and select "Print Test Page"
It should connect to your printer and print the test page.
Congratulations, you're done!!!
Note: this should work with any networkable printer, not just the HP 4050.