From: Dan <dan@bgnet.ru> To: ALT Linux Community general discussions <community@lists.altlinux.org> Subject: [Comm] cups, samba и Samsung ML1710 Date: Wed, 21 Nov 2007 12:15:40 +1000 Message-ID: <474394CC.5020902@bgnet.ru> (raw) Уважаемое сообщество! Установил и настроил 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> -- С уважением, Олег
next reply other threads:[~2007-11-21 2:15 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-11-21 2:15 Dan [this message] 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
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=474394CC.5020902@bgnet.ru \ --to=dan@bgnet.ru \ --cc=community@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
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