|
|

楼主 |
发表于 2003-8-2 19:35:40
|
显示全部楼层
http://hpinkjet.sourceforge.net/install.php
不会用汉语的人就我一人,用 Linux 和hp3325 吧。呵呵
还是要一点点看。
installation overview
安装概述
HPIJS is not spooler specific, but the Common Unix Printing System (CUPS) is
HPIJS 不支持假脱机特效,但是 UNIX 打印系统
probably the best supported spooler system. Foomatic is a database-driven
或许支持假脱机特效。Foomatic 是接口基础数据驱动系统自由软件的打印
system for integrating free software printer drivers with common spoolers such as CUPS. Both CUPS and Foomatic are supported by most Linux and Unix
所有的 UNIX 打印系统和 Foomatic 都是支持 .......
distributions. See cups.org for more information about CUPS and Foomatic.
更多的关于 UNIX 和 Foomatic 信息去 cups.org 看吧。
Starting with HPIJS 1.4, HPIJS has built-in support for CUPS and Foomatic. CUPS and Foomatic support is optional via "configure" options.
This section addresses how to install HPIJS. In most cases this is all you need
本节讲怎样安装 HPIJS 。在大多数例子中你需要
to do. If your current copy of Ghostscript does not support HPIJS you will need
去做。如果你当前的 Ghostscript 拷贝不支持 HPIJS 你需要
to update Ghostscript.
去升级 Ghostscript.。
This section includes instructions for compiling Ghostscript from source code,
本节包含安装 Ghostscript,从原代码开始编译,
but this is not an easy task. Before attempting to update Ghostscript, check
但是这不是一个简单工作。升级 Ghostscript,之前要检查
with your distribution, they may have a Ghostscript update with the latest HPIJS
你的分配,它们可能有一个 Ghostscript 升级来支持 HPIJS。
support.
This section will show you how to install HPIJS for a CUPS system using
本节你将看到怎样安装 UNIX 打印系统的 HPIJS 使用
Foomatic. This section does not address other spoolers or how to use HPIJS with your spooler. See your distribution about spooler questions. Additional
看你的分发包关于假脱机的问题。
information is available at www.linuxprinting.org and hpinkjet.sourceforge.net.
Installation Overview
安装概述
1. Download and install HPIJS
下载和安装
2. Verify HPIJS is present
检查当前的 HPIJS
3. Verify your version of Ghostscript to see if IJS support is present
检查当前的你的 Ghostscript 的版本 ,通过看……
4. Check with your Distribution to see if they have a Ghostscript Update.
如果你有Ghostscript 的升级,检查你的发布包。
5. Update Ghostscript if necessary
升级 Ghostscript 如果必要
Additional Resources:
-Products Supported
-Installation Overview
-Device Mode Descriptions and Media Sizes
-Usage
HPIJS is not spooler specific, but the Common Unix Printing System (CUPS) is probably the best supported spooler system. Foomatic is a database-driven system for integrating free software printer drivers with common spoolers such as CUPS. Both CUPS and Foomatic are supported by most Linux and Unix distributions. See cups.org for more information about CUPS and Foomatic.
Starting with HPIJS 1.4, HPIJS has built-in support for CUPS and Foomatic. CUPS and Foomatic support is optional via "configure" options.
This section addresses how to install HPIJS. In most cases this is all you need to do. If your current copy of Ghostscript does not support HPIJS you will need to update Ghostscript.
This section includes instructions for compiling Ghostscript from source code, but this is not an easy task. Before attempting to update Ghostscript, check with your distribution, they may have a Ghostscript update with the latest HPIJS support.
This section will show you how to install HPIJS for a CUPS system using Foomatic. This section does not address other spoolers or how to use HPIJS with your spooler. See your distribution about spooler questions. Additional information is available at www.linuxprinting.org and hpinkjet.sourceforge.net.
Installation Overview
1. Download and install HPIJS
2. Verify HPIJS is present
3. Verify your version of Ghostscript to see if IJS support is present
4. Check with your Distribution to see if they have a Ghostscript Update.
5. Update Ghostscript if necessary
Additional Resources:
-Products Supported
-Installation Overview
-Device Mode Descriptions and Media Sizes
-Usage
1. Download and install HPIJS back to top
You can download HPIJS here.
The download includes the HPIJS source code and a platform-independent automake/autoconf makefile. The makefile will compile and install hpijs. By default the makefile will also do a Foomatic and CUPS install. After downloading to your directory use the following instructions.
# tar xzvf hpijs-1.x.tar.gz
# cd hpijs-1.x
# ./configure
# make
# make install
# killall -HUP cupsd
The Foomatic install will (1) copy HP HPIJS PPD files to /(prefix)/share/ppd/HP (2) copy foomatic-rip to /(prefix)/bin (3) gzip all PPD files.
The CUPS install will (1) remove any old HP HPIJS PPD files from the CUPS PPD directory (2) symlink the HP HPIJS PPD files to the CUPS PPD directory (3) symlink foomatic-rip to the CUPS filter directory.
The "killall -HUP cupsd" will cause the CUPS daemon to re-read all the PPD files in the PPD directory.
If you do not want Foomatic and CUPS install use the following commands instead.
# ./configure --disable-foomatic-install
# make
# make install
2. Verify HPIJS is present back to top
You can verify HPIJS was build and installed correctly with the following command.
# hpijs -h
Hewlett-Packard Co. Inkjet Server 1.x
Copyright (c) 2001-2002, Hewlett-Packard Co.
This is all you need to do to install HPIJS. If your current Ghostscript supports the IJS interface you are done. If you are not sure the Ghostscript Install section will show you how to verify IJS interface support.
3. Verify your version of Ghostscript to see if IJS support is present back to top
检查你的 Ghostscript 版本
Your current Ghostscript may already support HPIJS. You can verify this with
你的当前的 Ghostscript 已经支持 HPIJS.。
the gs -h command. You should see output similar to this:.
用这个命令 gs -h 你能看到如下类似的东西:
***************** Ghostscript Output *****************
GNU Ghostscript 7.05 (2002-04-22)
Copyright (C) 2002 artofcode LLC, Benicia, CA. All rights reserved.
Usage: gs [switches] [file1.ps file2.ps ...]
Most frequently used switches: (you can use # in place of =)
-dNOPAUSE no pause after page | -q `quiet', fewer messages
-gx page size in pixels | -r pixels/inch resolution
-sDEVICE= select device | -dBATCH exit after last file
-sOutputFile= select output file: - for stdout, |command for pipe,
embed %d or %ld for page #
Input formats: PostScript PostScriptLevel1 PostScriptLevel2 PDF
Available devices:
x11 x11alpha x11cmyk x11gray2 x11gray4 x11mono bmpmono bmpgray bmpsep1
bmpsep8 bmp16 bmp256 bmp16m bmp32b deskjet djet500 laserjet ljetplus
ljet2p ljet3 ljet3d ljet4 ljet4d lj5mono lj5gray cdeskjet cdjcolor
cdjmono cdj550 pj pjxl pjxl300 uniprint ijs bj10e bj200 bjc600 bjc800
faxg3 faxg32d faxg4 pcxmono pcxgray pcx16 pcx256 pcx24b pcxcmyk pbm
pbmraw pgm pgmraw pgnm pgnmraw pnm pnmraw ppm ppmraw pkm pkmraw pksm
pksmraw tiffcrle tiffg3 tiffg32d tiffg4 tifflzw tiffpack tiff12nc
tiff24nc psmono psgray psrgb bit bitrgb bitcmyk png16m pnggray pngmono
png256 png16 jpeg jpeggray pdfwrite pswrite epswrite pxlmono pxlcolor
cljet5 cljet5c nullpage
Search path:
. : /usr/share/ghostscript/7.05/lib : /usr/share/ghostscript/fonts
For more information, see /usr/share/ghostscript/7.05/doc/Use.htm.
Report bugs to bug-gs@ghostscript.com, using the form in Bug-form.htm.
***************** Ghostscript Output *****************
输出完毕。
If you don't see the highlighted ijs , your version of Ghostscript does not have
如果你没看到 ijs,你的Ghostscript 版本不支持HPIJS。
built-in support for HPIJS.
Proceed to steps 4 and 5 to update your version of Ghostscript to use the ijs interface.
通过第4,第5 步升级你的 Ghostscript 版本来使用 ijs 接口。
4. Check with your Distribution to see if they have a Ghostscript Update back to top
如果你升级完 Ghostscript 再检查你的发布包。
Please contact your distribution for more information. We have also provided a matrix with information on distribution support in our distribution support overview.
5. Update Ghostscript if necessary back to top
If necessary, the following instructions show you how to build GNU Ghostscipt 7.05. GNU Ghostscript 6.53 or higher will have built-in support for the IJS interface.
Note: Ghostscript 6.53 users may need a patch found on our patches and fixes page.
a. Download the source code for gs, jpeg, png and zlib into the following directories respectfully. See the GNU Ghostscript documentation for more information. You can create this directory structure in your user directory. Be sure to use the following directory names for jpeg, libpng and zlib.
../gs7.05/
../gs7.05/jpeg/
../gs7.05/libpng/
../gs7.05/zlib/
b. Ghostscript looks for fonts in hardcoded directories, see GS_LIB_DEFAULT in the makefile. For Red Hat the following symbolic link will allow Ghostscript to find fonts with out modifying the makefile. Other distributions may have different font directories.
# ln -s /usr/share/fonts/default/Type1 /usr/share/ghostscript/fonts
c. Now build and install Ghostscript by running the following commands in the Ghostscript directory.
# ./configure --prefix=/usr
# make
# make install
d.
Now run the gs -h command, you should see the ijs device name.
This completes the HPIJS installation. Please see the Usage Example for more information. |
|