what ports are needed to use a printer
Network printer ports are what the printer driver uses to communicate with the physical device across a network. These ports may be standard TCP/IP printer ports, Line Printer Remote (LPR) ports, or other kinds of ports.