foo2zjs icon indicating copy to clipboard operation
foo2zjs copied to clipboard

getweb error

Open peypi0 opened this issue 3 years ago • 1 comments

Hello OS: Debian 11 getweb is not working for me:

$ bash -x ./getweb 300
+ VERSION='$Id: getweb.in,v 1.114 2015/02/12 00:22:02 rick Exp $'
+ WGETOPTS='--passive-ftp -q'
+ PROGNAME=./getweb
++ uname -s
+ SYSTEM=Linux
++ type wget
+ WGET='wget is /usr/bin/wget'
+ '[' Linux = Darwin -a 'wget is /usr/bin/wget' = '' ']'
+ '[' 1 = 0 ']'
+ for i in $*
+ case "$1" in
+ getone 300
+ case "$1" in
+ gettgz
+ url=
+ file=
+ what=
+ wget --passive-ftp -q -O /
wget: missing URL
Usage: wget [OPTION]... [URL]...

Try `wget --help' for more options.
+ error 'Couldn'\''t download /'
++ basename ./getweb
+ echo 'getweb: Couldn'\''t download /'
getweb: Couldn't download /
+ exit 1

You should change the line of comment URL with the new line: For example change this:

                # http://foo2zjs.rkkda.com/icm dl2300.tar.gz \
                https://www.quirinux.org/printers dl2300.tar.gz \

to this one:

                https://www.quirinux.org/printers dl2300.tar.gz \
                # http://foo2zjs.rkkda.com/icm dl2300.tar.gz \

peypi0 avatar Feb 03 '22 03:02 peypi0

Just read somewhere ( did not test it, just try):

By using GitHub repository as a source, just run following:

git clone https://github.com/koenkooi/foo2zjs.git cd foo2zjs follow instructions in file INSTALL

Also, since source code from github already contains all firmware images, there is no need to run

./getweb 1018 # or some other printer


JohnML1 avatar Apr 10 '22 15:04 JohnML1