Go to Control Panel. Choose printer. Then choose Add Printer.
ChooseAdd a local printer. Click on Create a new port. The default in the drop down box is Local Port. Do not change that. Click Next.
A dialogue box will appear asking for you to enter a port name. Type in the \\computer name\printer name such as \\Gt5040\HPDJ940C
