|
|
|
|
 Linux怎么使用网络打印机 - zephyr [ 2003-02-28 13:17 | 110 byte(s)]
 Re: Linux怎么使用网络打印机 - yincheng [ 2003-03-13 11:59 | 2,166 byte(s)]
 Re: Linux怎么使用网络打印机 - yincheng [ 2003-03-13 11:35 | 1,669 byte(s)]
 Re: Linux怎么使用网络打印机 - larryshao [ 2003-03-04 05:05 | 244 byte(s)]
 Re: Linux怎么使用网络打印机 - crazymouse [ 2003-03-02 03:13 | 69 byte(s)]
|
|
|
|
[Original]
[Print]
[Top]
|
使用printtool 安装打印机,再用samba进行共享。
samba的配置文件 smb.conf和打印机的配置文件printcap的正确与否对能否成功实施网络打印很关键.
# /etc/printcap
#
# DO NOT EDIT! MANUAL CHANGES WILL BE LOST!
# This file is autogenerated by printconf-backend during lpd init.
#
# Hand edited changes can be put in /etc/printcap.local, and will be included.
HP2100:
:sh:
:ml=0:
:mx=0:
:sd=/var/spool/lpd/HP2100:
:af=/var/spool/lpd/HP2100/HP2100.acct:
:lp=/dev/lp0:
:lpd_bounce=true:
:if=/usr/share/printconf/util/mf_wrapper:
###############################################################################
## Everything below here is included verbatim from /etc/printcap.local ##
###############################################################################
# printcap.local
#
# This file is included by printconf's generated printcap,
# and can be used to specify custom hand edited printers.
smb.conf
printing = lprng
security = share
# NOTE: If you have a BSD-style print system there is no need to
# specifically define each individual printer
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
# Set public = yes to allow user 'guest account' to print
public = yes
guest ok = yes
writable = yes
printable = yes
|
|
|
----
我现在奋斗在Linux桌面的第一线!
|
|
[Original]
[Print]
[Top]
|
|
[Original]
[Print]
[Top]
|
一个文档.
REDHAT LINUX 7.1 打印
配置HP激光打印机
在Xwindows 界面,点击GONME的开始菜单,选择programs->system->Printer configuration ,即可进入打印机配置界面.当然你必须拥有root的权限才可以安装配置打印机.
1.添加本地打印机
programs->system->Printer configuration
点击 NEW 就可以进入添加打印机的界面
Name and Aliases Queue name: test
Queue Type local printer
Printer Device : /dev/lp0
Printer driver HP
Driver option
注意queue name中不可以含有空格,必须以字母开头,且区分大小写,在driver option 可以选择纸张大小,打印质量,分辨率等.最后一定要选择 Apply 按钮,这样在打印机配置窗口中会出现你所配置的打印机,并且将配置信息写入 /etc/printcap 和启动lpd. 你可以打印一个测试页来检验你的配置是正确的.
2.添加远程打印机
Name and Aliases Queue name :test1
Queue type UNIX Printer (lpd Queue)
Server: IPS-server.china.hp.com
Queue: lp
Printer driver HP
Driver option
Server 可以是远程主机名或IP地址,Queue 是远程打印队列,一般默认是lp.远程机器必须被配置成允许本地机器打印到相应队列.作为root,可以在远程机器上创建/etc/hosts.lpd,将需要打印的各个机器的IP地址或主机名加入使其获得打印的权限.
3.添加SMB共享打印机
打印机连接在一台windows 系统上, 我们可以通过SMB协议来访问windows共享的打印机.
Share //hostname/sharename user : guest or nobody
HostIP 15.79.55.119 Password :*******
Workgroup: chinaccc
Printer driver HP
Driver option
这里不作详细说明,将有一篇专门介绍Samba服务器与Win95/98共享的配置文档.
4.添加JetDirect 打印机
这种配置非常简单,不需要过多的配置就可以实现网络打印.
Queue Type : Jetdirect printer
Printer IP 15.79.49.242
Port :9100
Printer driver HP
Driver option
|
|
|
----
我现在奋斗在Linux桌面的第一线!
|
|
[Original]
[Print]
[Top]
|
|
|