ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] xinetd
@ 2008-04-01  5:10 Van Petrov
  2008-04-01  5:34 ` Хихин Руслан
  2008-04-01  5:36 ` Serge
  0 siblings, 2 replies; 10+ messages in thread
From: Van Petrov @ 2008-04-01  5:10 UTC (permalink / raw)
  To: community


Мне тут в фидохе посоветовали запустить принтер по сети черезх RAW
(на Линуксе поставить raw принтер, а на винде настравивать печать):
--------------------------------------------------------------------
1. Зайти в веб-морду cups (http://localhost:631) и там создать 
raw-принтер на нужном USB или LPT порту. В случае с усб он может 
упираться и пытаться создать принтер определившейся модели, в этом 
случае надо с ним временно согласиться, а потом жмякнуть "modify 
printer" и поменять на Raw.
2. Если не установлен, ставим inetd (в убунте например, его по дефолту 
нет, в дебиане - есть).
3. В /etc/services добавляем строчку
jetdirect   9100/tcp    9100    # printer
4. В /etc/inetd.conf добавляем строчку
9100 stream tcp nowait lp /usr/bin/lp lp -d PRINTERNAME -o raw
Вместо PRINTERNAME само собой надо вписать имя raw-принтера заданное в п.1
5. Перезапускаем inetd.
6. Тестируем "telnet localhost 9100". Если появляется что-то типа:
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
--------------------------------------------------------------------------

Но в Альте нету inetd а есть xinetd
Как в этом случае запустить печать?
А то
$ telnet localhost 9100
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused


Heeelpp!
:-(



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

end of thread, other threads:[~2008-04-02  9:20 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-01  5:10 [Comm] xinetd Van Petrov
2008-04-01  5:34 ` Хихин Руслан
2008-04-01  8:36   ` Van Petrov
2008-04-01 19:09     ` Хихин Руслан
2008-04-01 23:30       ` Van Petrov
2008-04-02  5:53         ` Алексей Шенцев
2008-04-01  5:36 ` Serge
2008-04-01  8:00   ` Sergey
2008-04-02  9:15     ` Serge
2008-04-02  9:20     ` [Comm] *SOLVED* xinetd 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