Peppermint OS Community Forum

Support => Installation => Topic started by: adamunderwood on October 20, 2018, 08:13:50 pm

Title: new peppermint 8 install, jacked up hplip <SOLVED>
Post by: adamunderwood on October 20, 2018, 08:13:50 pm
First off I apologize if this is in the wrong section, and also for the fact that it seems all I do is ask for help every year or two when I run into problems with a new install and cannot really contribute much back.
Anyway I just installed peppermint 8 on a newer computer purchased at work.  Everything went very smooth until I went to set up the printer/scanner.  It is a HP laserjet M1212nf MFP.  I thought I was on the right track after finding on here about hp-plugin.  Finally got the printer recognized and setup but I kept having issues.  When attempting to scan the messages told me the scan started and completed, The info screen on the printer itself confirmed this as well, yet no scan was coming up on the monitor.  Finally it would give me a message about communication error.  Tried the printer and it would work sometimes and sometimes not.  When it did not it was still giving me the messages in the top right of the screen stating that the print job had started and completed though.

The first install was through the Software Manager.  I tried uninstalling and reinstalling from the terminal.  same problem so I then tried downloading the latest version from the website.  Same issues.  Then I start to lose track of everything I was trying.  Tried to uninstall the latest and go back to the one in the repository.  Now I have things so screwed up that it won't finish the process of selecting and setting up my printer.
Finally the point of all this:
Everything else not related to the printer still works fantastic.  It took some time to install all the work related files and set everything up related to that so I guess what I'm asking is:
Is there a way to undo everything I did related to hplip and all printer stuff and just redo that part of it or do I have to start over completely with another fresh OS install?

By the way inxi output is as follows
Code: [Select]
gs1@gs1-HP-Compaq-Elite-8300-SFF ~ $ inxi -Fz
System:    Host: gs1-HP-Compaq-Elite-8300-SFF Kernel: 4.15.0-36-generic x86_64 (64 bit)
           Desktop: N/A Distro: Peppermint Eight
Machine:   System: Hewlett-Packard product: HP Compaq Elite 8300 SFF
           Mobo: Hewlett-Packard model: 3397
           Bios: Hewlett-Packard v: K01 v02.90 date: 07/16/2013
CPU:       Quad core Intel Core i5-3470 (-MCP-) cache: 6144 KB
           clock speeds: max: 3600 MHz 1: 1601 MHz 2: 1596 MHz 3: 1596 MHz
           4: 1596 MHz
Graphics:  Card: Intel Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller
           Display Server: X.Org 1.19.6 drivers: (unloaded: fbdev,vesa)
           Resolution: 1600x900@60.00hz
           GLX Renderer: Mesa DRI Intel Ivybridge Desktop
           GLX Version: 3.0 Mesa 17.0.2
Audio:     Card Intel 7 Series/C210 Series Family High Definition Audio Controller
           driver: snd_hda_intel
           Sound: Advanced Linux Sound Architecture v: k4.15.0-36-generic
Network:   Card: Intel 82579LM Gigabit Network Connection driver: e1000e
           IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 250.1GB (7.6% used)
           ID-1: /dev/sda model: Samsung_SSD_860 size: 250.1GB
Partition: ID-1: / size: 222G used: 11G (5%) fs: ext4 dev: /dev/sda1
           ID-2: swap-1 size: 8.46GB used: 0.00GB (0%) fs: swap dev: /dev/sda5
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 29.8C mobo: 27.8C
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 167 Uptime: 5 min Memory: 692.3/7851.5MB
           Client: Shell (bash) inxi: 2.2.35
gs1@gs1-HP-Compaq-Elite-8300-SFF ~ $
Title: Re: new peppermint 8 install, jacked up hplip
Post by: pin on October 21, 2018, 02:40:17 am
Quote
Is there a way to undo everything I did related to hplip and all printer stuff and just redo that part of it or do I have to start over completely with another fresh OS install?
It's always possible. Re-installing is hardly needed, but sometimes it's the easiest way out.
What exactly have you done that you want to undo?
Title: Re: new peppermint 8 install, jacked up hplip
Post by: adamunderwood on October 21, 2018, 12:01:05 pm
Quote
What exactly have you done that you want to undo?

