ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Michael Pozhidaev <msp@altlinux.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Hewlett Packard LaserJet 1000
Date: Sun, 10 Oct 2004 00:46:14 +0700
Message-ID: <416823E6.5050702@altlinux.ru> (raw)
In-Reply-To: <4167DDB5.6030803@post.skynet.lt>

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

Александр пишет:

> Michael Pozhidaev пишет:
> > Здравствуйте, Александр!
> > Спасибо за Ваши пояснения. Я хожу в Интернет через модем, причём 
> телефонная линия у нас плохая.   ./getweb 1000 у меня не проходит. 
> Начинаются большое количество переподключений к серверу, и на этом всё 
> останавливается. Соответственно, make install-hotplug не работает. 
> Надо разбираться, как настроить hotplug вручную.
> Это не проблема. :-) Итак ...
> Пожалуйста, ответьте по пунктам.
> $ wget http://foo2zjs.rkkda.com/foo2zjs.tar.gz
> Завершилось без ошибок?

Да, без ошибок.

> $ tar zxf foo2zjs.tar.gz
> $ cd foo2zjs
> $ make
> Завершилось без ошибок?

Завершилось без ошибок.

> Вместо команды $ ./getweb 1000 # Get HP LJ1000 firmware file
> сохраните, пожалуйста, файл sihp1000.img ,который я отправил Вам 
> отдельным письмом в текущую  директорию (т.е. foo2zjs )

Сохранил.

> $ su  (Вы не забыли выполнить эту команду?)

Не забыл!

> # make install   (весь вывод этой команды пришлите,  пожалуйста, мне)
> # make install-hotplug  (весь вывод этой команды пришлите,  
> пожалуйста, мне)

Всё прошло нормально. Прикладываю выводы на stdout. На stderr ничего не 
было.
Огромное спасибо. Сейчас всё работает как нельзя лучше. Прошивка сама 
загружается, и принтер печатает.

