ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] cups - remote printer
@ 2005-06-09 11:34 Kylik Semen
  2005-06-10 13:21 ` Kylik Semen
  0 siblings, 1 reply; 3+ messages in thread
From: Kylik Semen @ 2005-06-09 11:34 UTC (permalink / raw)
  To: community

Доброго дня.

ALTMaster 2.4 + updates

Настраиваю печать с Мастера на Мастер.

Установил принтер

cat ./printers.conf
# Printer configuration file for CUPS v1.1.20
# Written by cupsd on Thu Jun  9 10:14:22 2005
<DefaultPrinter hplj1300>
Info HP LaserJet 1300
Location on DRD-02
DeviceURI ipp://drd-02.drd.by/ipp/hplj1300
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>


При печати в /var/log/squid/error_log

Connecting to drd-02.drd.by on port 631...
Connected to drd-02.drd.by...
Getting supported attributes...
Destination printer does not exist!
 


На машине с принтером соответственно

в /var/log/squid/error_log

get_printer_attrs: resource name '/ipp/hplj1300' no good!
send_ipp_error(0x3ff008[5], 406)
Sending error: client-error-not-found
ProcessIPPRequest: process user tasks only
ProcessIPPRequest: 5 status_code=406
ProcessIPPRequest: Adding fd 5 to OutputSet...
WriteClient: Removing fd 5 from OutputSet...
ReadClient() 5, used=0
CloseClient() 5
CloseClient: Removing fd 5 from InputSet and OutputSet...

в /var/log/squid/access_log

192.168.136.145 - - [09/Jun/2005:14:08:34 +0300] "POST /ipp/hplj1300
HTTP/1.1" 200 291
192.168.136.145 - - [09/Jun/2005:14:10:21 +0300] "POST /ipp/hplj1300
HTTP/1.1" 200 291

Вот этот _no_good_?
Google не просветил (вопросов много, но ответа не нашел :-( )
Куда смотреть (бежать) и что еще крутить?


-- 
С уважением, Семен.




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

* Re: [Comm] cups - remote printer
  2005-06-09 11:34 [Comm] cups - remote printer Kylik Semen
@ 2005-06-10 13:21 ` Kylik Semen
  2005-06-14  4:09   ` Mike Lykov
  0 siblings, 1 reply; 3+ messages in thread
From: Kylik Semen @ 2005-06-10 13:21 UTC (permalink / raw)
  To: community

В Чтв, 09/06/2005 в 14:34 +0300, Kylik Semen пишет:

Все банально и просто аказалось

> ALTMaster 2.4 + updates
> 
> Настраиваю печать с Мастера на Мастер.
> 
> Установил принтер
> 
> cat ./printers.conf
> # Printer configuration file for CUPS v1.1.20
> # Written by cupsd on Thu Jun  9 10:14:22 2005
> <DefaultPrinter hplj1300>
> Info HP LaserJet 1300
> Location on DRD-02
> DeviceURI ipp://drd-02.drd.by/ipp/hplj1300

Правильно так:

DeviceURI ipp://drd-02.drd.by/printers/hplj1300
                              ^^^^^^^^


Но на http://localhost:631/admin

в Examples рекомендуется: 

    file:/path/to/filename.prn
    http://hostname:631/ipp/
    http://hostname:631/ipp/port1
    ipp://hostname/ipp/
    ipp://hostname/ipp/port1
    lpd://hostname/queue
    socket://hostname
    socket://hostname:9100
	
-- 
С уважением, Семен.



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

* Re: [Comm] cups - remote printer
  2005-06-10 13:21 ` Kylik Semen
@ 2005-06-14  4:09   ` Mike Lykov
  0 siblings, 0 replies; 3+ messages in thread
From: Mike Lykov @ 2005-06-14  4:09 UTC (permalink / raw)
  To: community

В сообщении от Пятница 10 Июнь 2005 18:21 Kylik Semen написал:
> > DeviceURI ipp://drd-02.drd.by/ipp/hplj1300
> Правильно так:
> DeviceURI ipp://drd-02.drd.by/printers/hplj1300
> Но на http://localhost:631/admin
> в Examples рекомендуется:
>     file:/path/to/filename.prn
>     http://hostname:631/ipp/

а вы - багу на cups!

-- 
Mike Lykov
Samara, "Vesna" parfum company, System administrator 


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

end of thread, other threads:[~2005-06-14  4:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-09 11:34 [Comm] cups - remote printer Kylik Semen
2005-06-10 13:21 ` Kylik Semen
2005-06-14  4:09   ` Mike Lykov

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