ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Maxim.Savrilov@socenter.ru
To: sisyphus@altlinux.ru
Subject: [sisyphus] Printing from samba on cups server to cups client
Date: Mon, 1 Dec 2003 15:25:23 +0600
Message-ID: <20031201152523.000e8461.Maxim.Savrilov@socenter.ru> (raw)

[-- Attachment #1: Type: text/plain, Size: 1758 bytes --]

Здравствуйте!

Есть тонкий клиент, на котором я поставил принтер и успешно поднял cups
чтобы не гонять на клиенте самбу, решил реализовать такую схему печати
Самба на сервере -> cups на сервере -> cups на клиенте

По задумке, виндовые клиенты печатают на сервер, указывая принтер с
"говорящим" именем
на клиенте cups поднят, успешно печатает тестовую страницу
в опциях указано
BrowseAddress 192.168.0.255

на сервере cups поднят и видит склиентский принтер как
HP@sklad_3a  	HP LaserJet Series CUPS v1.1 on sklad_3a  	
		Description: No Information Available
Location: Location Unknown
Printer State: idle, accepting jobs.

и успешно печатает тестовую страницу

в samba, которая держит домен
настройки печати такие

printcap name = lpstat
load printers = yes
printing = cups
printer admin = admin


[printers]
   comment = All Printers
   path = /var/spool/samba
   browseable = no
# to allow user 'guest account' to print.
   guest ok = yes
   writable = no
   printable = yes
   create mode = 0700

   print command = lpr-cups -P %p -o raw %s -r   # using client side printer drivers.
[print$]
   path = /var/lib/samba/printers
   browseable = yes
   read only = yes
   write list = @adm root

и принтера не видно
он есть в /etc/printcap
но его нет в списке принтеров компьютера

в логах при уровне 7 ругань на то, что не можнт открыть /etc/printstat

вот только что посмотрел на самбе с чистого мастера, 2.2.8 вроде - там принтер появился в
cups и в самбе, его видно в списке принтеров в виндовой сети как HP@sklad_3a

на моей же 3.0.46 от Shrek какие-то проблемы с этим, выходит?

Скажу спасибо за любые высказанные соображения!


-- 
Некоторые пожилые граждане бывают опасны для нападающих.

[-- Attachment #2: Type: application/pgp-signature, Size: 307 bytes --]

             reply	other threads:[~2003-12-01  9:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-01  9:25 Maxim.Savrilov [this message]
2003-12-01  9:31 ` Maxim.Savrilov
2003-12-01  9:36   ` Maxim.Savrilov
2003-12-01  9:45     ` Stanislav Ievlev
2003-12-01 10:12       ` Nick Fedchik
2003-12-02 10:42         ` Stanislav Ievlev
2003-12-02 11:49           ` Nick Fedchik
2003-12-02 13:02             ` Stanislav Ievlev

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=20031201152523.000e8461.Maxim.Savrilov@socenter.ru \
    --to=maxim.savrilov@socenter.ru \
    --cc=sisyphus@altlinux.ru \
    /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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git