* [Comm] cups, samba и Samsung ML1710
@ 2007-11-21 2:15 Dan
2007-11-21 6:27 ` Motsyo Gennadi aka Drool
0 siblings, 1 reply; 7+ messages in thread
From: Dan @ 2007-11-21 2:15 UTC (permalink / raw)
To: ALT Linux Community general discussions
Уважаемое сообщество!
Установил и настроил 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>
--
С уважением, Олег
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Comm] cups, samba и Samsung ML1710
2007-11-21 2:15 [Comm] cups, samba и Samsung ML1710 Dan
@ 2007-11-21 6:27 ` Motsyo Gennadi aka Drool
2007-11-21 9:01 ` Victor Zhuravlyov
0 siblings, 1 reply; 7+ messages in thread
From: Motsyo Gennadi aka Drool @ 2007-11-21 6:27 UTC (permalink / raw)
To: ALT Linux Community general discussions
Dan пишет:
> [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
У меня приятель расшаривал принтер где-то так:
[printer]
comment = HPLJ1100
path = /tmp
printable = Yes
printer admin = user
ipp://brda.server.net:631/printers/HPLJ1100
parallel:/dev/lp0
#read only = No
#guest ok = Yes
#hosts allow = HPLJ1100
printer name = HPLJ1100
#use client driver = Yes
#default devmode = Yes
#browseable = No
#oplocks = No
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Comm] cups, samba и Samsung ML1710
2007-11-21 6:27 ` Motsyo Gennadi aka Drool
@ 2007-11-21 9:01 ` Victor Zhuravlyov
2007-11-22 0:47 ` Dan
0 siblings, 1 reply; 7+ messages in thread
From: Victor Zhuravlyov @ 2007-11-21 9:01 UTC (permalink / raw)
To: ALT Linux Community general discussions
В своё время переподключил по http все принтеры которые шарились по самбе.
И не жалею :)
--
Regards, vitich at gmail dot com
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Comm] cups, samba и Samsung ML1710
2007-11-21 9:01 ` Victor Zhuravlyov
@ 2007-11-22 0:47 ` Dan
2007-11-23 13:29 ` Michael Shigorin
0 siblings, 1 reply; 7+ messages in thread
From: Dan @ 2007-11-22 0:47 UTC (permalink / raw)
To: vitich, ALT Linux Community general discussions
Victor Zhuravlyov пишет:
> В своё время переподключил по http все принтеры которые шарились по самбе.
> И не жалею :)
>
Так и поступил! Напрямую к CUPS'у подключился. Еще пришлось на
маме понизить скорость USB, т. к. ядреный модуль жутко ругался и сыпал
ошибки.
Спасибо, вопрос закрыт.
--
Олег
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Comm] cups, samba и Samsung ML1710
2007-11-22 0:47 ` Dan
@ 2007-11-23 13:29 ` Michael Shigorin
2007-11-23 17:44 ` Alexander Yereschenko
0 siblings, 1 reply; 7+ messages in thread
From: Michael Shigorin @ 2007-11-23 13:29 UTC (permalink / raw)
To: ALT Linux Community general discussions
On Thu, Nov 22, 2007 at 10:47:04AM +1000, Dan wrote:
> > В своё время переподключил по http все принтеры которые
> > шарились по самбе. И не жалею :)
> Так и поступил! Напрямую к CUPS'у подключился. Еще пришлось на
> маме понизить скорость USB, т. к. ядреный модуль жутко ругался
> и сыпал ошибки.
Ещё со шнурками бывают нюансы, на будущее. Особенно если по ним
получается кататься стульями или хлопать дверьми.
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Comm] cups, samba и Samsung ML1710
2007-11-23 13:29 ` Michael Shigorin
@ 2007-11-23 17:44 ` Alexander Yereschenko
2007-11-23 19:24 ` Michael Shigorin
0 siblings, 1 reply; 7+ messages in thread
From: Alexander Yereschenko @ 2007-11-23 17:44 UTC (permalink / raw)
To: ALT Linux Community general discussions
Доброе!
В сообщении от Friday 23 November 2007 15:29:51 Michael Shigorin написал(а):
> > Так и поступил! Напрямую к CUPS'у подключился. Еще пришлось на
> > маме понизить скорость USB, т. к. ядреный модуль жутко ругался
> > и сыпал ошибки.
>
> Ещё со шнурками бывают нюансы, на будущее. Особенно если по ним
> получается кататься стульями или хлопать дверьми.
Или когда хоть на шнурке и написано "hi speed usb 2.0", но на вид он
тоненький, что вызывает сомнения в качественном экранировании....
--
Alexander
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Comm] cups, samba и Samsung ML1710
2007-11-23 17:44 ` Alexander Yereschenko
@ 2007-11-23 19:24 ` Michael Shigorin
0 siblings, 0 replies; 7+ messages in thread
From: Michael Shigorin @ 2007-11-23 19:24 UTC (permalink / raw)
To: ALT Linux Community general discussions
On Fri, Nov 23, 2007 at 07:44:59PM +0200, Alexander Yereschenko wrote:
> > > Так и поступил! Напрямую к CUPS'у подключился. Еще
> > > пришлось на маме понизить скорость USB, т. к. ядреный
> > > модуль жутко ругался и сыпал ошибки.
> > Ещё со шнурками бывают нюансы, на будущее. Особенно если по
> > ним получается кататься стульями или хлопать дверьми.
> Или когда хоть на шнурке и написано "hi speed usb 2.0", но на
> вид он тоненький, что вызывает сомнения в качественном
> экранировании....
Ну тут люди последний раз belkin подстраховались. Хотя именно
такой один побитый и лежит -- не без труда, но обнаружил признаки
"наезда". Толстый, да всё равно не выдержал.
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2007-11-23 19:24 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-21 2:15 [Comm] cups, samba и Samsung ML1710 Dan
2007-11-21 6:27 ` Motsyo Gennadi aka Drool
2007-11-21 9:01 ` Victor Zhuravlyov
2007-11-22 0:47 ` Dan
2007-11-23 13:29 ` Michael Shigorin
2007-11-23 17:44 ` Alexander Yereschenko
2007-11-23 19:24 ` Michael Shigorin
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git