Driver Install (PPD Installer)


Step 1. Login as a superuser
Step 2. Confirm that the cups is installed and running
2-1. Open a webbrowser and go to "http://localhost:631"
Confirm the cups web interface is displaied normaly.
2-2. Check whether "/opt/sfw/cups/etc/init.d/cups" file is exist or not.
Command  :  ls  -l  /opt/sfw/cups/etc/init.d/cups
Example
Step 3. Download a driver and unzip it.
3-1. Download a driver
3-2. Go to the directory where the driver is.
3-3. Unzip the package
Command  :  gunzip  xxxxxx.gz
Example
Step 4. Install the driver
4-1. Turn on the printer and connect the usb cable.
4-2. Restart the cups to make your printer detected.
Command  :  /opt/sfw/cups/etc/init.d/cups  restart
Example
4-3. Check your printer is detected by the system.
Command  :  /opt/sfw/cups/sbin/lpinfo  -v
Example
4-4. Add your package
Command  :  pkgadd  -d  xxxxxx
Example
4-5. Confirm the package is installed
Command  :  pkginfo  |  grep  cups
Example
Step 5a. Check your printer on the cups web interface
5a-1. Open a webbrowser and go to "http://localhost:631/printers".
Your printer will be listed on the page.
Device URI is supposed to be "usb://Brother/(your printer's model name)"
Example
Step 5b. Check and Configure your printer on the cups web interface
5b-1. Open a webbrowser and go to "http://localhost:631/printers".
Your printer will be listed on the page.
5b-2. Click "Modify Printer" and set following parameters.
- LPD/LPR Host or Printer for Device
- lpd://(Your printer's IP address)/binary_p1 for Device URI
- Brother for Make manufacturer Selection
- Your printer's name for Model/Driver Selection
5b-3. Confirm the Device URI on the cups web interface printers screen has been correctly changed.
Example
Step 6. Try a test print
Try to print a test page by "Print Test Page" in "http://localhost:631/printers"
NOTE: Interface and menus on the cups web interface could be different according to the versions of cups.

Page Top


ls
# ls -l /opt/sfw/cups/etc/init.d/cups
-r-xr-xr-x   1 root     bin         3968 Apr 26  2007 /opt/sfw/cups/etc/init.d/cups
gunzip
# ls
mfc9840cdw-cups-ppd-1.01-1-pkg.gz

# gunzip mfc9840cdw-cups-ppd-1.01-1-pkg.gz

# ls
mfc9840cdw-cups-ppd-1.01-1-pkg
Restart Cups
# /opt/sfw/cups/etc/init.d/cups restart
cups: restarted scheduler.
lpinfo -v
# /opt/sfw/cups/sbin/lpinfo -v
network socket
network http
network ipp
network lpd
serial serial:/dev/cua/a?baud=115200
direct usb://Brother/MFC-9840CDW
direct usb:/dev/usb/printer1
direct usb:/dev/usb/printer2
direct usb:/dev/usb/printer3
direct usb:/dev/usb/printer4
direct usb:/dev/usb/printer5
direct usb:/dev/usb/printer6
direct usb:/dev/usb/printer7
pkgadd
# pkgadd -d mfc9840cdw-cups-ppd-1.01-1-pkg

The following packages are available:
  1  mfc9840cdw-cups-ppd     Brother MFC-9840CDW cups driver
                             (all) 1.01-1

Select package(s) you wish to process (or 'all' to process all packages). (default: all) [?,??,q]:

Processing package instance  from 

Brother MFC-9840CDW cups driver(all) 1.01-1
Brother Industries, Ltd
Using  as the package base directory.
## Processing package information.
## Processing system information.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.

This package contains scripts which will be executed with super-user
permission during the process of installing this package.

Do you want to continue with the installation of  [y,n,?]
y

Installing Brother MFC-9840CDW cups driver as 

## Installing part 1 of 1.
/opt/sfw/cups/share/cups/model/BR9840_2_GPL.PPD
[ verifying class  ]
## Executing postinstall script.

Installation of  was successful.
#
pkginfo
# pkginfo | grep cups
system      SFWcups                          cups - Common UNIX Printing System
driver      mfc9840cdw-cups-ppd              Brother MFC-9840CDW cups driver
Cups web interface for USB Connection ( http://localhost:631/printers )

Cups web interface for Network Connection ( http://localhost:631/printers )

Page Top