From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <416823E6.5050702@altlinux.ru> Date: Sun, 10 Oct 2004 00:46:14 +0700 From: Michael Pozhidaev User-Agent: Mozilla/5.0 (X11; U; Linux i686; ru-RU; rv:1.7.2) Gecko/20040808 X-Accept-Language: ru-ru, ru MIME-Version: 1.0 To: community@altlinux.ru Subject: Re: [Comm] Hewlett Packard LaserJet 1000 References: <4162A2E8.2020202@altlinux.ru> <4162ECB5.5040608@post.skynet.lt> <4163D4F2.1010600@altlinux.ru> <4163FA89.8030402@post.skynet.lt> <41640E79.5040601@altlinux.ru> <41641630.6030307@post.skynet.lt> <41677869.8080509@altlinux.ru> <4167DDB5.6030803@post.skynet.lt> In-Reply-To: <4167DDB5.6030803@post.skynet.lt> X-Enigmail-Version: 0.85.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: multipart/mixed; boundary="------------050200040601040704060002" X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: community@altlinux.ru List-Id: Mailing list for ALT Linux users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Oct 2004 17:51:57 -0000 Archived-At: List-Archive: List-Post: This is a multi-part message in MIME format. --------------050200040601040704060002 Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit Александр пишет: > 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) --------------050200040601040704060002 Content-Type: text/plain; name="hotplug-stdout.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="hotplug-stdout.txt" [ -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 --------------050200040601040704060002 Content-Type: text/plain; name="install-stdout.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="install-stdout.txt" 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" --------------050200040601040704060002--