-- 
Best wishes. Michael Pozhidaev. E-mail: msp@altlinux.ru.
Tomsk state university.
Computer science department. (http://www.inf.tsu.ru)


[-- Attachment #2: hotplug-stdout.txt --]
[-- Type: text/plain, Size: 251 bytes --]

[ -d /etc/hotplug/usb ] || install -d -m 755 /etc/hotplug/usb/
install -c -m 755 hplj1000 /etc/hotplug/usb/
ln -sf /etc/hotplug/usb/hplj1000 /etc/hotplug/usb/hplj1005
/etc/hotplug/usb/hplj1000 install-usermap
/etc/hotplug/usb/hplj1005 install-usermap

[-- Attachment #3: install-stdout.txt --]
[-- Type: text/plain, Size: 4851 bytes --]

cd icc2ps; make all
make[1]: Entering directory `/home/msp/private/works/foo/foo2zjs/icc2ps'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/msp/private/works/foo/foo2zjs/icc2ps'
#
# Install driver, wrapper, and development tools
#
install -c foo2zjs zjsdecode jbg2pbm arm2hpdl usb_printerid foo2oak oakdecode foo2zjs-wrapper foo2oak-wrapper /usr/bin/
#
# Install gamma correction files.  These are just templates,
# and don't actually do anything right now.  If anybody wants
# to tune them or point me at a process for doing that, please...
#
install -d /usr/share/foo2zjs/
install -c -m 644 gamma.ps /usr/share/foo2zjs/
install -c -m 644 gamma-lookup.ps /usr/share/foo2zjs/
install -d /usr/share/foo2oak/
#
# Install ICM to Postscript file conversion utility
#
cd icc2ps; make PREFIX=/usr install
make[1]: Entering directory `/home/msp/private/works/foo/foo2zjs/icc2ps'
install -c foo2zjs-icc2ps /usr/bin
make[1]: Leaving directory `/home/msp/private/works/foo/foo2zjs/icc2ps'
#
# Install extra files (ICM and firmware), if any exist here.
#
# Get files from the printer manufacturer, i.e. www.minolta-qms.com,
# or use the "./getweb" convenience script.
#
install -d /usr/share/foo2zjs/
# foo2zjs ICM files (if any)
install -olp -glp -m 775 -d /usr/share/foo2zjs/icm/
for i in DL*.icm CP*.icm; do \
    if [ -f $i ]; then \
	install -c -m 644 $i /usr/share/foo2zjs/icm/; \
    fi; \
done
# foo2zjs Firmware files (if any)
install -olp -glp -m 775 -d /usr/share/foo2zjs/firmware/
for i in sihp*.img; do \
    if [ -f $i ]; then \
	base=`basename $i .img`; \
	./arm2hpdl $i >$base.dl; \
	install -c -m 644 $base.dl /usr/share/foo2zjs/firmware/; \
    fi; \
done
# foo2oak ICM files (if any)
install -olp -glp -m 775 -d /usr/share/foo2oak/icm/
#
# Install prebuilt CRD files (from m2300w project)
#
install -d /usr/share/foo2zjs/
install -olp -glp -m 775 -d /usr/share/foo2zjs/crd/
for i in crd/*.*; do \
    install -c -m 644 $i /usr/share/foo2zjs/crd/; \
done
#
# Remove obsolete foomatic database files from previous versions
#
rm -f /usr/share/foomatic/db/source/opt/foo2zjs-Media.xml
rm -f /usr/share/foomatic/db/source/opt/foo2zjs-PaperSize.xml
rm -f /usr/share/foomatic/db/source/opt/foo2zjs-Source.xml
rm -f /usr/share/foomatic/db/source/opt/foo2zjs-DitherPPI.xml
#
# Install current database files
#
install -m 644 foomatic-db/driver/foo2oak.xml foomatic-db/driver/foo2zjs.xml /usr/share/foomatic/db/source/driver/
install -m 644 foomatic-db/printer/Generic-OAKT_Printer.xml foomatic-db/printer/Generic-ZjStream_Printer.xml foomatic-db/printer/HP-Color_LaserJet_1500.xml foomatic-db/printer/HP-LaserJet_1000.xml foomatic-db/printer/HP-LaserJet_1005.xml foomatic-db/printer/Minolta-Color_PageWorks_Pro_L.xml foomatic-db/printer/Minolta-magicolor_2200_DL.xml foomatic-db/printer/Minolta-magicolor_2300_DL.xml /usr/share/foomatic/db/source/printer/
install -m 644 foomatic-db/opt/foo2oak-BitsPerPlane.xml foomatic-db/opt/foo2oak-ColorMode.xml foomatic-db/opt/foo2oak-ICM.xml foomatic-db/opt/foo2oak-InputSlot.xml foomatic-db/opt/foo2oak-MediaType.xml foomatic-db/opt/foo2zjs-ColorMode.xml foomatic-db/opt/foo2zjs-Copies.xml foomatic-db/opt/foo2zjs-Duplex.xml foomatic-db/opt/foo2zjs-ICM.xml foomatic-db/opt/foo2zjs-InputSlot.xml foomatic-db/opt/foo2zjs-Intent.xml foomatic-db/opt/foo2zjs-MediaType.xml foomatic-db/opt/foo2zjs-Nup.xml foomatic-db/opt/foo2zjs-PageSize.xml foomatic-db/opt/foo2zjs-PrinterType.xml foomatic-db/opt/foo2zjs-Resolution.xml /usr/share/foomatic/db/source/opt/
#
# Clear foomatic cache and rebuild database if needed
#
rm -rf /var/cache/foomatic/*/*
if [ -d /var/cache/foomatic/compiled ]; then \
    cd /var/cache/foomatic/compiled; \
    foomatic-combo-xml -O >overview.xml; \
fi
#
# Install PPD files for CUPS
#
if [ -d /usr/share/cups/model ]; then \
    cd PPD; \
    for ppd in *.ppd; do \
	gzip < $ppd > /usr/share/cups/model/$ppd.gz; \
    done; \
fi
#
# Install manual pages
#
install -d -m 755 /usr/share/man
install -d -m 755 /usr/share/man/man1/
install -c -m 644 foo2zjs.1 /usr/share/man/man1/
install -c -m 644 foo2zjs-wrapper.1 /usr/share/man/man1/
install -c -m 644 zjsdecode.1 /usr/share/man/man1/
install -c -m 644 foo2oak.1 /usr/share/man/man1/
install -c -m 644 foo2oak-wrapper.1 /usr/share/man/man1/
install -c -m 644 oakdecode.1 /usr/share/man/man1/
#
# Install documentation
#
install -d -m 755 /usr/share/doc/foo2zjs/
install -c -m 644 COPYING /usr/share/doc/foo2zjs/
install -c -m 644 INSTALL /usr/share/doc/foo2zjs/
install -c -m 644 INSTALL.osx /usr/share/doc/foo2zjs/
install -c -m 644 README /usr/share/doc/foo2zjs/
install -c -m 644 ChangeLog /usr/share/doc/foo2zjs/
#
# Now use your printer configuration GUI to create a new printer.
#
# On Redhat 7.2/7.3/8.0/9.0 and Fedora Core 1, run "printconf-gui".
# On Mandrake, run "printerdrake"
# On Suse 9.0, run "yast"

  reply	other threads:[~2004-10-09 17:46 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-05 13:34 Michael Pozhidaev
2004-10-05 18:49 ` Александр
2004-10-06 11:20   ` Michael Pozhidaev
2004-10-06 14:00     ` Александр
2004-10-06 15:25       ` Michael Pozhidaev
2004-10-06 15:58         ` Александр
2004-10-09  5:34           ` Michael Pozhidaev
2004-10-09 12:46             ` Александр
2004-10-09 17:46               ` Michael Pozhidaev [this message]
2004-10-09 19:56                 ` Александр
2004-10-10 11:51                   ` Michael Pozhidaev

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=416823E6.5050702@altlinux.ru \
    --to=msp@altlinux.ru \
    --cc=community@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 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