Oh. I see now. You're trying to share a printer that's connected to your network in another way.
You're just doing it wrong.
You need to go to printers, add a printer, local printer (do not detect), new port, TCP/IP port (note: give the printer a fixed address!), type in its IP address, then...