How to install ZC Printer Network port in silent mode

INF based installation for ZC Drivers

Steps to be followed for using command line installation:

1. Download Inf Based driver and unzip to the local system.
2. Open command prompt and run as Administrator mode.
3. From the command prompt, go to the extracted folder where the ZC.inf file is present.
4. Run the following commands after cleanly uninstalling any previous driver versions.

Installing Ethernet drivers:
For newer version of Windows 32 bit:
rundll32.exe printui.dll,PrintUIEntry /ia /m "Zebra ZC Network Card Printer" /h x86 /v "Type 3 - User Mode" /f .\ZC.inf
For 64 bit:
rundll32 printui.dll,PrintUIEntry /ia /m "Zebra ZC Network Card Printer" /h x64 /v "Type 3 - User Mode" /f .\ZC.inf
For Server 2K364 bit: ( For installing 64 bit drivers in 2003 Server 32 Bit machine)
rundll32 printui.dll,PrintUIEntry /ia /m "Zebra ZC Network Card Printer" /h x64 /v "Windows Server 2003" /f .\ZC.inf

Installing Ethernet Printers:
1. Copy the port monitor files (32-bit)
copy the JgPM.dll from i386\ folder to %windir%\system32
copy the JgPMUI.dll from i386\ folder to %windir%\system32
2. Copy the port monitor files (64-bit)
copy the JgPM.dll from x64\ folder to %windir%\system32
copy the JgPMUI.dll from x64\ folder to %windir%\system32
3. run configureport.exe to install Ethernet port monitor as follows: (Enter i386 folder for 32-bit and x64 folder for 64-bit and Use configureport.exe)
configureport.exe –install (to install the Zebra ZC Network Card Printer Network Port Monitor)
configureport.exe -add -4 192.168.100.7 (to install the Zebra ZC Network Card Printer Network port for a IPv4 connected printer)
configureport.exe -add -6 fe80::d015:c615:2809:7e9c%19 (to install the Zebra ZC Network Card Printer Network Port for a IPv6connected printer)

This will result in the Zebra ZC Network Card Printer Network Port with name ZXPJ0xx: to be installed in the system. The installed port name will be available in HKLM\System\CurrentControlSet\Control\Print\Monitors\ Zebra ZC Card Printer Network Port Monitor \LastPort registry value.
Use the above port name to install the printer as follows:
4. Installing the printer: (Return back to the infbased folder where ZC.inf is present, type the following and click Enter.)
rundll32 printui.dll,PrintUIEntry /if /f .\ZC.inf /r "ZXPJ001:" /m "Zebra ZC Network Card Printer"

Steps to be followed for clean uninstallation:
1. Delete the printers with name similar to Zebra ZC Network Card Printer present in Control panel -> Printers (2003) or Devices and Printers
2. Delete the following drivers in Control Panel -> Printers -> Server Properties->Drivers:
a. Zebra ZC Network Card Printer (x64)
b. Zebra ZC Network Card Printer (x86)

Use the Remove driver and driver package option.
In case of Windows 2003,
Run findstr /S /M /I ZC *.inf in the folder of the command prompt. This will list the ZC INF files present in the directory.
Delete the INF files listed using del command as follows:
del oem05.inf oem05.pnf

Delete the following language monitor registry entry:
reg delete "HKLM\System\CurrentControlSet\Control\Print\Monitors\Zebra ZC Card Printer Language Monitor"
Delete the following port monitor registry entry:
reg delete "HKLM\System\CurrentControlSet\Control\Print\Monitors\Zebra ZC Card Printer Network Port Monitor " ( If the Ethernet port is still present stop start spooler and execute the above again.)
Restart the spooler using net stop spooler && net start spooler and wait for the spooler to start.

Attachments: