Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: How to install HP_LaserJet_1020 Printer in Knoppix?

  1. #1
    Junior Member
    Join Date
    Jul 2013
    Posts
    9

    How to install HP_LaserJet_1020 Printer in Knoppix?

    Hallo,
    I have the above mentioned printer I used to use in Win2000 and Debian Lenny. After my machine crashed I've got another one (second hand) and I've installed Knoppix 7.0 to HD everything is OK I can do a lot of things but printing is impossible!!!
    At the very moment I have the Printer which is "seen" at the system as
    HP_LaserJet_1020_USB_FN2J3XV_HPLIP HP LaserJet 1020 Local Printer HP LaserJet 1020 Foomatic/foo2zjs (recommended) Idle
    and nothing more happens. No single word is printed however "Jobs" are "sent to printer" and they are "finished".

    I've searched FAQ at knoppix forum with keywords "Installing HP LaserJet 1020" and the answer was "Sorry - no matches. Please try some different terms."

    I've tried to Install the printer in very different ways and the last attempt was as INSTALL file in "foo2zjs" driver I've downloaded from foo2zjs.rkkda.com/foo2zjs.tar.gz says,
    there are procedures for different distros and I took "Debian Notes" as one most alike to Knoppix


    DEBIAN NOTES
    ------------
    Install build-essential, tix, foomatic-filters, groff, cupsys, dc FIRST:
    $ su
    # apt-get install build-essential tix foomatic-filters groff dc
    # apt-get install cups # For all others
    OR
    # apt-get install cupsys # For lenny and earlier

    $ wget -O foo2zjs.tar.gz http://foo2zjs.rkkda.com/foo2zjs.tar.gz
    $ tar zxf foo2zjs.tar.gz
    $ cd foo2zjs
    $ make
    $ ./getweb 1020
    OR other printer
    $ su
    # make install install-hotplug cups

    $ firefox http://localhost:631

    I have tried to follow above mentioned procedure and


    Code:
    knoppix@Microknoppix:~$ su
    root@Microknoppix:/home/knoppix# apt-get install build-essential tix foomatic-filters groff dc
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Package tix is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    
    E: Package 'tix' has no installation candidate
    E: Unable to locate package dc
    root@Microknoppix:/home/knoppix#

    so there is no "dc package" in my system and without it the procedure from foo2zjs will not work.

    I must admit that searching Knoppix forum gives no result: "The following words "dc" are either very common, too long, or too short and were not included in your search:"
    and searching "dc packages" gave no usable results for it search for "Keyword(s): Package"

    So can anyone say whether it is possible to use HP Laser Jet 1020 with Knoppix 7.0 and if YES please specify the procedure how to get it. Or I should buy another printer

    Every Help is Appreciated

  2. #2
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    I would follow to manufacturer website
    http://hplipopensource.com/hplip-web/index.html
    Last edited by Werner P. Schulz; 07-09-2013 at 07:57 AM.

  3. #3
    Junior Member
    Join Date
    Jul 2013
    Posts
    9
    Thank you Werner ,
    I've checked it before posting on forum.
    The problem is Knoppix is not at the list of supported distros. I've took Debian 7 and the answer was:
    You have selected Debian 7.0 using the HP LaserJet 1020 Printer.
    Debian 7.0 supplies HPLIP 3.12.6 and it does support your printer.
    As the version of HPLIP supplied with your operating system supports your printer, you may continue to use that version of HPLIP.

    You may now optionally download the latest version of HPLIP to get access to new features and bug fixes.
    I decided to reinstal HPLIP (or install it again) and after downloading the
    hplip-3.13.6.run
    file I start the install procedure and
    error: debian-testing version is not supported, so all dependencies may not be installed. However trying to install using debian-7.0 version packages.
    anyhow I've tried to continue automatic installation
    Code:
    Warning: There are 4 missing REQUIRED dependencies.
    note: Installation of dependencies requires an active internet connection.
    warning: Missing REQUIRED dependency: python-devel (Python devel - Python development files)
    warning: Missing REQUIRED dependency: libusb (libusb - USB library)
    warning: Missing REQUIRED dependency: cups-image (CUPS image - CUPS image development files)
    warning: Missing REQUIRED dependency: libjpeg (libjpeg - JPEG library)
    
    
    INSTALL MISSING OPTIONAL DEPENDENCIES
    -------------------------------------
    warning: There are 3 missing OPTIONAL dependencies.
    note: Installation of dependencies requires an active internet connection.
    warning: Missing REQUIRED dependency for option 'network': libnetsnmp-devel (libnetsnmp-devel - SNMP networking library development files)
    warning: Missing REQUIRED dependency for option 'fax': dbus (DBus - Message bus system)
    warning: Missing REQUIRED dependency for option 'scan': sane-devel (SANE - Scanning library development files)
    for my internet connection is rather slow (I use GSM network) so it takes some time to install what is needed.
    and at the end I've got :

    Code:
    RUNNING PRE-PACKAGE COMMANDS
    ----------------------------
    su -c "dpkg --configure -a" (Pre-depend step 1)
    su -c "apt-get install -f" (Pre-depend step 2)
    su -c "apt-get update" (Pre-depend step 3)
    warning: An error occurred running 'su -c "apt-get install --yes cupsys-bsd"'
    su -c "apt-get install --yes cupsys-bsd" (Pre-depend step 4)
    OK
    
    DEPENDENCY AND CONFLICT RESOLUTION
    ----------------------------------
    Running 'su -c "apt-get install --force-yes -y python-dev"'
    Please wait, this may take several minutes...
    
    error: Aborted.
    I tried another time and
    the installation note was:
    "NOTE: Disable the CD Sources in your apt sources.list or the install will fail and hang."
    this is why I've failed the first time.

    And sorry for my ignorance but I don't know how to disable CD Source in apt , I'm not very familiar with console .

    Anyhow I suspect that the message
    There are 4 missing REQUIRED dependencies.
    explains why I can not to force my printer to work in Knoppix.

    Speaking frankly now I'm lost. I have no idea what to do now
    I hoped to get some "how to" for there must be someone for whom this printer works
    thanks in advance for any suggestions

  4. #4
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    Knoppix 7.0 is an old version and isn't like Debian 7, it's more like Debian 6. But Knoppix is not Debian

    Try: select Debian 6.0 using the HP LaserJet 1020 Printer

    Alternative use the new version of Knoppix: 7.2.0

  5. #5
    Junior Member
    Join Date
    Jul 2013
    Posts
    9
    Thank you for your explanations Werner. As I said before the problem is Knoppix is not at the list of supported distributions so I've took Debian 7, for as far as I know it is Debian based distribution not Red Hat based. Ok I was fooled by the version number (7.0) .
    Anyhow I consider upgrading to Knoppix 7.2.0. Hope this will help.

  6. #6
    Junior Member
    Join Date
    Jul 2013
    Posts
    9
    Welcome, I've upgraded the system (it took some 8 hours) and then I run as root
    Code:
     hp-setup
    setup found my printer and suggested downloading driver from http://hplipopensource.com installing the driver didn't help so I run
    Code:
    hp-check -t
    the proposed option was
    hp-check can be run in three modes:
    1. Compile-time check mode (-c or --compile): Use this mode before compiling the HPLIP supplied tarball
    (.tar.gz or .run) to determine if the proper dependencies are installed to successfully compile HPLIP.
    2. Run-time check mode (-r or --run): Use this mode to determine if a distro supplied package (.deb,
    .rpm, etc) or an already built HPLIP supplied tarball has the proper dependencies installed to
    successfully run.
    3. Both compile- and run-time check mode (-b or --both) (Default): This mode will check both of the
    above cases (both compile- and run-time dependencies).
    Ihave choosen --both.
    It comes out there was some mistakes in groups
    MISSING ['lp', 'lpadmin']
    and lack of some libraries and missing dependencies
    Missing Required Dependencies
    -----------------------------
    error: 'libdbus-1-dev' package is missing/incompatible
    error: 'libjpeg62-dev' package is missing/incompatible
    error: 'python-dev' package is missing/incompatible
    error: 'libsane-dev' package is missing/incompatible
    error: 'libusb-1.0.0-dev' package is missing/incompatible
    error: 'libcupsimage2' package is missing/incompatible
    error: 'libcupsimage2-dev' package is missing/incompatible
    error: 'libsnmp-dev' package is missing/incompatible
    after correcting all this mess I was asked to reboot system to take effect of user group.
    Finally I could print something
    Anyhow each start of the system needs to go to Printer Configuration from Menu -> Preferences and to choose my HP LaserJet 1200 printer. If no than "Generic Printer" is chosen and no printing at all.
    So I think the best way is to try (as root)
    Code:
    hp-setup
    and then
    Code:
    hp-check -t
    and it could help to force this printer to work
    thank you for the suggestions and help
    gss

  7. #7
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    Anyhow each start of the system needs to go to Printer Configuration from Menu -> Preferences and to choose my HP LaserJet 1200 printer.
    The option there "Printer => Set as default" doesn't work?

  8. #8
    Junior Member
    Join Date
    Jul 2013
    Posts
    9
    No. It doesn't. As I go to Preferences -> Printer Configuration then (on the CUPS page) Administration -> Manage Printers then choose my printer and (on printer page) I press Administration button and from the drop-down menu I choose "Set As Server Defaults" everything is fine for the current session. After restarting I have to repeat the procedure.
    Anyhow the success is the printer is usable, and the firmware is loaded at the system booting (the printer must be "on"). That is great!
    It would be nice to set it as Default Printer, but... maybe later on I'll try to do it.

  9. #9
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    Not "Knoppix => Printer Configuration"
    but "Preferences => Printing => Printer => Set as default"

  10. #10
    Junior Member
    Join Date
    Jul 2013
    Posts
    9
    Ok. But my printer is the only one (Printing-localhost) and the option "Set As Default" is inactive (gray not black). I can add some screenshots but I don'y know how to add images from my computer not from the net.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Intel Core i7-12700KF - Alder Lake 12-Core (8P+4E) 3.6 GHz LGA 1700 125W CPU picture

Intel Core i7-12700KF - Alder Lake 12-Core (8P+4E) 3.6 GHz LGA 1700 125W CPU

$256.98



Intel Core i3-8100T 3.1 GHz Socket LGA 1151 Quad Core Processor... picture

Intel Core i3-8100T 3.1 GHz Socket LGA 1151 Quad Core Processor...

$14.55



Intel - Core i5-14600K 14th Gen 14-Core 20-Thread - 4.0GHz (5.3GHz Turbo) Soc... picture

Intel - Core i5-14600K 14th Gen 14-Core 20-Thread - 4.0GHz (5.3GHz Turbo) Soc...

$306.99



AMD Ryzen 5 4500 6-Core 3.6GHz Socket AM4 65W CPU Desktop Processor picture

AMD Ryzen 5 4500 6-Core 3.6GHz Socket AM4 65W CPU Desktop Processor

$79.00



AMD Ryzen 9 7900X3D Gaming Processor - 12 Core And 24 Threads - 5.60 GHz Max Boo picture

AMD Ryzen 9 7900X3D Gaming Processor - 12 Core And 24 Threads - 5.60 GHz Max Boo

$449.00



Intel Core i7-7700 3.60GHz Quad-Core CPU picture

Intel Core i7-7700 3.60GHz Quad-Core CPU

$41.69



AMD Ryzen 5 7500F 6-Core 12-Thread Socket AM5 CPU Processor OEM Tray picture

AMD Ryzen 5 7500F 6-Core 12-Thread Socket AM5 CPU Processor OEM Tray

$164.99



Intel Core i3 Gen 12 I3-12100F 3.30 GHz Alder Lake SRL63 FCLGA1700 CPU Used picture

Intel Core i3 Gen 12 I3-12100F 3.30 GHz Alder Lake SRL63 FCLGA1700 CPU Used

$71.76



AMD Ryzen 7 7700x Processor (5.4 GHz, 8 Cores, LGA 1718/Socket AM5) Box -... picture

AMD Ryzen 7 7700x Processor (5.4 GHz, 8 Cores, LGA 1718/Socket AM5) Box -...

$254.99



AMD Ryzen 7 7700 Processor picture

AMD Ryzen 7 7700 Processor

$190.00