Search:  
Gentoo Wiki

HOWTO_Konica_Minolta_printers_with_CUPS_and_FOOMATIC


This article is part of the HOWTO series.
Installation Kernel & Hardware Networks Portage Software System X Server Gaming Non-x86 Emulators Misc

Contents

Intro

This HOWTO describes how to setup some Konica Minolta printers using USB. It supports the following models:

but I have only tested it with the PagePro 1300W. It you've tested it with one of the other printers please update the listing above. It might work with all Minolta drivers available at LinuxPrinting.

Kernel configuration

Make sure you have the necessary kernel options enabled and in the running kernel.

Linux Kernel Configuration: USB support
   USB support --->
       <*> Support for USB 
       <*>   USB Printer Support

You can find out if everything is ok by issuing the following:

cat /proc/bus/usb/devices

There should be an entry like this one

T:  Bus=04 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=0686 ProdID=300c Rev= 1.00
S:  Manufacturer=KONICA MINOLTA
S:  Product=PP1300W
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  2mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=07(print) Sub=01 Prot=02 Driver=usblp
E:  Ad=01(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
Note: Your printer must be turned on...

And when you grep your dmesg for printer there should be

Code: Output of "dmesg | grep -i printer"
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 2 if 0 alt 0 proto 2 vid 0x0686 pid 0x300C

Emerge Cups and Foomatic

Emerge CUPS and Foomatic!

emerge -v cups foomatic

Add cupsd to your default runtime

 rc-update add cupsd default
* cupsd added to runlevel default
* Caching service dependencies...
* rc-update complete.

Start cupsd

/etc/init.d/cupsd start
* Starting cupsd...                                                      [ ok ]

Install printer driver and add printer to cups

For Konica Minolta PagePro 1200W and above, if you like it convenient way, fetch the min12xxw ebuild from bugzilla and install it (and tell the Gentoo devs that someone really should take care of this), then skip the text to the point of CUPS configuration. Otherwise continue by the next steps:

Get all the files you need from LinuxPrinting, i.e. browse the printer database ("Printer listing" in the navigation section) for Minolta PagePro1300W (or the printer you're using). Download the min12xxw tar.gz and place it in a tmp dir in your home directory. Download the ppd file and place it where you placed the min12xxw driver.

Su to root! Move the ppd file to the following directory!

 /usr/share/cups/model

Note: This directory is beeing created by the Foomatic. If you don't have it, you probably haven't emerged foomatic.

Now go back to where you placed the min12xxw driver and untar it. Change into the min12xxw directory and follow the instructions from README to compile and install the driver. (You still have to be root!) Once you've got the driver compiled and installed and the ppd in place restart cupsd (if you don't, CUPS won't see the new printers...)

/etc/init.d/cupsd restart
* Stopping cupsd...                                                      [ ok ]
* Starting cupsd...                                                      [ ok ]

Close the terminal you used, start mozilla (or whatever browser you use) and open the CUPS admin page

http://localhost:631/admin

Login as root with your root password. Click the "Add Printer" button and fill in the fields. Enter a name for your printer (can be anything, but actually PP1300W is pretty descriptiv), where it is (I entered "Desk") and a description (Konica Minolta PagePro 1300W sounds good...). Click the "Continue" button. In the next dialog you have to choose the device (if you attached it to USB there should be an entry with the printer in the dropdown box). In my case it was

USB Printer #1 (KONICA MINOLTA PP1300W)

Choose this as device and click "Continue". In the next dialog you have to choose the manufacturer and the model in the list. Choose Minolta (MINOLTA-QMS if you have a Magicolor 2300 DL) and click on continue. Now scroll down the list and choose

Minolta PagePro 1300W Foomatic/min12xxw (recommended) (en)

(Or the one corresponding to your printer) and click on continue. Well, that's it. Proceed to the Printers page to print a test page and enjoy being able to use your GDI printer on *nix!

Retrieved from "http://www.gentoo-wiki.info/HOWTO_Konica_Minolta_printers_with_CUPS_and_FOOMATIC"

Last modified: Sat, 30 Aug 2008 20:23:00 +0000 Hits: 17,927