I wish I knew exactly.  I think through my trying to fix it i now have 2 or 3 different versions of hplip installed, or at least  partially installed.  I tried to uninstall and reinstall and then when I go through the setup to add printer it shows my printer on the screen, I select it and click on next and it just brings that same screen back up over and over until I give up and just x out of it.
Title: Re: new peppermint 8 install, jacked up hplip
Post by: pin on October 21, 2018, 02:12:11 pm
Code: [Select]
sudo apt-get remove --purge hplip
sudo apt-get autoremove
sudo apt-get autoclean

As for the version from the website I don't know how to remove it, but once you have removed the others post the output of
Code: [Select]
sudo find / -name hplip
It should work to just remove the binary  :-\
Title: Re: new peppermint 8 install, jacked up hplip
Post by: adamunderwood on October 21, 2018, 06:04:32 pm
ok, all 3 steps  completed.
Code: [Select]
gs1@gs1-HP-Compaq-Elite-8300-SFF ~ $ sudo find / -name hplip
[sudo] password for gs1:
/usr/share/ppd/hplip
/usr/share/hplip
find: /run/user/1000/gvfs: Permission denied
/etc/sane.d/dll.d/hplip
gs1@gs1-HP-Compaq-Elite-8300-SFF ~ $
Title: Re: new peppermint 8 install, jacked up hplip
Post by: pin on October 22, 2018, 12:16:15 am
Sorry, could you also post the output of
Code: [Select]
dpkg -l | grep hplip

See also this thread https://askubuntu.com/questions/472652/hp-device-manager-still-in-menu-after-hplip-uninstall
Title: Re: new peppermint 8 install, jacked up hplip
Post by: adamunderwood on October 22, 2018, 01:43:45 pm
Quote
dpkg -l | grep hplip

there was no output at all for this one
Title: Re: new peppermint 8 install, jacked up hplip
Post by: pin on October 22, 2018, 02:29:15 pm
Good! It means that what is left is the stuff you've installed from the hplip website.
Did you have a look at the page I linked?
Do you think you can manage to follow it and remove what remains to be removed?
When you're done with it remove also the added printers and you're back at the start.

No re-install needed  ;)
Obviously, we still need to figure out how to fix things in order for you to be able to print.
Is this a network printer or is it attached through some sort of cable connection?
Title: Re: new peppermint 8 install, jacked up hplip
Post by: adamunderwood on October 22, 2018, 02:37:03 pm
I haven't looked at it yet but will here in a little bit when that computer is free.  Worst case I'll go through all of that tonight after the others leave.
The printer is attached through usb cable.

Thank you for all of your help thus far.
Title: Re: new peppermint 8 install, jacked up hplip
Post by: pin on October 22, 2018, 03:22:17 pm
Don't worry, I've just checked my system and I also have the directories and files you found with the command
Code: [Select]
sudo find / -name hplip
on my system and I don't have an hp printer. Guess those come with the default install... unless I've installed those myself  :-\ ...but, why would I do that?!

