个人工具

UbuntuHelp:XeroxPrinters

来自Ubuntu中文

跳转至: 导航, 搜索

Xerox Phaser 3116 Printer

This was tested with the 3116 printer, but should probably work with 3115, 3120, 3130, 3150, and 3420.

Plug in the printer

  • Plug in the printer and power it up, you should see this in dmesg:
   [4564914.736000] usb 3-1: new full speed USB device using uhci_hcd and address 2
   [4564915.821000] drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 2 if 0 alt 0 proto 2 vid 0x04E8 pid 0x3265
   [4564915.822000] usbcore: registered new driver usblp
   [4564915.822000] drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
   

Install drivers from the printer disc

  • copy the disc contents to /tmp/printer and run:
   sudo ./setup.sh
   
  • select "Expert"
  • leave the defaults:
  • Install path: "/usr/local/linuxprinter"
  • Link path: "/usr/bin"
  • Install CUPS 1.1 = Off
  • Printing System: "CUPS Printing System"
  • Startup menu entries (KDE/Gnome) = On
  • press "Begin install"
  • press "Start"
  • copy the ppd files from the cd to /usr/share/ppd/Xerox:
   cd /usr/share/ppd/Xerox
   sudo cp /tmp/printer/ppd/c/*.ppd .
   sudo chmod a-x Phaser-*
   
  • restart cups:
   sudo /etc/init.d/cupsys restart
   

Enabling cupsys Web Admin Interface

  • goto System\Administration\Users_and_Groups
  • enable "Show all users and groups"
  • goto the "Groups" tab
  • select the group "shadow" and press "Properties"
  • add ther user "cupsys" to the group members list
  • set a password for the cupsys user:
   sudo passwd cupsys
   
  • restart cups:
   sudo /etc/init.d/cupsys restart
   

Add the printer to cups

  • run the Linux Printer Configuration program:
   sudo linux-config
   

(when asked for the root user password, enter user=cupsys and the password you defined earlier)

  • press "Add a Printer"
  • press "Pick PPD file..." and select "/usr/share/ppd/Xerox/Phaser-3116.ppd"
  • open the "Connection" tab
  • select "USB"
  • leave "Device" with default (/dev/usb/lp0)
  • define the settings in the "Settings" tab
  • the new printer should appear in "Linux Printers" on the left
  • to test the printer, press "Ctrl+T" (or Print\Test_page)