Code: Select all
priPrinter 2541
>Check Spooler
PrinterDriverDirectory(1):C:\windows\system32\spool\drivers\x64
PrinterDriverDirectory(2):C:\windows\system32\spool\drivers\x64\
>>0010
>ReInstall
>UnInstall
EnumMonitors
2 Monitors found.
EnumPrinterDrivers for Windows x64
4 drivers found
>DeleteAllPrinters
>DeletePrinter(priPrinter)
Error(16): Can`t open printer 'priPrinter' - (Invalid printer name.)
>DeletePrinterDriver for Windows x64
------------ 4 existing drivers-----------
1. HP-LaserJet-P1006
2. HP-LaserJet-Professional-P1102w
3. HP_LaserJet_Professional_P1102w
4. priPrinter printer
-------------------------------------------
Driver is found. Index=4
Can't delete driver. Trying to restart spooler
>Restart Spooler
Error(14): Can`t remove the printer-driver 'priPrinter printer' - (Invalid parameter.)
>DeleteMonitor
------- 2 existing monitors ----------
1. Local Port
2. priPrinter:
---------------------------------------
Port monitor is found. Index=2
Trying to get monitor filename from MONITOR_INFO_2
Auto calculated monitor file name: C:\windows\system32\plkmon64.dll
Version (2541) is compatible, proceed without uninstall
InstallMonitor == 0, CopyMonitor == 1
>Add Printer Driver
>CopyFile plkdrv64.dll to C:\windows\system32\spool\drivers\x64\ [1])
Copy Succeeded :)
>CopyFile plkui64.dll to C:\windows\system32\spool\drivers\x64\ [1])
Copy Succeeded :)
>CopyFile plkhelp.chm to C:\windows\system32\spool\drivers\x64\ [1])
Copy Succeeded :)
OK :)
>AddPrinter(priPrinter)
Let's check our port monitors
Port monitor is found
Error(15): Can`t add printer 'priPrinter' - (Invalid printer name.)