ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] HP LaserJet 1020
@ 2005-10-17 14:01 Aleksander N. Gorohovski
  2005-10-18 10:50 ` Aleksey Avdeev
  0 siblings, 1 reply; 6+ messages in thread
From: Aleksander N. Gorohovski @ 2005-10-17 14:01 UTC (permalink / raw)
  To: community

Доброго времени суток сообщество!

У кого-нибудь работает в М2.4 HP LaserJet 1020 на USB?

Какую модель выбирали (в списке оборудования HP нет его,
попробовал близкую к нему 1022 - не работает)
:-(
Спасибо.


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

* Re: [Comm] HP LaserJet 1020
  2005-10-17 14:01 [Comm] HP LaserJet 1020 Aleksander N. Gorohovski
@ 2005-10-18 10:50 ` Aleksey Avdeev
  2005-10-18 11:19   ` Andrey V Terteshnikov
  0 siblings, 1 reply; 6+ messages in thread
From: Aleksey Avdeev @ 2005-10-18 10:50 UTC (permalink / raw)
  To: ALT Linux Community

Aleksander N. Gorohovski пишет:
> Доброго времени суток сообщество!
> 
> У кого-нибудь работает в М2.4 HP LaserJet 1020 на USB?

   В своё время, экспириминтировал с USBным HP LaserJet 1010. Под 
Сизифом времён М2.4 -- он без проблем работал... (Но деталей -- не 
помню :-/)

PS: Если будет время на эксперименты (сейчас с D-Link`овским DSL-200 
v.B1, от Веб Пласа, воюю) -- могу посмотреть поддерживается ли этот 
зверь сейчас... (На несвежем Сизифе, не на Мастере.)

-- 

С уважением. Алексей.


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

* Re: [Comm] HP LaserJet 1020
  2005-10-18 10:50 ` Aleksey Avdeev
@ 2005-10-18 11:19   ` Andrey V Terteshnikov
  2005-10-19 11:29     ` Aleksander N. Gorohovski
  0 siblings, 1 reply; 6+ messages in thread
From: Andrey V Terteshnikov @ 2005-10-18 11:19 UTC (permalink / raw)
  To: ALT Linux Community

Если кто соберет рабочий вариант, чтоб работал под мастером 2.4 то с
меня пиво/соки
http://linuxprinting.org/show_printer.cgi?recnum=HP-LaserJet_1020

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

* Re: [Comm] HP LaserJet 1020
  2005-10-19 11:29     ` Aleksander N. Gorohovski
@ 2005-10-19 11:26       ` Gleb Kulikov
  2005-10-21 16:54         ` Aleksander N. Gorohovski
  0 siblings, 1 reply; 6+ messages in thread
From: Gleb Kulikov @ 2005-10-19 11:26 UTC (permalink / raw)
  To: ALT Linux Community

В сообщении от Среда 19 Октябрь 2005 18:29 Aleksander N. Gorohovski написал:
> device for hp1020: usb://HP/LaserJet%201020
> Отправляю тестовую страницу(ы) - А в ответ опять тишина

что в /var/log/cups ?

-- 
      Салют, /GLeb

UIN: 15341920
jabber://gleb@asd.iao.ru
skype://gleb_kulikov.tomsk
netmail: 2:5005/78


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

* Re: [Comm] HP LaserJet 1020
  2005-10-18 11:19   ` Andrey V Terteshnikov
@ 2005-10-19 11:29     ` Aleksander N. Gorohovski
  2005-10-19 11:26       ` Gleb Kulikov
  0 siblings, 1 reply; 6+ messages in thread
From: Aleksander N. Gorohovski @ 2005-10-19 11:29 UTC (permalink / raw)
  To: ALT Linux Community

On Tue, 18 Oct 2005 11:19:07 -0000, Andrey V Terteshnikov wrote:

> Если кто соберет рабочий вариант, чтоб работал под мастером 2.4 то с
> меня пиво/соки
> http://linuxprinting.org/show_printer.cgi?recnum=HP-LaserJet_1020
----------------------------------------
Большое спасибо за ссылку.

Вчера-сегодня попробовал таки настроить HP-LaserJet 1020 по приведенной  
прописи.
Докладываю результаты:
1.
скачал foo2zjs.tar.gz с
http://support.ideainformatica.com/hplj1020/foo2zjs.tar.gz?PHPSESSID=d3d7dcf4799a8937aa962ff05cb00e3c

2.
распаковал
tar xvfz foo2zjs.tar.gz

3.
перешел и выполнил
$ cd foo2zjs
$ make
(тут были некоторые предупреждения-ошибки)
-----------------------------------------------------------------------------
[aleksander@oc foo2zjs]$ make
cc -O2 -Wall   -c -o foo2zjs.o foo2zjs.c
foo2zjs.c: In function `start_page':

