Error 0x0000007e remotely connecting to printer

Navigate to Control Panel.
Select printer.
Then, select Add Printer.
Choose Add a local printer.
Hit on Create a new port.
The default in the drop down box is Local Port.
Click Next.
A dialogue box will appear asking for you to enter a port name.
Type in the \\computer name\printer name ie.