Одржавате принтере, а имате рачунаре који припадају различитим генерацијама Windows XP, Windows 7, Windows 8, Windows 8.1, Windows 10, Linux,...
Имате око стотинак компјутера у корпоративној мрежи, е онда знате ко ми је.
Ова тема је веома широка, али неке битне ставке и помоћне круцијалне методе можете наслутути из даљег текста који се бави овом темом.
Предпостављамо да знате енглеси, па оригинални текст нисмо преводили.
prin2.vbs
Set WshNetwork = WScript.CreateObject("WScript.Network")
Set oPrinters = WshNetwork.EnumPrinterConnections
'For i = 0 to oPrinters.Count - 1 Step 2
' WScript.Echo "Port " & oPrinters.Item(i) & " = " & oPrinters.Item(i+1)
'Next
Dim a
a = ""
For i = 0 to oPrinters.Count - 1 Step 2
a = a & "Port " & oPrinters.Item(i) & " = " & oPrinters.Item(i+1)
a = a & chr(13)& chr(10)
Next
WScript.Echo a
prin22.bat
cscript.exe prin2.vbs
pause
Naravno pokrenete prin22.bat ako želite rezultate u command prompt-u.
Ako želite rezultate u message dijalogu onda pokrenete samo vbs fajl, ali je zbog copy-paste rezultata bolja opcija bat.
Ovako veoma brzo možete utvrditi da li postoji neki problem sa printerima u vašoj lokalnoj mreži.
Svakako, ipconfig i netstat -r naredbe takodje mogu da pomognu kod dijagnostike kvara sa mrežnim štampačima.
Open up the run command with the "Windows Key + R" key combination. Type:
printui.exe /s
and click OK.
Shared printer problem solved:
https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-xp/bb456988(v=technet.10)
Open command prompt as elevate as administrator on windows 10 computers and type each line then hit enter key
netsh int ip reset resetlog.txt
netsh winsock reset catalog
ipconfig /flushdns
ipconfig /registerdns
ipconfig /release (not really necessary to do it)
ipconfig /renew (not really necessary to do it)
You can restart the computer at the end of all the processes.
try these steps below on all your computer one at the time
ipconfig /flushdns
ipconfig /registerdns
ipconfig /release
ipconfig /renew
netsh int ip reset resetlog.txt
netsh winsock reset catalog
Now, open windows services (winlogo + X >Run type services.msc) on each of your win 10 computers take a look if these services below are starting if not start them and put the first one on automatic and the second one on manual
Function Discovery Discovery Resource Publication (Running) (automatic)
UPnP Device Host service (Running) ( manual)
Computer Browser (Running) (Manual)
Wanted to check if the issue is resolved? If not can we check if NetBIOS over TCPIP is enabled?? Go to properties on netwok card.. select TCPIP v4 and then properties. Click on Advanced tab and select Wins. Select Enable NetBIOS over TCPIp. Apply the changes. Reboot and check. Check on other computers too
If this shared printer problem persists, please try this:
on Search - type msconfig - go to the services tab- Check the box for hide all msconfig - Disable the third party services. Apply the changes - Do not reboot.
MORE TIPS:
prin2.vbs
Set WshNetwork = WScript.CreateObject("WScript.Network")
Set oPrinters = WshNetwork.EnumPrinterConnections
'For i = 0 to oPrinters.Count - 1 Step 2
' WScript.Echo "Port " & oPrinters.Item(i) & " = " & oPrinters.Item(i+1)
'Next
Dim a
a = ""
For i = 0 to oPrinters.Count - 1 Step 2
a = a & "Port " & oPrinters.Item(i) & " = " & oPrinters.Item(i+1)
a = a & chr(13)& chr(10)
Next
WScript.Echo a
prin22.bat
cscript.exe prin2.vbs
pause
Naravno pokrenete prin22.bat ako želite rezultate u command prompt-u.
Ako želite rezultate u message dijalogu onda pokrenete samo vbs fajl, ali je zbog copy-paste rezultata bolja opcija bat.
Ovako veoma brzo možete utvrditi da li postoji neki problem sa printerima u vašoj lokalnoj mreži.
Svakako, ipconfig i netstat -r naredbe takodje mogu da pomognu kod dijagnostike kvara sa mrežnim štampačima.
Open up the run command with the "Windows Key + R" key combination. Type:
printui.exe /s
and click OK.
Shared printer problem solved:
https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-xp/bb456988(v=technet.10)
Open command prompt as elevate as administrator on windows 10 computers and type each line then hit enter key
netsh int ip reset resetlog.txt
netsh winsock reset catalog
ipconfig /flushdns
ipconfig /registerdns
ipconfig /release (not really necessary to do it)
ipconfig /renew (not really necessary to do it)
You can restart the computer at the end of all the processes.
try these steps below on all your computer one at the time
ipconfig /flushdns
ipconfig /registerdns
ipconfig /release
ipconfig /renew
netsh int ip reset resetlog.txt
netsh winsock reset catalog
Now, open windows services (winlogo + X >Run type services.msc) on each of your win 10 computers take a look if these services below are starting if not start them and put the first one on automatic and the second one on manual
Function Discovery Discovery Resource Publication (Running) (automatic)
UPnP Device Host service (Running) ( manual)
Computer Browser (Running) (Manual)
Wanted to check if the issue is resolved? If not can we check if NetBIOS over TCPIP is enabled?? Go to properties on netwok card.. select TCPIP v4 and then properties. Click on Advanced tab and select Wins. Select Enable NetBIOS over TCPIp. Apply the changes. Reboot and check. Check on other computers too
If this shared printer problem persists, please try this:
on Search - type msconfig - go to the services tab- Check the box for hide all msconfig - Disable the third party services. Apply the changes - Do not reboot.
MORE TIPS:
- In Windows, search for and open Programs and Features.
- Select your HP printer.
- Select Uninstall.
- In Windows, search for and open Devices and Printers.
- In the Devices and Printers window look for your HP Printer. If you see it listed, right-click on it and choose "Delete" or "Remove Device.”
- Open up the run command with the "Windows Key + R" key combo.
- Type printui.exe /s and click OK.
- Click on Drivers tab.
- Look for HP Printer driver. If you see it click on it and click Remove at the bottom.
- Select OK.
- Select Apply and OK on the Print Server Properties windows.
- Close Devices and Printers.
Now please download and install the drivers from this link: http://hp.care/2nn1GUo
Once you install the drivers, you may try to scan: Scanning from the Computer (Windows)
HP has developed another scan software especially for Win8 and Win10 and it can be downloaded for free from the Windows store: http://hp.care/2dsHSjh
I sincerely hope this fixes the issue.