Make sure you have the following packages installed. Use Synaptic to look for them
(https://i.imgur.com/zsgGM0u.png)

Title: Re: new peppermint 8 install, jacked up hplip
Post by: adamunderwood on October 22, 2018, 03:23:03 pm
ok I checked out that page you linked.  not sure if that applies to me as I dont have any shortcut to an HP Device Manager.  All I found is in the menu, submenu "other", there is a shortcut to "hp-uiscan".    I followed everything on the linked  webpage short of reinstalling hplip.

now output is
Code: [Select]
gs1@gs1-HP-Compaq-Elite-8300-SFF ~ $ sudo find / -name hplip
[sudo] password for gs1:
find: /run/user/1000/gvfs: Permission denied
gs1@gs1-HP-Compaq-Elite-8300-SFF ~ $
Title: Re: new peppermint 8 install, jacked up hplip
Post by: pin on October 22, 2018, 03:30:33 pm
Ok! You have cleaned the system.
Remove any printer you have added and you're back at the start. Check my previous post and make sure you have all the cups packages highlighted.
I'm soon off to bed, but will be back tomorrow.
Title: Re: new peppermint 8 install, jacked up hplip
Post by: adamunderwood on October 22, 2018, 03:31:30 pm
ok yes I have all of those, and even have the cups-bsd.
Title: Re: new peppermint 8 install, jacked up hplip
Post by: PCNetSpec on October 22, 2018, 03:33:25 pm
Now what's the output from:
Code: [Select]
dpkg -l | grep hp
Title: Re: new peppermint 8 install, jacked up hplip
Post by: adamunderwood on October 22, 2018, 03:35:36 pm
Code: [Select]
gs1@gs1-HP-Compaq-Elite-8300-SFF ~ $ dpkg -l | grep hp
rc  adobe-flashplugin                             1:20171114.1-0ubuntu0.16.04.1                               amd64        Adobe Flash Player plugin
ii  flashplugin-installer                         31.0.0.122ubuntu0.16.04.1                                   amd64        Adobe Flash Player plugin installer
ii  libhpmud0:amd64                               3.16.3+repack0-1                                            amd64        HP Multi-Point Transport Driver (hpmud) run-time libraries
ii  libpathplan4                                  2.38.0-12ubuntu2.1                                          amd64        rich set of graph drawing tools - pathplan library
rc  libsane-hpaio:amd64                           3.16.3+repack0-1                                            amd64        HP SANE backend for multi-function peripherals
ii  printer-driver-hpcups                         3.16.3+repack0-1                                            amd64        HP Linux Printing and Imaging - CUPS Raster driver (hpcups)
gs1@gs1-HP-Compaq-Elite-8300-SFF ~ $
Title: Re: new peppermint 8 install, jacked up hplip
Post by: pin on October 22, 2018, 03:39:57 pm
Connect your printer and post the output of
Code: [Select]
lsusb
Title: Re: new peppermint 8 install, jacked up hplip
Post by: adamunderwood on October 22, 2018, 03:41:25 pm
Code: [Select]
gs1@gs1-HP-Compaq-Elite-8300-SFF ~ $ lsusb
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 03f0:052a Hewlett-Packard
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
gs1@gs1-HP-Compaq-Elite-8300-SFF ~ $
Title: Re: new peppermint 8 install, jacked up hplip
Post by: pin on October 22, 2018, 03:44:23 pm
Time to re-install hplip
Code: [Select]
sudo apt-get install hplip

If you type the following on your web browser http://localhost:631  do you see the printer?
Title: Re: new peppermint 8 install, jacked up hplip
Post by: PCNetSpec on October 22, 2018, 03:47:41 pm
Personally I'd also install hplip-gui then use the HP Toolbox to configure the printer/scanner.
Title: Re: new peppermint 8 install, jacked up hplip
Post by: adamunderwood on October 22, 2018, 03:50:44 pm
ok, installed both hplip and hplip-gui.
when I put  "http://localhost:631/" into my browser it takes me to what looks like CUPS home page
Title: Re: new peppermint 8 install, jacked up hplip
Post by: pin on October 22, 2018, 03:53:43 pm
It's cups webGUI, but try PCNetSpec suggestion first and use the hplipGUI.
Title: Re: new peppermint 8 install, jacked up hplip
Post by: adamunderwood on October 22, 2018, 03:57:42 pm
Ok I try to open the HPLIP Toolbox in the preferences menu and a window opens and immediately closes.  Just looks like a flash on the screen.
Title: Re: new peppermint 8 install, jacked up hplip
Post by: pin on October 22, 2018, 04:00:15 pm
There's no way for me to test this  ???
For the scanner part have a look here, https://hanynowsky.wordpress.com/2017/12/13/hp-laserjet-pro-m1212nf-mfp-scanner-on-ubuntu/

EDIT: I guess, you have seen this thread? https://ubuntuforums.org/showthread.php?t=1792538
Title: Re: new peppermint 8 install, jacked up hplip
Post by: PCNetSpec on October 22, 2018, 04:04:51 pm
what's the output from
Code: [Select]
hp-check
?
Title: Re: new peppermint 8 install, jacked up hplip
Post by: adamunderwood on October 22, 2018, 04:05:33 pm
ok I tried hp-setup in terminal and this is what I got
Code: [Select]
gs1@gs1-HP-Compaq-Elite-8300-SFF ~ $ hp-setup
error: Unable to locate models.dat file

HP Linux Imaging and Printing System (ver. 0.0.0)
Printer/Fax Setup Utility ver. 9.0

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.

(Note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.)


Using connection type: usb

error: No device selected/specified or that supports this functionality.
gs1@gs1-HP-Compaq-Elite-8300-SFF ~ $
Title: Re: new peppermint 8 install, jacked up hplip
Post by: adamunderwood on October 22, 2018, 04:05:55 pm
Code: [Select]
gs1@gs1-HP-Compaq-Elite-8300-SFF ~ $ hp-check
error: Unable to locate models.dat file
Saving output in log file: /home/gs1/hp-check.log

HP Linux Imaging and Printing System (ver. 0.0.0)
Dependency/Version Check Utility ver. 15.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.

Note: 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).             

