HP Color LaserJet 2600n :  foo2zjs - foo2hp - foo2xqx - foo2lava - foo2qpdl - foo2oak
Support for linux printer drivers
The fastest message board... ever.
 
two errors in 2600n installation [debian 5; solved]
Posted by: roberto ()
Date: December 07, 2009 12:23PM

hello, i try to install HP LJ 2600n on a Debian 5.0;
i follow stricly the procedure in INSTALL file and everything is correct until i try to issue the command

# make install

inside the foo2zjs directory;
then the installation exit with error code 1, reporting:

/bin/sh: line 18: cd: PPD: No such file or directory
/bin/sh: line 20: *.ppd: No such file or directory
make: *** [install-ppd] Error 1

moreover, the foo2zjs is *totally* erased, it does not exist anymore;
thank you in advance for any help



Edited 2 time(s). Last edit at 12/19/2009 07:51AM by rickrich.

Options: ReplyQuote
Re: two errors in 2600n installation [debian 5]
Posted by: rickrich ()
Date: December 07, 2009 01:21PM

Works good here on Fedora 12...
$ cd /tmp
$ wget -O foo2zjs.tar.gz http://foo2zjs.rkkda.com/foo2zjs.tar.gx
--2009-12-07 12:08:56--  http://foo2zjs.rkkda.com/foo2zjs.tar.gx
Resolving foo2zjs.rkkda.com... 74.208.41.246
Connecting to foo2zjs.rkkda.com|74.208.41.246|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://foo2zjs.rkkda.com/foo2zjs.tar.gz [following]
--2009-12-07 12:09:02--  http://foo2zjs.rkkda.com/foo2zjs.tar.gz
Connecting to foo2zjs.rkkda.com|74.208.41.246|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1588039 (1.5M) [application/x-tar]
Saving to: “foo2zjs.tar.gz”

100%[======================================>] 1,588,039   1.20M/s   in 1.3s    

2009-12-07 12:09:03 (1.20 MB/s) - “foo2zjs.tar.gz” saved [1588039/1588039]

$ ll foo2zjs.tar.gz
-rw-rw-r-- 1 rick rick 1588039 2009-12-03 17:15 foo2zjs.tar.gz

$ tar zxf foo2zjs.tar.gz
$ cd foo2zjs
$ make
#
# Dependencies...
#
# ... OK!
#
cc -O2 -Wall   -c -o foo2zjs.o foo2zjs.c
...snip...
chmod -w printer-profile.1
groff -t -man foo2zjs-wrapper.1 foo2zjs.1 zjsdecode.1 foo2oak-wrapper.1 foo2oak.1 oakdecode.1 foo2hp2600-wrapper.1 foo2hp.1 foo2xqx-wrapper.1 foo2xqx.1 xqxdecode.1 foo2lava-wrapper.1 foo2lava.1 lavadecode.1 opldecode.1 foo2qpdl-wrapper.1 foo2qpdl.1 qpdldecode.1 foo2slx-wrapper.1 foo2slx.1 slxdecode.1 foo2hiperc-wrapper.1 foo2hiperc.1 hipercdecode.1 foo2zjs-pstops.1 arm2hpdl.1 usb_printerid.1 printer-profile.1 | ps2pdf - manual.pdf

It is possible that certain products which can be built using this
software module might form inventions protected by patent rights in
some countries (e.g., by patents about arithmetic coding algorithms
owned by IBM and AT&T in the USA). Provision of this software by the
author does NOT include any licences for any patents. In those
countries where a patent licence is required for certain applications
of this software module, you will have to obtain such a licence
yourself.

$ ./getweb 2600n 
hpclj2600n-0.icm
hpclj2600n-1.icm
km2430_2.icm

(c) Copyright Hewlett-Packard 2003


(c) Copyright Rick Richardson 2006.  All Rights Reserved

hp1215-argyll-0.icm

(c) Copyright Rick Richardson 2008.  All Rights Reserved

$ su
Password: 
[root@dual foo2zjs]# make install
...snip...
#
# Install PPD files for CUPS
#
if [ -x /usr/sbin/ppdmgr -a -s /var/lp/ppd/ppdcache ]; then \
            install -glp -d /var/lp/ppd/user; \
            cd PPD; \
            for ppd in *.ppd; do \
                manuf=`echo "$ppd" | sed 's/-.*//'`; \
                install -glp -d /var/lp/ppd/user/$manuf; \
                gzip < $ppd > /var/lp/ppd/user/$manuf/$ppd.gz; \
            done; \
            ppdmgr -u; \
        elif [ -d /usr/share/ppd ]; then \
            find /usr/share/ppd -name '*foo2zjs*' | xargs rm -rf; \
            find /usr/share/ppd -name '*foo2hp*' | xargs rm -rf; \
            find /usr/share/ppd -name '*foo2xqx*' | xargs rm -rf; \
            find /usr/share/ppd -name '*foo2lava*' | xargs rm -rf; \
            find /usr/share/ppd -name '*foo2qpdl*' | xargs rm -rf; \
            find /usr/share/ppd -name '*foo2slx*' | xargs rm -rf; \
            find /usr/share/ppd -name '*foo2hiperc*' | xargs rm -rf; \
            [ -d /usr/share/ppd/foo2zjs ] || mkdir /usr/share/ppd/foo2zjs; \
            cd PPD; \
            for ppd in *.ppd; do \
                gzip < $ppd > /usr/share/ppd/foo2zjs/$ppd.gz; \
            done; \
        fi
if [ -d /usr/share/cups/model ]; then \
            rm -f /usr/share/cups/model/KonicaMinolta*; \
            cd PPD; \
            for ppd in *.ppd; do \
                gzip < $ppd > /usr/share/cups/model/$ppd.gz; \
            done; \
        elif [ -d /usr/local/share/cups/model ]; then \
            rm -f /usr/local/share/cups/model/KonicaMinolta*; \
            cd PPD; \
            for ppd in *.ppd; do \
                gzip < $ppd > /usr/local/share/cups/model/$ppd.gz; \
            done; \
        fi
...snip...
# 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-5, run "printconf-gui".
# On Fedora Core 6 and Fedora 7/8/9/10/11, run "system-config-printer".
# On Mandrake, run "printerdrake"
# On Suse 9.x/10.x/11.x, run "yast"
# On Ubuntu 5.10/6.06/6.10/7.04, run "gnome-cups-manager"
# On Ubuntu 7.10/8.x/9.x, run "system-config-printer".
[root@dual foo2zjs]# 

Options: ReplyQuote
Re: two errors in 2600n installation [debian 5]
Posted by: roberto ()
Date: December 07, 2009 05:19PM

ok but is there any specific directory where the .tar.gz is to be downloaded and decompressed ?

i wonder if my error regards also the cwd

Options: ReplyQuote
Re: two errors in 2600n installation [debian 5]
Posted by: rickrich ()
Date: December 07, 2009 06:00PM

No. Put it in $HOME (e.g. /home/rick), /tmp, etc.

Options: ReplyQuote
Re: two errors in 2600n installation [debian 5]
Posted by: roberto ()
Date: December 19, 2009 07:08AM

great, it works now !

thank you

Options: ReplyQuote


Sorry, only registered users may post in this forum.
This forum powered by Phorum.