emergecups
rc-updateaddcupsdefault
/etc/init.d/cupsdstart
创建目录/usr/local/portage
在make.conf里添加:PORTDIR_OVERLAY="/usr/local/portage"
在/usr/local/portage下创建一个分类子目录net-print
再创建一个和.ebuild同名的子目录(不包括版本号)
下载 .ebuild和补丁到目录下
命令:ebuildbjfilter-2.50.ebuilddigest创建Manifest文件
echo"net-print/bjfilter">>/etc/portage/package.keywords
echo"net-print/bjfilterpixmaip1000">>/etc/portage/package.use
emergebjfilter-av
编辑:/usr/share/cups/model/canonpixusip1000.ppd添加:
*OpenUI*CNQuality/Quality:PickOne
*DefaultCNQuality:3
*CNQuality2/High:"2"
*CNQuality3/Normal:"3"
*CNQuality4/Standard:"4"
*CNQuality5/Economy:"5"
*CloseUI:*CNQuality
替换:
*OpenUI*Resolution/OutputResolution:PickOne
*DefaultResolution:600
*Resolution600/600dpi:"<>setpagedevice"
*CloseUI:*Resolution
为:
*OpenUI*Resolution/OutputResolution:PickOne
*DefaultResolution:600
*Resolution600/600dpi:"<>setpagedevice"
*Resolution1200/1200dpi:"<>setpagedevice"
*CloseUI:*Resolution
/etc/init.d/cupsdrestart
然后用浏览器到CUPS配置页面添加打印机(很简单)
如果不工作,ln-s/usr/lib/cups/filter/pstocanonbj/usr/libexec/cups/filter
Gentoo Linux 安装打印机(型号:Canon PIXMA iP1000)Gentoo Linux 安装打印机(型号:Canon PIXMA iP1000)Gentoo Linux 安装打印机(型号:Canon PIXMA iP1000)Gentoo Linux 安装打印机(型号:Canon PIXMA iP1000)Gentoo Linux 安装打印机(型号:Canon PIXMA iP1000)Gentoo Linux 安装打印机(型号:Canon PIXMA iP1000)Gentoo Linux 安装打印机(型号:Canon PIXMA iP1000)Gentoo Linux 安装打印机(型号:Canon PIXMA iP1000)Gentoo Linux 安装打印机(型号:Canon PIXMA iP1000)Gentoo Linux 安装打印机(型号:Canon PIXMA iP1000)
阅读(1340) | 评论(0) | 转发(0) |