Check types:                                                                         
a. EXTERNALDEP - External Dependencies                                               
b. GENERALDEP - General Dependencies (required both at compile and run time)         
c. COMPILEDEP - Compile time Dependencies                                             
d. [All are run-time checks]                                                         
PYEXT SCANCONF QUEUES PERMISSION                                                     

Status Types:
    OK
    MISSING       - Missing Dependency or Permission or Plug-in
    INCOMPAT      - Incompatible dependency-version or Plugin-version

-Traceback (most recent call last):
  File "/usr/bin/hp-check", line 855, in <module>
    core.init()
  File "/usr/share/hplip/installer/core_install.py", line 463, in init
    self.distro_name = self.distros_index[self.distro]
KeyError: 0
gs1@gs1-HP-Compaq-Elite-8300-SFF ~ $
Title: Re: new peppermint 8 install, jacked up hplip
Post by: PCNetSpec on October 22, 2018, 04:12:13 pm
what's the contents of
Code: [Select]
cat /etc/lsb-release
Title: Re: new peppermint 8 install, jacked up hplip
Post by: adamunderwood on October 22, 2018, 04:16:40 pm
The additional is from when I was following your recommendation to another user in another thread I found.  I was going back and forth so just left the rest as comments.

Code: [Select]
gs1@gs1-HP-Compaq-Elite-8300-SFF ~ $ cat /etc/lsb-release
 DISTRIB_ID=Peppermint
 DISTRIB_RELEASE=8
 DISTRIB_CODENAME=xenial
 DISTRIB_DESCRIPTION="Peppermint 8 Eight"

# DISTRIB_ID=Ubuntu
# DISTRIB_RELEASE=16.04
# DISTRIB_CODENAME=xenial
# DISTRIB_DESCRIPTION="Ubuntu 16.04 LTS"


gs1@gs1-HP-Compaq-Elite-8300-SFF ~ $
Title: Re: new peppermint 8 install, jacked up hplip
Post by: PCNetSpec on October 23, 2018, 01:28:09 pm
Have you still got the hplip driver you downloaded from the internet in a folder somewhere ?
Title: Re: new peppermint 8 install, jacked up hplip
Post by: adamunderwood on October 24, 2018, 02:07:57 pm
No sir, that all got deleted when trying to get back to a fresh start.
Title: Re: new peppermint 8 install, jacked up hplip
Post by: PCNetSpec on October 24, 2018, 02:19:53 pm
Can you point to the instructions you followed to download/install hplip from the web.
Title: Re: new peppermint 8 install, jacked up hplip
Post by: adamunderwood on October 24, 2018, 06:28:37 pm
If you are asking who advised me to download/install from the web, I honestly  don't recall.  I was frustrated because I knew I had to be making it more complicated than it should be and was probably causing all of my own problems.  I was searching everywhere trying to fix it without having to ask for help.  I dont remember how I got there but I ended up on the following web page and it seemed pretty straight forward so I tried it and ended up with the same outcome as the version I got through the software manager.

