ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] cups vs lp_server
@ 2009-10-15  7:59 Eugene Prokopiev
  2009-10-15 15:07 ` Eugene Prokopiev
  2009-10-16  6:37 ` Stanislav Ievlev
  0 siblings, 2 replies; 8+ messages in thread
From: Eugene Prokopiev @ 2009-10-15  7:59 UTC (permalink / raw)
  To: Sisyphus

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

Не могу ничего напечатать из cups на принтер, подключенный к соседнему
хосту через lp_server. Последний запущен так:

# lp_server -d /dev/lp0 -D 1
lp_server pid [5315] port 9100 at Apr 21 22:11:17
lp_server pid [5315] socket 3 at Apr 21 22:11:17
lp_server pid [5315] waiting at Apr 21 22:11:17

При попытке печати из cups вижу:

lp_server pid [5315] conn 4 at Apr 21 22:11:24
lp_server pid [5315] dev 5 at Apr 21 22:11:24
lp_server pid [5315] read/write mode FD_SET at Apr 21 22:11:24
lp_server pid [5315] select returned 1 at Apr 21 22:11:24

Прямая печать (nc lp_host 9100 < /etc/hosts) работает нормально:

lp_server pid [5316] conn 4 at Apr 21 22:30:04
lp_server pid [5316] dev 5 at Apr 21 22:30:04
lp_server pid [5316] read/write mode FD_SET at Apr 21 22:30:04
lp_server pid [5316] select returned 2 at Apr 21 22:30:04
lp_server pid [5316] read 20 bytes from socket at Apr 21 22:30:04
lp_server pid [5316] wrote 20 bytes to device at Apr 21 22:30:04

Cups использовался как из Cизифа, так и из 4.1, конфиг примерно такой:

# cat /etc/cups/printers.conf
<DefaultPrinter p-119>
Info
Location
DeviceURI socket://192.168.46.119:9100
State Idle
StateTime 1255593451
Type 4
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>

-- 
С уважением,
Прокопьев Евгений


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-10-16  9:55 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-15  7:59 [sisyphus] cups vs lp_server Eugene Prokopiev
2009-10-15 15:07 ` Eugene Prokopiev
2009-10-15 15:11   ` Eugene Prokopiev
2009-10-16  6:34     ` Eugene Prokopiev
2009-10-16  6:36       ` Stanislav Ievlev
2009-10-16  9:55         ` Eugene Prokopiev
2009-10-16  6:37 ` Stanislav Ievlev
2009-10-16  9:54   ` Eugene Prokopiev

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