ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Геннадий Ищенко" <anarhoret@mail.ru>
To: community@lists.altlinux.org
Subject: Re: [Comm] Помогите с настройкой samba-принтера в Винде
Date: Tue, 19 May 2009 17:05:49 +0400
Message-ID: <E1M6P0v-0000d5-00.anarhoret-mail-ru@f146.mail.ru> (raw)
In-Reply-To: <4A129B10.4050502@ya.ru>

AShen пишет:
> Если под линуксом печатает, то настройте cups для печати по сети на
> этот принтер. Пример как это сделать я вам отправлял в личку.
> Ну и лишним не будет почитать вот это:
> http://www.opennet.ru/base/sys/cups_print.txt.html
> _______________________________________________
> Видимо пример до меня не дошел )
Попробуйте так, как советовали мне (и у меня все работало):
 Подключение linux-принтеров по сети при помощи Samba
Для этого на линукс-компьютере должен быть запущен сервис Samba:
chkconfig smb on
 service smb start
Все настройки samba-сервера осуществляются в файле `/etc/samba/smb.conf`. Чтобы после изменения настройки вступили в силу нужно выполнить команду `service smb reload`.
Дальше делаем примерно следующее, возможно первые два пункта не обязательны:
    * Меняем строчку `security = user` на `security = share`.
    * Добавляем где-нибудь в секции `[global]` строчки: 
guest account = ftp 
guest ok = yes
    * Раскоментируем в секции `[printers]` строчки: 
[printers]
 comment = All Printers
 path = /var/spool/samba
 browseable = yes 
guest ok = yes 
writable = no
 printable = yes
 create mode = 0700 
print command = lpr-cups -P %p %s # using cups own drivers (use generic PostScript on clients).
В этой секции строчка `print command = ...` должна быть только эта. Остальные должны быть закомментированы.
Эта строчка задает, что принтер будет показываться как Postscript принтер, и драйвер нужен будет к нему соответствующий (см. ниже).
    * Перезапускаем сервис Samba
После этого наш принтер должен быть виден снаружи для win-машин.
На win-машине скачиваем файл winsteng.exe 
Это драйвер для "стандартного" postscript-принтера, что нам и нужно. Запускаем, следуем указаниям мастера и печать должна заработать.
С уважением, Ищенко Геннадий


  reply	other threads:[~2009-05-19 13:05 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-18 16:18 scriptgame
2009-05-18 12:24 ` AShen
2009-05-18 16:34   ` scriptgame
2009-05-18 17:14   ` scriptgame
2009-05-18 14:39 ` Michael Shigorin
2009-05-18 15:54   ` Ilya V. Raskin
2009-05-18 17:30 ` Yura Kalinichenko
2009-05-18 20:26   ` Ilya Raskin
2009-05-19  9:34   ` scriptgame
2009-05-19  7:07     ` AShen
2009-05-19 11:42       ` scriptgame
2009-05-19 13:05         ` Геннадий Ищенко [this message]
2009-05-26 20:20 ` Michael Shigorin
2009-05-27  4:39   ` Aleksander Gorohovski
2009-05-27  9:27     ` free
2009-05-27  9:27   ` free
2009-05-27  6:31     ` Шишков Евгений
2009-05-28 10:35       ` Yura Kalinichenko
2009-05-28 10:43         ` Шишков Евгений
2009-05-28 12:31         ` Michael Shigorin
2009-05-29  6:02           ` drew
2009-05-28 15:14         ` free
2009-05-28 14:54           ` Yura Kalinichenko
2009-05-28 15:18       ` free
2009-05-29  4:41         ` Шишков Евгений
2009-05-29  9:17           ` free

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=E1M6P0v-0000d5-00.anarhoret-mail-ru@f146.mail.ru \
    --to=anarhoret@mail.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