https://developers.hp.com/hp-linux-imaging-and-printing/gethplip
Title: Re: new peppermint 8 install, jacked up hplip
Post by: PCNetSpec on October 24, 2018, 06:40:29 pm
okay you're going to want to download and install it again.

Once you've done that follow the steps (A through D) here
https://developers.hp.com/hp-linux-imaging-and-printing/howtos/install#howtocheck7
to uninstall it

PS. at step C you want the commands that start with "sudo", not the ones that start with "su" .. and be VERY careful to get the syntax right with those commands .. in fact instead of those 4 commands, instead run these 8 commands in sequence, there's less scope for deleting your entire system ;)
Code: [Select]
cd /usr/share
sudo rm -rvf hplip
cd /etc
sudo rm -rvf hp
cd ~/
sudo rm -rvf .hplip
cd /var/lib
sudo rm -rvf hp



also make sure hplip from the repos is uninstalled
Code: [Select]
sudo apt-get remove --purge hplip*



then reinstall it from the repos
Code: [Select]
sudo apt-get install hplip hplip-gui
Title: Re: new peppermint 8 install, jacked up hplip
Post by: adamunderwood on October 24, 2018, 07:07:08 pm
Ok it is installed.  The test pages came out blank so now I know something is still not correct.  When I try to enter the directory it is giving me this error, unless I am way off base and the .run file is my source tarball and I dont need to go into the directory. 

Code: [Select]
gs1@gs1-HP-Compaq-Elite-8300-SFF ~ $ cd Downloads
gs1@gs1-HP-Compaq-Elite-8300-SFF ~/Downloads $ ls
hplip-3.18.9  hplip-3.18.9.run
gs1@gs1-HP-Compaq-Elite-8300-SFF ~/Downloads $ cd hplip-3.18.9
bash: cd: hplip-3.18.9: Permission denied
gs1@gs1-HP-Compaq-Elite-8300-SFF ~/Downloads $

I shouldnt need to use sudo to enter the hplip-3.18.9 directory or should I?  or am I really screwed up and that isn't even a directory?
Title: Re: new peppermint 8 install, jacked up hplip
Post by: PCNetSpec on October 24, 2018, 07:26:36 pm
depends on the permissions that were set when the directory was created

try:
Code: [Select]
sudo su
then
Code: [Select]
cd /home/gs1/Downloads/hplip-3.18.9
then
Code: [Select]
make uninstall
then
Code: [Select]
exit
now continue at step C
Title: Re: new peppermint 8 install, jacked up hplip
Post by: adamunderwood on October 24, 2018, 07:38:13 pm
Ok I finished all that.  reinstalled as instructed.  I try to open the HPLIP Toolbox from the preferences menu and still just a flash of a window opening and then immediately closing and nothing else.  As previously instructed hp-check output is as follows.
Code: [Select]
gs1@gs1-HP-Compaq-Elite-8300-SFF ~ $ hp-check
error: Unable to locate models.dat file
Saving output in log file: /home/gs1/hp-check.log

HP Linux Imaging and Printing System (ver. 0.0.0)
Dependency/Version Check Utility ver. 15.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.

Note: 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).             

Check types:                                                                         
a. EXTERNALDEP - External Dependencies                                               
b. GENERALDEP - General Dependencies (required both at compile and run time)         
c. COMPILEDEP - Compile time Dependencies                                             
d. [All are run-time checks]                                                         
PYEXT SCANCONF QUEUES PERMISSION                                                     

