Windows使用Linux共享的打印机

  1. Linux服务器端配置
    1. 配置print queue
      1. 使用printtool建立新的print queue
      2. /dev/lp0 ==> lpt打印机
      3. /dev/usb/lp0 ==> usb打印机
      4. 必须将所建立的print queue设为共享
    2. 修改cups配置
      1. 修改/etc/cups/cupsd.conf,在<Location />段中加入本地网段IP,如192.168.0.*
      2. 修改/etc/cups/mime.convs及mime.types,将application/octect-stream前的#去除
    3. 修改smaba配置
      1. 在global段中加入
        1. load printers = yes
        2. printing = cups
        3. printcap name = cups
        4. print command = lp c -d%p -oraw; rm %s
        5. use client driver = yes
      2. prints段内容
        1. comment = All printers
        2. path = /var/spool/samba
        3. printable = yes
        4. browseable = no
        5. guest ok = yes
        6. use client driver = yes
        7. create mode = 0777
        8. public = yes
      3. [model]段内容
        1. comment = [model comment]
        2. path = /var/spool/samba
        3. read only = no
        4. guest ok = yes
        5. printable = yes
        6. printing = cups
        7. printer name = [model]
  2. Windows客户端配置
    1. 配置netbios名称解释:在\windows\system32\drivers\etc\hosts中加入服务器的ip解释
    2. 新增打印机,driver使用Windows自带的驱动

posted on 2005-06-26 18:20 毒菇求Buy 阅读(272) 评论(0)  编辑 收藏 引用 所属分类: LinuxWindows

只有注册用户登录后才能发表评论。
<2005年6月>
2930311234
567891011
12131415161718
19202122232425
262728293012
3456789

导航

统计

常用链接

留言簿(7)

随笔分类(133)

随笔档案(111)

文章分类(65)

文章档案(53)

相册

收藏夹(30)

BLOG

Book store

Graphics Design

搜索

最新评论

阅读排行榜

评论排行榜