Click the fan icon in the taskbar in the lower left corner of the computer desktop, click Control Panel, and then click Devices and Printers. Click to select the printer to view the port number, and click the right mouse button to bring up the menu. Click Printer Settings, and then click Port to view the port number.