.....<skiped>

chmod -w oakdecode.1
groff -t -man foo2zjs-wrapper.1 foo2zjs.1 zjsdecode.1 foo2oak-wrapper.1  
foo2oak.1 oakdecode.1 | ps2pdf - manual.pdf
/bin/sh: line 1: ps2pdf: command not found
groff: can't find `DESC' file
groff:fatal error: invalid device `ps'
make: [manual.pdf] Ошибка 127 (игнорирована)
----------------------------------------------------------------------

4.
далее выполнил
$ su
# make install
# make install-hotplug
# ./usb_printerid /dev/usb/lp0
GET_DEVICE_ID string:
MFG:Hewlett-Packard;MDL:HP LaserJet 1020;CMD:ACL;CLS:PRINTER;DES:HP  
LaserJet 1020;FWVER:20041129;
(т.е. модель принтера та что требуется)

# /etc/hotplug/usb/hplj1020
В ответ получил, что всё корректно загружено
Принтер при этом  "смачно"  подхрюкнул.
:-)

5.
проверяю
# lpinfo -v

network socket
network http
network ipp
network lpd
direct parallel:/dev/lp0
direct scsi
direct usb://HP/LaserJet%201020
direct usb:/dev/usb/lp1
...<skipped>

# lpstat -v
device for hp1020: usb://HP/LaserJet%201020

6.
Далее в web-броузере, направляемся по http://localhost:631.
Добавляю принтер. В результате имеем:
------------------
HP LaserJet 1020 Foomatic/foo2zjs (recommended)		
  	Description:
	Location:
	Printer State: idle, accepting jobs.
	Device URI: usb://HP/LaserJet%201020
-------------------

7.
Отправляю тестовую страницу(ы) - А в ответ опять тишина
:-(
Смотрю здесь же список
hp1020-1 	Test Page 	root 	26k 	aborted 	  	
hp1020-2 	Test Page 	root 	26k 	aborted 	  	
hp1020-3 	Test Page 	 	26k 	aborted 	  	
hp1020-4 	Test Page 	 	26k 	aborted 	  	
hp1020-5 	Test Page 	root 	26k 	aborted

По
[root@oc foo2zjs]# lpq
hp1020 is ready
no entries
(Пусто)

Ничего не понимаю, где же прокол?

Может кто-нибудь знает еще заклинания какие?


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

* Re: [Comm] HP LaserJet 1020
  2005-10-19 11:26       ` Gleb Kulikov
@ 2005-10-21 16:54         ` Aleksander N. Gorohovski
  0 siblings, 0 replies; 6+ messages in thread
From: Aleksander N. Gorohovski @ 2005-10-21 16:54 UTC (permalink / raw)
  To: ALT Linux Community

On Wed, 19 Oct 2005 11:26:12 -0000, Gleb Kulikov wrote:

> В сообщении от Среда 19 Октябрь 2005 18:29 Aleksander N. Gorohovski  
> написал:
>> device for hp1020: usb://HP/LaserJet%201020
>> Отправляю тестовую страницу(ы) - А в ответ опять тишина
>
> что в /var/log/cups ?

В обычном режиме Loga = normal - ничего такого особенного
А вот в режиме debug насторожили следующие строки:
----------------------------------
D [21/Oct/2005:16:23:59 +0000] [Job 3] renderer command: foo2zjs-wrapper  
-P  -r600x600 -p9 -s7 -m1 -2 -d1 -n1  -I0
D [21/Oct/2005:16:23:59 +0000] [Job 3] /usr/bin/foo2zjs-wrapper: line 121:  
psnup: command not found
D [21/Oct/2005:16:23:59 +0000] [Job 3]
D [21/Oct/2005:16:23:59 +0000] [Job 3] Closing renderer
D [21/Oct/2005:16:23:59 +0000] [Job 3] tr: чХьязп впъьАь: Broken pipe
D [21/Oct/2005:16:23:59 +0000] [Job 3] ESP Ghostscript 7.07.1:  
Unrecoverable error, exit code 1
D [21/Oct/2005:16:23:59 +0000] [Job 3] Not a pbm file!
D [21/Oct/2005:16:23:59 +0000] [Job 3] tail process done writing data to  
STDOUT
----------------------------------

И не могу найти в каком пакете должен быть psnup?

Может кто знает, подскажет



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

end of thread, other threads:[~2005-10-21 16:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-17 14:01 [Comm] HP LaserJet 1020 Aleksander N. Gorohovski
2005-10-18 10:50 ` Aleksey Avdeev
2005-10-18 11:19   ` Andrey V Terteshnikov
2005-10-19 11:29     ` Aleksander N. Gorohovski
2005-10-19 11:26       ` Gleb Kulikov
2005-10-21 16:54         ` Aleksander N. Gorohovski

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