How to use HP parallel port printer in Xenialpup?

Problems and successes with specific brands/models of printers
Post Reply
Message
Author
gusfagan
Posts: 56
Joined: Mon 21 Mar 2011, 20:29

How to use HP parallel port printer in Xenialpup?

#1 Post by gusfagan »

I can't install my parallel port printer (HPLaserjet 5L) in Xenialpup 7.0.8.6. . I added 'modprobe lp' in etc/rc.d/rc.local but it made no difference. When I type 'modprobe lp' in the terminal, the message is 'Module i not found in directory lib/modules/4.4.95'

I have installed various HP printer drivers but I obviously need to download and install something else (modules?).

thanks

gusfagan

april

#2 Post by april »

Do a google search for printer drivers in HP.

They have a program " hplip" which you download trustingly and runand it puports to run all the hp printers . https://nchc.dl.sourceforge.net/project ... .17.11.run
Does wierd stuff with cursor and you have to be patient.

When i tried it complained of dependancies not being there so it would not complete and I still can't get my simple Deskjet2131 to print so I don't know where to go from here
  • Code: Select all

    Creating directory hplip-3.17.11
    Verifying archive integrity... All good.
    Uncompressing HPLIP 3.17.11 Self Extracting Archive..........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
    warning: hplip-install should not be run as root.
    
    HP Linux Imaging and Printing System (ver. 3.17.11)
    HPLIP Installer ver. 5.1
    
    Copyright (c) 2001-15 HP Development Company, LP
    This software comes with ABSOLUTELY NO WARRANTY.
    This is free software, and you are welcome to distribute it
    under certain conditions. See COPYING file for more details.
    
    Installer log saved in: hplip-install_Mon-15-Jan-2018_19:36:50.log
    
    sh: lsb_release: command not found
    warning: xenialpup64 distro is not found in AUTH_TYPES                         -error: You are running the installer as root. It is highly recommended that you run the installer as
    error: a regular (non-root) user. Do you still wish to continue?
    Continue with installation (y=yes, n=no*, q=quit) ? y
    
    note: Defaults for each question are maked with a '*'. Press <enterror: Auto installation is not supported for 'unknown' distro so all dependencies may not be installed. 
    Please install manually as mentioned in 'http://hplipopensource.com/hplip-web/install/manual/index.html' web-site
    
    Press 'y' to continue auto installation. Press 'n' to quit auto instalation(y=yes, n=no*): y
    
    
    INSTALLATION MODE
    -----------------
    Automatic mode will install the full HPLIP solution with the most common options.
    Custom mode allows you to choose installation options to fit specific requirements.
    
    Please choose the installation mode (a=automatic*, c=custom, q=quit) : a
    
    
    INTRODUCTION
    ------------
    This installer will install HPLIP version 3.17.11 on your computer.
    Please close any running package management systems now (YaST, Adept, Synaptic, Up2date, etc).
    
    
    DISTRO/OS CONFIRMATION
    ----------------------
    
    
    DISTRO/OS SELECTION
    -------------------
    
    Choose the name of the distro/OS that most closely matches your system:
    
    Num.  Distro/OS Name          
    ----  ------------------------
    0     Mepis                   
    1     Debian                  
    2     SUSE Linux              
    3     Mandriva Linux          
    4     Fedora                  
    5     Red Hat                 
    6     Red Hat Enterprise Linux
    7     Ubuntu                  
    8     PCLinuxOS               
    9     Linux Mint              
    10    gOS                     
    11    Linpus Linux            
    12    IGOS                    
    13    Boss                    
    14    Linux From Scratch      
    
    Enter number 0...14 (q=quit) ?7
    
    Choose the version of "Ubuntu" that most closely matches your system:
    
    Num.  Distro/OS Version                       
    ----  ----------------------------------------
    0     Unknown or not listed                   
    1     12.04 ("Precise", Released 28/04/2012)  
    2     13.10 ("Saucy", Released 17/10/2013)    
    3     14.04 ("Trusty", Released 17/04/2014)   
    4     15.04 ("Vivid", Released 17/04/2015)    
    5     15.10 ("Willy", Released 22/10/2015)    
    6     16.04 ("Xenial", Released 17/04/2016)   
    7     16.10 ("Yakkety", Released 13/10/2016)  
    8     17.04 ("Zesty", Released 31/05/2017)    
    9     17.10 ("Artful Aardvark", Released      
          19/10/2017)                             
    
    Enter number 0...9 (q=quit) ?6
    
    Distro set to: Ubuntu 16.04
    
    Initializing. Please wait...
    
    
    RUNNING PRE-INSTALL COMMANDS
    ----------------------------
    OK
    
    
    MISSING DEPENDENCIES
    --------------------
    Following dependencies are not installed. HPLIP will not work if all REQUIRED dependencies are not installed and some of the HPLIP features will not work if OPTIONAL dependencies are not installed.
    Package-Name         Component            Required/Optional   
    libnetsnmp-devel     network              REQUIRED            
    pil                  scan                 OPTIONAL            
    pyqt4-dbus           gui_qt4              REQUIRED            
    python-dbus          fax                  REQUIRED            
    reportlab            fax                  OPTIONAL            
    pyqt4                gui_qt4              REQUIRED            
    libtool              base                 REQUIRED            
    policykit            gui_qt4              OPTIONAL            
    python-notify        gui_qt4              OPTIONAL            
    avahi-utils          network              OPTIONAL            
    Do you want to install these missing dependencies (y=yes*, n=no, q=quit) ? y
    
    
    INSTALL MISSING REQUIRED DEPENDENCIES
    -------------------------------------
    note: Installation of dependencies requires an active internet connection.
    warning: Missing REQUIRED dependency: libtool (libtool - Library building support services)
    warning: This installer cannot install 'libtool' for your distro/OS and/or version.
    error: Installation cannot continue without this dependency. Please manually install this dependency and re-run this installer.
    root# 
    

