UberStudent Forums

Help and Community for Users of Uberstudent
Return to UberStudent Home Page
It is currently Wed Nov 22, 2017 2:45 pm

All times are UTC




UberStudent Logo Shirt
Hey! You can wear this UberCool UberStudent Logo Shirt

Post new topic Reply to topic  [ 13 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: Thu Sep 18, 2014 11:54 pm 
Offline
UberStudent Forum Helper

Joined: Fri Jul 25, 2014 11:17 pm
Posts: 65
Situation:
I need some help getting my new printer to work in Uberstudent.

Background:
Jump straight to the next reply where I will outline the "Problems" if you want to avoid wasting your time with my verbosity... :oops:

I decided to move over to free software for good, and my old printer multi-function centre is ready for the recycling centre anyway, so I bought a new one.

The old one: Brother MFC 5220CN does not like Linux, I found only one report on the net about an unsuccessful installation attempt. It does not print properly any more, I had to flash some code years ago to convince it that the spent ink deposit from cleaning is not over-full (but it is...) and I have refilled the cartridges probably 2 dozen times or so.

I did a little reading around and found out that different manufacturers have very different philsophies with regard to supporting free software. Hewlett Packard (HP) are putting in an effort to support free software, so I decided to buy from them.

However, a trip to the ink shop and a brief chat with the staff member there revealed that "Free Software" is coupled with "Captive Hardware" for want of a better word. HP have (for now) succeeded in their attempts to make it impossible to use generic ink cartridges in their printers, or to refill the cartridges with bulk ink.
The ink shop staff recommended Brother printers if ease of refilling cartridges is important to me, but Brother products are apparently difficult to get going in Linux systems.

I decided to put up with becoming a captive to original ink cartridges and took my now quite functional Uberstudent laptop into a shop to check out all HP printers on the shelves, using this web page: http://www.hplipopensource.com/hplip-we ... bined.html
The page lists the HPLIP software support for HP products. I was looking for something that allows scanning to PC and PC initiated faxing. I don't need those functions often, but it always seems to be something time critical when I do need them once a year or so.
Other criteria important to me were that no driver plug-in should be required and that the ink cartridges need to be separate black/cyan/magenta/yellow, to bring down costs.

Attachment:
HPLIP index.png
HPLIP index.png [ 14.57 KiB | Viewed 11382 times ]

Attachment:
Officejet Pro HPLIP list.png
Officejet Pro HPLIP list.png [ 5.96 KiB | Viewed 11382 times ]


I ended up buying the HP Officejet Pro 8610 because it ticks all those boxes, and is the cheapest in ink per page terms. According to the HP numbers on the back of their ink boxes and some calculations, it costs around 2.7 cent per page for ink. Ink for most other HP printers is much more expensive per page.

The first stages of printer setup went really well and I thought that's too easy. :mrgreen:
The printer calibrated itself and printed a nice test page, and connecting it to my wireless network was super easy except for typing in a long hexadecimal password on the small touchscreen. It connected right away and appeared in Uberstudent>Applications>System>Hardware>Printers>Add>Network Printer>HP Officejet Pro 8610.

Now to the problems:
I think the problems are related to the very newness of the printer. The HPLIP included in Ubuntu and Uberstudent is a bit too old to cover this printer. I need version 3.14.6, and the one in Uberstudent is 3.14.3 .
I found this by following instructions from here: http://hplipopensource.com/node/306
and using this command:
Code:
dpkg -l hplip


I'll better start a new reply with the problem list before this gets much longer.


Top
 Profile  
 

Get an UberCool UberStudent Shirt!

UberStudent Logo Shirt
UberStudent Logo Shirt by uberstudent
See other Uberstudent T-Shirts
PostPosted: Fri Sep 19, 2014 12:05 am 
Offline
UberStudent Forum Helper

Joined: Fri Jul 25, 2014 11:17 pm
Posts: 65
Now to the problems with the driver installation:

When I tried to continue on with the printer wizard at Uberstudent>Applications>System>Hardware>Printers>Add>Network Printer>HP Officejet Pro 8610
by clicking "Forward", this resulted in a failed attempt to install gutenprint. It hangs and crashes the entire computer, eventually.
Attachment:
Installing gutenprint.png
Installing gutenprint.png [ 63.99 KiB | Viewed 11381 times ]


When I try to install HPLIP 3.14.6 using the installer program from this page: http://hplipopensource.com/hplip-web/news.html , according to the instructions at: http://hplipopensource.com/hplip-web/in ... index.html , then the install fails due to 4 missing dependencies.

Attachment:
Missing CUPS devel.png
Missing CUPS devel.png [ 41.27 KiB | Viewed 11381 times ]


I have so far been unable to install the missing "cups devel" .


Top
 Profile  
 
PostPosted: Fri Sep 19, 2014 12:54 am 
Offline
UberStudent Forum Helper

Joined: Fri Jul 25, 2014 11:17 pm
Posts: 65
A hp icon has appeared in the top right status bar in Uberstudent, but it does not find the printer when I try to use the setup function.
Attachment:
HP device manager.png
HP device manager.png [ 158.48 KiB | Viewed 11380 times ]


So that's how far I got, any help would be much appreciated! :)


Top
 Profile  
 
 Post subject: Re: HPLIP Dependencies
PostPosted: Fri Sep 19, 2014 8:00 am 
Offline
UberStudent Staff
User avatar

Joined: Mon Jan 21, 2013 7:18 pm
Posts: 106
Secrect A Gent wrote:
When I try to install HPLIP 3.14.6 using the installer program from this page, according to the instructions at HPLIPOpenSource.com, then the install fails due to 4 missing dependencies. I have so far been unable to install the missing "cups devel".

Since UberStudent is a derivative of Ubuntu/Xubuntu (which are derivatives of Debian), Ubuntu forums such as AskUbuntu.com often have useful information, especially concerning hardware issues. In Debian, Ubuntu, and UberStudent that 'cups-devel' package is called libcups2-dev. You will probably also need the libcupsimage2-dev package. You can install them with the following command:
Code:
sudo apt-get install --assume-yes libcups2-dev libcupsimage2-dev

_________________
Cybermancy.net - Creativity via code


Top
 Profile  
 
 Post subject: Re: HPLIP Dependencies
PostPosted: Fri Sep 19, 2014 8:46 am 
Offline
UberStudent Forum Helper

Joined: Fri Jul 25, 2014 11:17 pm
Posts: 65
Damion Lunin wrote:
Secrect A Gent wrote:
When I try to install HPLIP 3.14.6 using the installer program from this page, according to the instructions at HPLIPOpenSource.com, then the install fails due to 4 missing dependencies. I have so far been unable to install the missing "cups devel".

Since UberStudent is a derivative of Ubuntu/Xubuntu (which are derivatives of Debian), Ubuntu forums such as AskUbuntu.com often have useful information, especially concerning hardware issues. In Debian, Ubuntu, and UberStudent that 'cups-devel' package is called libcups2-dev. You will probably also need the libcupsimage2-dev package. You can install them with the following command:
Code:
sudo apt-get install --assume-yes libcups2-dev libcupsimage2-dev


Thanks Damion!
I'll try that out.
Is there a list of "translations" between packages that use different names for the same dependencies? I guess I'll need it sooner or later.


Top
 Profile  
 
PostPosted: Fri Sep 19, 2014 9:25 am 
Offline
UberStudent Forum Helper

Joined: Fri Jul 25, 2014 11:17 pm
Posts: 65
libcups2-dev instead of cups-devel did the trick!

Now there are only three missing dependencies, but it will only tell me the first one missing, it's "libusb".

And guess what, sudo apt-get install libusb does not find it.

I googled around for a bit and then tried a lucky guess with sudo apt-get install libusb-dev, but there are still three missing dependecies now, so it did not work.

Instructions for how to do a manual HPLIP installation can be found there:
http://hplipopensource.com/hplip-web/install/manual/distros/other.html
including the dependencies. I just need to figure out what they are called in Uberstudent.
The website even announces this:
"(Note: Your package names will vary depending on your Linux distribution. please refer to your Linux distribution documentation and/or support resources.)"

So here is the question I need to answer: Where is the documentation for Uberstudent....


Top
 Profile  
 
PostPosted: Fri Sep 19, 2014 9:41 am 
Offline
UberStudent Forum Helper

Joined: Fri Jul 25, 2014 11:17 pm
Posts: 65
It's not libdbus-1-dev , either.

Does it matter when I "sudo apt-get install" all sorts of stuff that I have no clue about? :lol:

sudo apt-get install libcupsimage2-dev brought it down to 2 missing dependencies, thank you!

But now I'll never know what they were, and the libusb dependency is still the one missing.

I'm working my way along likely-sounding candidates in this list:
Code:
sudo apt-get install --assume-yes libcups2 cups libcups2-dev cups-bsd cups-client libcupsimage2-dev libdbus-1-dev build-essential ghostscript openssl libjpeg62-dev libsnmp-dev libtool libusb-dev python-imaging policykit-1 policykit-1-gnome python-qt4 python-qt4-dbus python-dbus python-gobject python-dev python-notify python python-reportlab libsane libsane-dev sane-utils xsane

found here: http://askubuntu.com/a/119713

I installed the lot of them, most were already up to date, but it appears that libusb was not one of them, it's still missing. :evil:

Found this: http://www.libusb.org/ and then tried "sudo apt-get install libusb-1.0.9" , but that does not work either.


Top
 Profile  
 
PostPosted: Fri Sep 19, 2014 10:15 am 
Offline
UberStudent Forum Helper

Joined: Fri Jul 25, 2014 11:17 pm
Posts: 65
Success: sudo apt-get install libusb-1.0 does the trick.

So libusb = libusb-1.0 (Uberstudent).

Now there are 3 optional dependencies and several required dependencies missing in the hplip installation process:
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: This installer cannot install 'libnetsnmp-devel' for your distro/OS and/or version.
warning: Option 'network' has been turned off.
warning: Missing REQUIRED dependency for option 'scan': sane-devel (SANE - Scanning library development files)
warning: This installer cannot install 'sane-devel' for your distro/OS and/or version.
warning: Option 'scan' has been turned off.
warning: Missing OPTIONAL dependency for option 'scan': xsane (xsane - Graphical scanner frontend for SANE)
warning: This installer cannot install 'xsane' for your distro/OS and/or version.


Despite of the above missing dependencies, installation did progress and finish, but the printer is still not being detected.


Top
 Profile  
 
PostPosted: Fri Sep 19, 2014 10:58 am 
Offline
UberStudent Forum Helper

Joined: Fri Jul 25, 2014 11:17 pm
Posts: 65
And then...while shutting down the numerous tabs still open from my disorganised search, I found an open tab with this site: http://hplipopensource.com/hplip-web/in ... buntu.html
Now "sh hplip-3.14.6.run" works like a charm!
And the printer has been found and is setting up! :D
Test page printed, seems like it's all good now.

So here is the 'How to set up a HP Officejet Pro 8610 in Uberstudent" :

1) Go to http://hplipopensource.com/hplip-web/in ... buntu.html and run the code
Code:
sudo apt-get install --assume-yes avahi-utils libcups2 cups libcups2-dev cups-bsd cups-client libcupsimage2-dev libdbus-1-dev build-essential ghostscript openssl libjpeg-dev libsnmp-dev libtool libusb-1.0.0-dev wget python-imaging policykit-1 policykit-1-gnome gtk2-engines-pixbuf python-qt4 python-qt4-dbus python-dbus python-gobject python-dev python-notify2 python python-reportlab libsane libsane-dev sane-utils xsane


