[Comm] cups, samba и Samsung ML1710
Dan
=?iso-8859-1?q?dan_=CE=C1_bgnet=2Eru?=
Ср Ноя 21 05:15:40 MSK 2007
Уважаемое сообщество!
Установил и настроил CUPS и Samba на ALS4.
При просмотре в WindowsXP, на сервере принтер видится, и подключается
как сетевой, НО в настройках принтера(уже на XP) нет привязки к порту, т. е.
принтер как бы висит в воздухе. Соответственно печать идет в никуда.
В то же время при подключении этого же принтера напрямую к CUPS,
принтер печатает нормально. В чем могут быть проблемы?
smb.conf
[global]
dos charset = CP866
unix charset = UTF8
workgroup = RogaUndKopyta
server string =
log level = 3
log file = /var/log/samba/log.%m
max log size = 500
name resolve order = wins lmhosts bcast
domain logons = Yes
os level = 33
preferred master = Yes
domain master = Yes
wins support = Yes
use sendfile = Yes
printing = cups
load printers = yes
printcap name = cups
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
case sensitive = Yes
map to guest = Bad User
[printers]
comment = All Printers
path = /var/spool/samba
public = yes
guest ok = Yes
printable = Yes
browseable = No
print command = lpr-cups -P %p -o raw %s
lpq command = lpstat -o %p
lprm command = cancel %p-%j
[SamsungML-1710]
path = /var/spool/samba
read only = No
guest ok = Yes
printable = Yes
printer name = SamsungML-1710
cupsd.conf
LogLevel debug2
SystemGroup sys root
Port 631
Listen /var/run/cups/cups.sock
# Show shared printers on the local network.
ServerName RogaUndKopyta
Browsing On
BrowseOrder allow,deny
BrowseShortNames Yes
BrowseAllow all
DefaultAuthType Basic
<Location />
Order allow,deny
Allow @LOCAL
</Location>
<Location /admin>
Encryption Required
Order allow,deny
Allow from localhost
Allow from 192.168.101.*
</Location>
<Location /admin/conf>
AuthType Basic
Require user @SYSTEM
Order allow,deny
Allow from localhost
Allow from 192.168.101.*
</Location>
<Location /printers>
AuthType None
Order Deny,Allow
Deny From None
Allow From All
</Location>
<Policy default>
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job
Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription
Cancel-Subscription
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit Pause-Printer Resume-Printer Set-Printer-Attributes
Enable-Printer Disable-Printer Pause-Printer-After-Current-Job
Hold-New-Jobs Release-Held-New-Job
AuthType Basic
Require user @SYSTEM
Order deny,allow
</Limit>
<Limit CUPS-Authenticate-Job>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit All>
Order deny,allow
</Limit>
</Policy>
--
С уважением, Олег
Подробная информация о списке рассылки community