Status Types:
    OK
    MISSING       - Missing Dependency or Permission or Plug-in
    INCOMPAT      - Incompatible dependency-version or Plugin-version

-Traceback (most recent call last):
  File "/usr/bin/hp-check", line 855, in <module>
    core.init()
  File "/usr/share/hplip/installer/core_install.py", line 463, in init
    self.distro_name = self.distros_index[self.distro]
KeyError: 0
gs1@gs1-HP-Compaq-Elite-8300-SFF ~ $

edit:
so because after downloading and installing from the .run file actually was able to recognize my printer I tried that again following your instructions from this post:
https://forum.peppermintos.com/index.php/topic,5734.msg57697.html#msg57697

Everything went smoothly with that.  The printer actually worked repeatedly except that all it was spitting out was blank pages, not what I wanted to print. 

So I followed all of the steps you just gave me a little bit ago to uninstall and purge everything again.  Reinstalled from the repos and now back to here again.
Title: Re: new peppermint 8 install, jacked up hplip
Post by: alynur on October 25, 2018, 12:24:00 pm
Hi adamunderwood, if this is a newer computer, why did you install Peppermint 8 and not Peppermint 9? I only ask because I have had things in P 8 that didn't work, like my bluetooth dongle, that just worked in P 9.
Title: Re: new peppermint 8 install, jacked up hplip
Post by: adamunderwood on October 25, 2018, 01:15:58 pm
Quote
Hi adamunderwood, if this is a newer computer, why did you install Peppermint 8 and not Peppermint 9? I only ask because I have had things in P 8 that didn't work, like my bluetooth dongle, that just worked in P 9.

I guess I misspoke.  It is new to us.  It is probably 3 or 4 years old.  Just added more ram and installed a solid state hd.
But to be honest I didn't know 9 was out.   I already had 8 on a thumb drive so I just used it.
If the general consensus is that I will be better off with 9, then I will bite the bullet and reinstall.
Title: Re: new peppermint 8 install, jacked up hplip
Post by: PCNetSpec on October 26, 2018, 06:35:34 am
Your call adam, I mean we can still try fixing hplip in PM8 but it could take forever so if you're in a mind to move to PM9, now would be the time to do it.
Title: Re: new peppermint 8 install, jacked up hplip
Post by: adamunderwood on October 27, 2018, 04:39:51 pm
Ok, Peppermint 9 is now installed. 
Forgive me but in order not to screw anything more up I am probably going to be asking about rather elementary procedures to most of you.

So would you rather me install hplip through the terminal or software manager?
Based on previous installs, with my particular printer I will need an additional plugin.  When I tried to install it asked for root password which I know you do not want us to set.  How do you want me to go about that?
Title: Re: new peppermint 8 install, jacked up hplip
Post by: PCNetSpec on October 27, 2018, 04:47:10 pm
Personally I'd install it via the terminal:
Code: [Select]
sudo apt-get install hplip hplip-gui
then configure your printer/scanner via:-

Menu > Settings > HPLIP Toolbox

Oh, and never be afraid to ask .. that's what the forum is for ;)
Title: Re: new peppermint 8 install, jacked up hplip
Post by: adamunderwood on October 27, 2018, 04:54:22 pm
Ok do I still need to edit the lsb-release file to show ubuntu or does it really matter when it tells me that it doesnt recognize Peppermint while I am trying to install missing plugin?
Title: Re: new peppermint 8 install, jacked up hplip
Post by: PCNetSpec on October 27, 2018, 05:19:54 pm
NO .. you don't need to edit lsb-release if installing hplip via the repos (as the above command does) ;)
Title: Re: new peppermint 8 install, jacked up hplip
Post by: adamunderwood on October 27, 2018, 06:42:40 pm
Ok now is where I am losing my mind.  Sometimes it prints and sometimes not.  I thought it depended on what application I was using at first because the only thing that actually seemed to work was when it was a pdf.  When it doesnt work it would still flash the message in the top right corner of the screen saying the print job started and then later completed but nothing actually printed.  Then I tried more pdf's and sometimes they worked and sometimes not.  Crazy as it sounds (maybe just a coincedence) a jpg file on my desktop prints while pdfs and spreadsheets do not.  Then I go into a folder where I store more files and the pdf's will print from there but jpgs do not, Libre office files still do not as well.
Also it will not scan.  When using Simple Scan it shows my printer, seems to start but nothing ever scans to the screen.  The message window on my printer says that it is scanning to pc also even though it never does.

