tdvova.blogg.se

Change printer ports
Change printer ports





change printer ports

Your links all referenced on adding a port itself, but not on the port type or port monitor. = CNMN6PPM.DLL), but this and the other files were not located in the C:\Windows\System32 folder, where all of the files are saved.Īfter copying the files to the System32 folder and restarting the spooler, everything worked like a charm! I'm now just super happy.

Change printer ports driver#

So the registry was correct (all of the keys I added), but the reference on the driver file did not exist. The problem was that the silent driver installation did NOT copy the files needed for the printer port type. So, my question now is if there is a need for another link to that port or something? I cannot find any other setting which could do that. And sorry that it's not a pictures, account needs to be verified. Rundll32 printui.dll,PrintUIEntry /if /q /m "Canon iP110 series" /f "C:\WINDOWS\INF\oem93.inf" /r "CNBJNP_60128B8458CB"Īttention: The script is for an SCCM installation, there might be a problem with some configurations. New-ItemProperty -Path $path -Name "TargetMAC" -Value "60-12-8B-84-58-CB" -PropertyType "STRING" New-ItemProperty -Path $path -Name "TargetPort" -Value "8611" -PropertyType "DWORD" New-ItemProperty -Path $path -Name "FAXInstalled" -Value "0" -PropertyType "DWORD" New-ItemProperty -Path $path -Name "Driver" -Value "CNMN6PPM.DLL" -PropertyType "String" New-ItemProperty -Path $path -Name "PMType" -Value "1" -PropertyType "DWORD" New-ItemProperty -Path $path -Name "BC Times" -Value "2" -PropertyType "DWORD" New-ItemProperty -Path $path -Name "Search Timeout" -Value "5000" -PropertyType "DWORD" New-ItemProperty -Path $path -Name "UDP Retry" -Value "3" -PropertyType "DWORD" New-ItemProperty -Path $path -Name "Connect Timeout" -Value "3000" -PropertyType "DWORD" New-ItemProperty -Path $path -Name "UDP Timeout" -Value "30000" -PropertyType "DWORD" New-ItemProperty -Path $path -Name "TCP Timeout" -Value "30000" -PropertyType "DWORD" New-ItemProperty -Path $path -Name "BufferFullWait" -Value "40" -PropertyType "DWORD" New-ItemProperty -Path $path -Name "PortName FaxPrefix" -Value "CNBJNPFAX_" -PropertyType "String" New-ItemProperty -Path $path -Name "PortName Prefix" -Value "CNBJNP_" -PropertyType "String" $path = "HKLM:\System\CurrentControlSet\Control\Print\Monitors\Canon BJNP Port"

change printer ports

Write-Log "Adding port for Canon IP110 series." New-Item -Path $path -Name "Canon BJNP Port" Remove-Item -Path "$path\Canon BJNP Port" -Recurse The settings are doneīy a script which gets some information of the printer (automatically). I copied them one to one to my script, installed the canon printer driver in silent mode and added the port manually. When I do the installation of the port with the Canon Printer setup.exe, it installs the port without any problems. In the registry, under "HKLM\SYSTEM\CurrentControlSet\Control\Print\Monitors\" I added a new key "Canon BJNP Port" with the settings from the setup.exe (read with the process explorer from the sysinternals tools). When I add the port type in the registry, it never appears in the available port type list (Devices and printers -> Print server properties -> Ports -> Add Port)

change printer ports

I'm having an issue with adding a new printer port type to the available port list.







Change printer ports