[Comm] Настройка сетевого принтера.

Dolgov OV =?iso-8859-1?q?dov_=CE=C1_media-link=2Einfo?=
Чт Янв 6 12:52:04 MSK 2005


Здравствуйте.

Помогите, плз. настроить сетевой принтер.
Дано :-)
Хост система ALC-2.3
VMware c гостевой ВыньХР
Виртуальный интерфейс host-only (физически сетевых карт нет, комп одиночка)

vmnet1    Link encap:Ethernet  HWaddr 00:50:56:C0:00:01
          inet addr:192.168.183.1  Bcast:192.168.183.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1749 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1705 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

Пользователи в Линуксе и в Виндовсе идентичны (пароли тоже).

На мой взгляд наиболее важные фрагменты smb.conf
======================================================
[global]
  printcap name = lpstat
  load printers = yes

  printing = cups

  hosts allow = 192.168.183.  127.

  security = share

  encrypt passwords = yes
  smb passwd file = /etc/samba/smbpasswd

  interfaces = 192.168.183.1/24

  name resolve order = wins lmhosts bcast

  dos charset = CP866
  unix charset = CP1251
  display charset = CP1251

[printers]
   comment = All Printers
   path = /var/spool/samba
   browseable = yes
# to allow user 'guest account' to print.
   guest ok = yes
   writable = yes
   printable = yes
   create mode = 0777

   print command = lpr-cups -P %p -o raw %s -r
   lpq command = lpq -P %p
   lprm command = cancel %p-%j

[myshare]
   comment = Shared Folders
   path = /mnt/D/
;   valid users = into guest
   public = yes
   writable = yes
   printable = no
   create mask = 0777
===================================================

Винде присвоен адрес 192.168.183.2
Сеть работает, расшареная папка подключается, читает/пишет. В общем тут все ОК.

А вот принтера в окружении не видать :-(

Принтер Samsung ML-1250, Локально (из Линукса на LPT) печатает на ура.

Вот то, что в /etc/cups/cupsd.conf
===================================================
Classification none

DefaultCharset UTF-8

Printcap /etc/printcap

PrintcapFormat BSD

<Location />
Encryption IfRequested
Satisfy All
Order allow,deny
Allow From 127.0.0.1
Allow From 192.168.183.
#Deny From All
</Location>
<Location /admin>
AuthType Basic
AuthClass System
Encryption IfRequested
Satisfy All
Order deny,allow
Deny From All
Allow From 127.0.0.1
</Location>

HostnameLookups Off
KeepAlive On

Listen *:631, *:80
User lp
Group lp
DataDir /usr/share/cups
RequestRoot /var/spool/cups
ServerRoot /etc/cups
Browsing On
BrowseProtocols CUPS
BrowsePort 631
BrowseOrder allow,deny

runasuser no
noizvrat yes
=====================================================

Остальное по умолчанию.

# /sbin/service cups status
cupsd is running

# /sbin/service smb status
smbd is running
nmbd is running

Что и как еще делать, ума не приложу.

Заранее благодарен за помощь.

-- 
С наилучшими,
Олег Долгов
<dov AT media-link DOT info>
Registered Linux user #315454



Подробная информация о списке рассылки community