I know the printer is good because the other computer hooked to it is an older model hp running peppermint 6 and everything prints and scans fine.

It couldn't be a bad usb cable or usb switch could it?

And then while I am sitting here typing this the little message window will flash a message saying one of the files I tried to print earlier is now printing, and then that the job is completed but I am not trying to print anymore and still nothing is actually printing.
Title: Re: new peppermint 8 install, jacked up hplip
Post by: alynur on October 27, 2018, 09:21:30 pm
As far as bad cables etc. goes, anything is possible. I've had bad cables that would recognize the printer and not print and I had bad cable that wouldn't recognize the printer. Also, sometimes I would have to recycle the paper discharge window open /close/open for the printer to print, and this is a current condition that I have been experiencing since I bought the printer, an HP MP Inkjet. Not much help I know.
Title: Re: new peppermint 8 install, jacked up hplip
Post by: adamunderwood on October 28, 2018, 07:15:56 pm
Well I don't know if my usb cable was bad or if it was just too long (needed about 20 ft from tower to usb switch) but just replaced it with a new "active" cable and everything appears to be working fine.  All types of files printing and scans are scanning.

It seems I ruined my Peppermint 8 install by trying to fix what ended up being an external problem.

If you want to move this to the "Hardware" section I would understand and be grateful.

To everyone who offered advice I sincerely thank you and apologize for wasting all of your time.
Title: Re: new peppermint 8 install, jacked up hplip <SOLVED>
Post by: Slim.Fatz on October 29, 2018, 06:08:50 am
Hi adamunderwood,

I hope that you have a permanent solution to the issue.

But no need to apologize. This sort of problem can be tricky and everyone here understands that.  ;)

 Good luck with your printing -- and if it turns out that the cable wasn't the problem, don't hesitate to come back and reopen your now (hopefully) <SOLVED> thread.

Regards,

-- Slim
Title: Re: new peppermint 8 install, jacked up hplip <SOLVED>
Post by: PCNetSpec on October 29, 2018, 08:09:28 am
Great stuff, glad you found the problem Adam .. specially considering I was running out of ideas ;)

BTW, it's never a waste of time, specially if you post the solution .. next time I'll know to ask about USB cable length, so we learned something that may benefit someone else in the future .. which is the whole point of this forum, so thank YOU :)
Title: Re: new peppermint 8 install, jacked up hplip <SOLVED>
Post by: alynur on October 30, 2018, 02:07:04 pm
Glad it's fixed adamunderwood, I learned a while back if PCNetSpec can't come up with the solution, it's hardware.
Title: Re: new peppermint 8 install, jacked up hplip <SOLVED>
Post by: PCNetSpec on October 31, 2018, 09:21:37 am
LOL :))
(if only)
Title: Re: new peppermint 8 install, jacked up hplip <SOLVED>
Post by: adamunderwood on November 04, 2018, 08:03:06 pm
Well thank you again just the same.  Pretty much all we really use these work computers for is looking up parts and prices and checking and sending emails.  Once they are set up we really don't have to mess with any code or anything behind the scenes so to speak.  Because of this I guess I really don't learn much new other than installation related issues.  I give you guys a lot of credit for knowing and keeping up with it all, and especially sharing it with users like me who will probably never be able to return the favor.
Title: Re: new peppermint 8 install, jacked up hplip <SOLVED>
Post by: PCNetSpec on November 05, 2018, 05:19:35 am
You're most welcome adamunderwood, not that I did much :)