Do not continue to follow the complex process of steps 3 etc on that page (configure, run make, make install etc) but continue the Installer Walkthrough descibed here: http://hplipopensource.com/hplip-web/in ... index.html from step 1 as if your OS was Ubuntu.
1) Download the installer file http://prdownloads.sourceforge.net/hpli ... 3.14.6.run
2) Run the automatic installer after changing directory into the location where you saved it, for example the desktop:
Code:
cd desktop
sh hplip-3.14.6.run

Follow the prompts in the terminal.

I hope that's all that's required, but am by no means certain. Some of my preliminary "stab-in-the-dark" steps might actually have been useful, but maybe not.

I'll try this out on another Uberstudent laptop soon and report back if it works.


Top
 Profile  
 
 Post subject: Re: Package Names
PostPosted: Fri Sep 19, 2014 2:17 pm 
Offline
UberStudent Staff
User avatar

Joined: Mon Jan 21, 2013 7:18 pm
Posts: 106
Secrect A Gent wrote:
The website even announces this: "(Note: Your package names will vary depending on your Linux distribution. please refer to your Linux distribution documentation and/or support resources.)". So here is the question I need to answer: Where is the documentation for Uberstudent....

Since UberStudent is a derivative of Ubuntu/Xubuntu, the vast majority of its package names are inherited directly from Ubuntu; indeed, the majority of UberStudent's packages are downloaded from the Ubuntu repositories. The percentage of package names inherited from Ubuntu increases to 100% when discussing just packages related to hardware [such as printers and scanners]. What this means is that to find a package name for UberStudent, what you are usually looking for is the package name for Ubuntu (which is why I suggested Ubuntu forums such as AskUbuntu.com).

Another resource for finding package names is the Synaptic Package Manager, located under Applications > System > Software. For package names, I recommend utilizing the various Ubuntu forums first and Synaptic second.

_________________
Cybermancy.net - Creativity via code


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ]  Go to page 1, 2  Next

Click Here to Get Inexpensive UberStudent Discs


Click here to get UberStudent discs delivered to your mailbox
Delivered Directly to Your Mailbox!



All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group