|
发表于 2007-7-5 22:22:20
|
显示全部楼层
首先确认/usr/lib/gimp/2.0/plug-ins/print这个文件的存在, 和它的属性
- ~/.gimp-2.2$ ls /usr/lib/gimp/2.0/plug-ins/print -l
- -rwxr-xr-x 1 root root 14744 Nov 3 2006 /usr/lib/gimp/2.0/plug-ins/print
复制代码
该文件属于gimp-print:
- ~/.gimp-2.2$ dpkg -S usr/lib/gimp/2.0/plug-ins/print
- diversion by gimp-print from: /usr/lib/gimp/2.0/plug-ins/print
- diversion by gimp-print to: /usr/lib/gimp/2.0/print.orig
- gimp-print: /usr/lib/gimp/2.0/plug-ins/print
复制代码
在~/.gimp-2.2/pluginrc里有对这些插件的定义, 该文件删除后会自动生成.
确认里有这样的行
- (plug-in-def "/usr/lib/gimp/2.0/plug-ins/print" 1162515403
- (proc-def "file_print_gimp" 1
- "This plug-in prints images from The GIMP using Gutenprint directly."
- "Prints images to many printers."
- "Michael Sweet <mike@easysw.com> and Robert Krawitz <rlk@alum.mit.edu>"
- "Copyright 1997-2006 by Michael Sweet and Robert Krawitz"
- "5.0.0 - 22 Jul 2006"
- ""
- 1
- (menu-path "<Image>/File/Print...")
- (icon stock-id -1 "")
- ""
- ""
- ""
- "RGB*,GRAY*,INDEXED*"
- 28 0
- (proc-arg 0 "run_mode" "Interactive, non-interactive")
- (proc-arg 13 "image" "Input image")
- (proc-arg 16 "drawable" "Input drawable")
- (proc-arg 4 "output_to" "Print command or filename (| to pipe to command)")
- (proc-arg 4 "driver" "Printer driver short name")
- (proc-arg 4 "ppd_file" "PPD file")
- (proc-arg 0 "output_type" "Output type (0 = gray, 1 = color)")
- (proc-arg 4 "resolution" "Resolution ("300", "720", etc.)")
- (proc-arg 4 "media_size" "Media size ("Letter", "A4", etc.)")
- (proc-arg 4 "media_type" "Media type ("Plain", "Glossy", etc.)")
- (proc-arg 4 "media_source" "Media source ("Tray1", "Manual", etc.)")
- (proc-arg 3 "brightness" "Brightness (0-400%)")
- (proc-arg 3 "scaling" "Output scaling (0-100%, -PPI)")
- (proc-arg 0 "orientation" "Output orientation (-1 = auto, 0 = portrait, 1 = landscape)")
- (proc-arg 0 "left" "Left offset (points, -1 = centered)")
- (proc-arg 0 "top" "Top offset (points, -1 = centered)")
- (proc-arg 3 "gamma" "Output gamma (0.1 - 3.0)")
- (proc-arg 3 "contrast" "Contrast")
- (proc-arg 3 "cyan" "Cyan level")
- (proc-arg 3 "magenta" "Magenta level")
- (proc-arg 3 "yellow" "Yellow level")
- (proc-arg 0 "linear" "Linear output (0 = normal, 1 = linear)")
- (proc-arg 0 "image_type" "Image type (0 = line art, 1 = solid tones, 2 = continuous tone, 3 = monochrome)")
- (proc-arg 3 "saturation" "Saturation (0-1000%)")
- (proc-arg 3 "density" "Density (0-200%)")
- (proc-arg 4 "ink_type" "Type of ink or cartridge")
- (proc-arg 4 "dither_algorithm" "Dither algorithm")
- (proc-arg 0 "unit" "Unit 0=Inches 1=Metric"))
- (locale-def "gutenprint" "/usr/share/locale"))
复制代码
这应该是生成打印菜单的关键.
如果里面没有类似行, 可以把它删除, 让它重新产生.
如果实在不行可以试着将它拷到~/.gimp-2.2/pluginrc里面
在(protocol-version 17)下面, 空一行. (不过估计没用)
在终端运行gimp --verbose看出来的信息, 也许有有用的信息在里面. 我这边没看到什么有用的信息.
如果实在不行, 请用
- apt-get remove --purge `dpkg -l|awk '/gimp/{print $2}'`
- apt-get install gimp gimp-print
复制代码
将它卸了重装试试.
还不行的话我就也没招了  |
|