[mdk-re] Печать
Yuri V. Anikin
=?iso-8859-1?q?ayv_=CE=C1_mec=2Ecitytlt=2Eru?=
Чт Янв 18 13:31:01 MSK 2001
On Thu, 18 Jan 2001, cornet wrote:
> "Yuri V. Anikin" wrote:
> >
> > Уважаемые! Подскажите, как решить следующую проблему: при распечатке
> > документов на принтере пользователями, подключеннными через SAMBA,
> > (принтер на самом SAMBA-сервере) на текущую консоль вываливается
> > сообщение:
> > parport0: detected irq 7; use procfs to enable interrupt-driven operation.
> > Возможно, вопрос задан не полностью. Если это так, то какая информация еще
> > требуется?
>
> Hello!!
> Какя версия самбы?
> Такое ощущение что порт не доступен. А сама тачка, на которой принтер
> стоит печатает?
> И не мешалобы видеть фрагмент smb.conf относящийся к принтеру.
>
samba-2.0.7-ipl4mdk
После указанной ругани принтер печатает нормально (но не из всех
приложений; пример MS Office - OK, Adobe PageMaker - not OK).
Файл smb.conf - в приложении. Принтер HP LJ1100 устанавливался у клиентов
из секции [printers].
----------- следующая часть -----------
[global]
nt smb support = yes
wins proxy = yes
status = yes
hosts deny = ALL
hosts allow = 10.66.0. 10.66.1. 10.66.2. 127.
interfaces = 10.66.0.1/255.255.255.0 10.66.1.1/255.255.255.0 10.66.2.1/255.255.255.0 127.0.0.1
domain master = yes
domain logons = yes
preferred master = yes
printing = bsd
nt pipe support = yes
server string = Samba Server as Domain Controller
workgroup = CENTER
passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
smb passwd file = /etc/smbpasswd
netbios name = NS
client code page = 866
public = yes
log file = /var/log/samba/log.%m
printcap name = /etc/printcap
printer = lp
max log size = 50
time server = yes
preserve case = yes
passwd program = /usr/bin/passwd %u
encrypt passwords = yes
path = /var/spool/lpd/lp
nt acl support = yes
unix password sync = Yes
socket options = SO_KEEPALIVE SO_BROADCAST TCP_NODELAY SO_SNDBUF= SO_RCVBUF=4096
guest account = guest
local master = yes
load printers = yes
security = user
short preserve case = no
character set = KOI8-R
writable = yes
os level = 33
lock directory = /var/lock/samba
wins support = yes
print command = /usr/bin/lpr -r -P%p %s
lpq command = /usr/bin/lpq -P%p
lprm command = /usr/bin/lprm -P%p %j
passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
# Using the following line enables you to customise your configuration
# on a per machine basis. The %m gets replaced with the netbios name
# of the machine that is connecting
; include = /etc/smb.conf.%m
# if you enable domain logons then you may want a per-machine or
# per user logon script
# run a specific logon batch file per workstation (machine)
; logon script = %m.bat
# run a specific logon batch file per username
; logon script = %U.bat
# Where to store roving profiles (only for Win95 and WinNT)
# %L substitutes for this servers netbios name, %U is username
# You must uncomment the [Profiles] share below
; logon path = \\%L\Profiles\%U
# DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names
# via DNS nslookups. The built-in default for versions 1.9.17 is yes,
# this has been changed in version 1.9.18 to no.
; dns proxy = yes
# Case Preservation can be handy - system default is _no_
# NOTE: These can be set on a per share basis
preserve case = yes
short preserve case = no
# Default case is normally upper case for all DOS files
default case = upper
# Be very careful with case sensitivity - it can break things!
case sensitive = no
# Mangle case = yes seems to give the correct filenames for Win95/98/NT.
mangle case = yes
#============================ Share Definitions ==============================
[homes]
comment = Home Directories
browseable = no
writable = yes
# Un-comment the following and create the netlogon directory for Domain Logons
[netlogon]
comment = The Domain logon service
path = /home/netlogon
guest ok = no
writable = yes
share modes = no
write list = @staff
browseable = no
locking = no
# Un-comment the following to provide a specific roving profile share
# the default is to use the user's home directory
;[Profiles]
; path = /home/profiles
; browseable = no
; guest ok = yes
# 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/lpd/lp
browseable = yes
public = no
read only = yes
create mode = 0700
directory = /home/tmp
# Set public = yes to allow user 'guest account' to print
guest ok = no
printable = yes
[tmp]
comment = Temporary file space
path = /home/tmp
read only = no
public = yes
# A publicly accessible directory, but read only, except for people in
# the "staff" group
[public]
writable = yes
comment = Welcome to public directory!
path = /home/public
browseable = no
write list = @staff
public = yes
[documents]
writable = yes
comment = Структура документов центра
path = /home/common/documents
browseable = yes
write list = @users
public = yes
inherit permissions = yes
; create mode = 0770
; directory mode = 0770
[old]
writable = yes
comment = Старые документы (только чтение)
path = /home/common/old
browseable = yes
write list = @users
public = yes
[archive]
writable = yes
comment = Архив документов с магнито-оптики и CD (только чтение)
path = /home/common/archive
browseable = yes
write list = @users
public = yes
[Office2000]
path = /home/share/Office2000
comment = Network Point of M$ Office 2000
default case = upper
read only = yes
available = yes
share modes = no
locking = no
browseable = yes
public = yes
Подробная информация о списке рассылки community