Find the value and change its data to your specific printer's name.
Navigate to: HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows . Find the value and change its data to
Enable and set it to "RPC over named pipes" . Find the value and change its data to