Dunno how to stop this wide page?
Last edited by april on Thu 18 Jan 2018, 01:48, edited 2 times in total.

gusfagan
Posts: 56
Joined: Mon 21 Mar 2011, 20:29

parallel port printer in Xenialpup

#3 Post by gusfagan »

Thanks. I'll try that.
gusfagan

topic closed

p310don
Posts: 1492
Joined: Tue 19 May 2009, 23:11
Location: Brisbane, Australia

#4 Post by p310don »

I don't know about xenial pup but in it's predecessor Tahr pup there was an add on in quick pet for a parallel port driver.


666philb has instructions on how to make the module work.
666philb wrote:or alternatively if feeling adventurous you could build it yourself :D

install the kernel sources & devx from quickpet
then open a terminal and

Code: Select all

cd /usr/src/linux
make menuconfig
note that you may need to make the terminal window bigger for menuconfig to work.

now use the cursor keys to navigate down to 'Device drivers' and press enter
then down to 'Character Devices' and press enter
then down to 'Support for user-space parallel port device drivers' and press 'm' (this is the ppdev module)
then use the left & right cursor keys and choose save & enter
then exit >>exit>>exit and you should be back in the terminal

then in the same terminal

Code: Select all

make modules_prepare
make M=drivers/char modules
make M=drivers/char modules_install
depmod -a
then check it worked (should be no error)

Code: Select all

modprobe ppdev
from the page here:

http://murga-linux.com/puppy/viewtopic. ... 7&start=15

april

#5 Post by april »

p310don wrote: I don't know about xenial pup but in it's predecessor Tahr pup there was an add on in quick pet for a parallel port driver.
Don't see it in quickpet.
Last edited by april on Tue 16 Jan 2018, 05:54, edited 3 times in total.

april

#6 Post by april »

remove pls

p310don
Posts: 1492
Joined: Tue 19 May 2009, 23:11
Location: Brisbane, Australia

#7 Post by p310don »

Not in Xenial, but in Tahr
Attachments
VirtualBox_tahr_16_01_2018_20_30_20.jpg
(94.09 KiB) Downloaded 216 times

Post Reply