Difference between revisions of "Windows/CUPS printer driver"
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
|  (Created page with "{{DISPLAYTITLE:CUPS printer driver for Windows}}  == Install ==  == Uninstall ==  == References ==  Category:Windows Category:CUPS Category:Printing") | |||
| Line 1: | Line 1: | ||
| {{DISPLAYTITLE:CUPS printer driver for Windows}} | {{DISPLAYTITLE:CUPS printer driver for Windows}} | ||
| == Prerequisites == | |||
| * Windows 2000 or higher. | |||
| * CUPS installation with a printer '''not''' using Foomatic filters. | |||
| == Install == | == Install == | ||
| # Download the CUPS Windows Driver source package. Either the <tt>.bz2</tt> or the <tt>.gz</tt> will do.  | |||
| # Extract the content <tt>cups-windows-<span class="highlight"><Version></span>\i386\</tt> to a directory of choice.  | |||
| # Open the <tt>Printers and Faxes</tt> window in the <tt>Control Panel</tt>. Right click to and choose <tt>Add Printer</tt>. | |||
| # Select <tt>Local Printer</tt> then [Next >] | |||
| # Leave at the default port and then hit [Next >] | |||
| # When asked to choose a printer driver click on [Have Disk] | |||
| # Browse to the directory where the CUPS driver files have been put. | |||
| # When the file dialog appears choose the <tt>cups6.inf</tt> file.  | |||
| == Uninstall == | == Uninstall == | ||
| # Navigate to <tt>%WINDIR%\system32\spool\drivers\w32x86\3</tt> | |||
| # Delete these files <tt>CUPS6.INI CUPS6.BPD CUPS6.PPD CUPSPS6.DLL CUPSUI6.DLL</tt> | |||
| or use this script [[File:Uninstall-cups6-driver.cmd|uninstall-cups6-driver.cmd]] | |||
|  set DRIVER_DIR=%WINDIR%\system32\spool\drivers\w32x86\3 | |||
|  set FILES=CUPS6.INI CUPS6.BPD CUPS6.PPD CUPSPS6.DLL CUPSUI6.DLL | |||
|  for %%i in ( %FILES% ) do ( | |||
|     if exist %DRIVER_DIR%\%%i ( | |||
|         echo Deleting %DRIVER_DIR%\%%i | |||
|         del %DRIVER_DIR%\%%i | |||
|     ) else ( | |||
|        echo File %DRIVER_DIR%\%%i not found. Skipping. | |||
|     ) | |||
|  ) | |||
| == References == | == References == | ||
| * [http://cups.org/software.php CUPS download page] | |||
| [[Category:Windows]] | [[Category:Windows]] | ||
Revision as of 21:44, 1 June 2012
Prerequisites
- Windows 2000 or higher.
- CUPS installation with a printer not using Foomatic filters.
Install
- Download the CUPS Windows Driver source package. Either the .bz2 or the .gz will do.
- Extract the content cups-windows-<Version>\i386\ to a directory of choice.
- Open the Printers and Faxes window in the Control Panel. Right click to and choose Add Printer.
- Select Local Printer then [Next >]
- Leave at the default port and then hit [Next >]
- When asked to choose a printer driver click on [Have Disk]
- Browse to the directory where the CUPS driver files have been put.
- When the file dialog appears choose the cups6.inf file.
Uninstall
- Navigate to %WINDIR%\system32\spool\drivers\w32x86\3
- Delete these files CUPS6.INI CUPS6.BPD CUPS6.PPD CUPSPS6.DLL CUPSUI6.DLL
or use this script File:Uninstall-cups6-driver.cmd
set DRIVER_DIR=%WINDIR%\system32\spool\drivers\w32x86\3
set FILES=CUPS6.INI CUPS6.BPD CUPS6.PPD CUPSPS6.DLL CUPSUI6.DLL
for %%i in ( %FILES% ) do (
   if exist %DRIVER_DIR%\%%i (
       echo Deleting %DRIVER_DIR%\%%i
       del %DRIVER_DIR%\%%i
   ) else (
      echo File %DRIVER_DIR%\%%i not found. Skipping.
   )
)