我将写一些系列文章,跟大家分享一下OpenSolaris在办公方面的设置。
用两种方式可以实现打印,一个是用 PrintManager配置,一个是用CUPS
首先介绍 CUPS,是我比较推荐的。但只有87版本以上的才支持 CUPS。但在 pkg.opensolaris.org 里,
只有 89以上的才有包,最小的是89的: pkg:/SUNWcups-AT-1.3-DOT-7,5.11-0.89:20080527T162236Z 。输入命令 uname -av 查看你系统的版本。 以下例子的版本号是 snv_96。
bash-3.2# uname -av
SunOS opensolaris_ricky 5.11 snv_96 i86pc i386 i86pc
第一步,启动 CUPS服务,请打开一个 Terminal,输入: print-service -s cups
-----------------------------------------
bash-3.2# print-service -s cups
disabling LP services...
enabling CUPS services...
------------------------------------------------
第二步,在浏览器里输入: http://localhost:631 即可访问CUPS打印机管理界面。如下图所示:
第三步,添加打印机。点击 上图的 "Add Printer"按钮。即可,如下画面。输入相应的信息。其余的信息也如此 。
在安装添加打印机过程中会弹出一个窗口,要求输入用户名和密码,使用的是系统 root用户名及密码。
第二种是用 PrintManager来配置。
第一步,启动LP服务。在Terminal 输入 : print-service -s lp
在系统管理的菜单里,点击:PrintManager,弹出如下画面。点击添加网络打印机
Thanks for your report.
Just wondering, why you don't want to use the GUI printer manager that comes with OpenSolaris?
发表于 W. Wayne Liauh 在 2008年08月27日, 12:49 上午 CST #
It seems that CUPS can offer more stuffs of printer management.
and printing is faster in CUPS than in LP .
发表于 Ricky 在 2008年08月27日, 09:14 上午 CST #
Hi, me again, After I entered the printer name, it asked me to enter the username and password for "CUPS".
What's the right answer in order to continue? I am running OpenSolaris 2008.05 build 91.
Thanks.
发表于 W. Wayne Liauh 在 2008年09月03日, 04:28 下午 CST #
use your username and password of your OS .
发表于 Ricky 在 2008年09月03日, 04:39 下午 CST #
Any problem, feel free to call me (X80507)
or Email: Chengzu.Zhou@Sun.Com
发表于 Ricky 在 2008年09月03日, 04:41 下午 CST #