{"id":6311,"date":"2020-05-10T08:31:46","date_gmt":"2020-05-10T08:31:46","guid":{"rendered":"http:\/\/myprojects.advchaweb.com\/?p=6311"},"modified":"2020-08-04T09:26:12","modified_gmt":"2020-08-04T09:26:12","slug":"install-printer-hp-deskjet-2135-on-ubuntu-16-04","status":"publish","type":"post","link":"https:\/\/myprojects.advchaweb.com\/index.php\/2020\/05\/10\/install-printer-hp-deskjet-2135-on-ubuntu-16-04\/","title":{"rendered":"Install Printer HP Deskjet 2135 on Ubuntu 16.04"},"content":{"rendered":"<p>REF: https:\/\/martianuswb.com\/?p=5378<br \/>\nAT FIRST I TRIED TO USE AUTOMATIC INSTALLATION INSTEAD OF THE CUSTOM ONE AND IT FAILED:<\/p>\n<p>Running &#8216;sudo apt-get install &#8211;assume-yes libcupsimage2-dev&#8217;<br \/>\nPlease wait, this may take several minutes&#8230;<br \/>\nerror: Package install command failed with error code 100<\/p>\n<p>error: A required dependency &#8216;cups (CUPS &#8211; Common Unix Printing System)&#8217; is still missing.<br \/>\nerror: A required dependency &#8216;cups-image (CUPS image &#8211; CUPS image development files)&#8217; is still missing.<br \/>\nerror: Installation cannot continue without these dependencies.<br \/>\nerror: Please manually install this dependency and re-run this installer.<\/p>\n<p>sudo apt-get install &#8211;reinstall libpng12-0=1.2.54-1ubuntu1.1 libpng-dev libcupsimage2-dev<\/p>\n<p>Running &#8216;sudo apt-get install &#8211;assume-yes libcups2&#8217;<br \/>\nPlease wait, this may take several minutes&#8230;<br \/>\n|Gtk-Message: Failed to load module &#8220;topmenu-gtk-module&#8221;<br \/>\nerror: A required dependency &#8216;cups (CUPS &#8211; Common Unix Printing System)&#8217; is still missing.<\/p>\n<p>error: A required dependency &#8216;pyqt5 (PyQt 5- Qt interface for Python (for Qt version 4.x))&#8217; is still missing.<br \/>\nerror: Installation cannot continue without this dependency.<br \/>\nerror: Please manually install this dependency and re-run this installer.<\/p>\n<p>SOLUTION: USE CUSTOM INSTALLATION:<br \/>\nALSO TRIED TO ENABLE CUPS SERVICE ???<br \/>\nteddy@teddy:~\/Documents\/HP_deskjet_2135$ sh hplip-3.20.3.run<br \/>\nCreating directory hplip-3.20.3<br \/>\nVerifying archive integrity&#8230; All good.<br \/>\nUncompressing HPLIP 3.20.3 Self Extracting Archive&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;<\/p>\n<p>HP Linux Imaging and Printing System (ver. 3.20.3)<br \/>\nHPLIP Installer ver. 5.1<\/p>\n<p>Copyright (c) 2001-18 HP Development Company, LP<br \/>\nThis software comes with ABSOLUTELY NO WARRANTY.<br \/>\nThis is free software, and you are welcome to distribute it<br \/>\nunder certain conditions. See COPYING file for more details.<\/p>\n<p>Installer log saved in: hplip-install_Sun-10-May-2020_14:43:23.log<\/p>\n<p>\\<br \/>\nnote: Defaults for each question are maked with a &#8216;*&#8217;. Press &lt;enter&gt; to accept the default.<br \/>\n\/Gtk-Message: Failed to load module &#8220;topmenu-gtk-module&#8221;<br \/>\n-Gtk-Message: Failed to load module &#8220;topmenu-gtk-module&#8221;<\/p>\n<p>INSTALLATION MODE<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br \/>\nAutomatic mode will install the full HPLIP solution with the most common options.<br \/>\nCustom mode allows you to choose installation options to fit specific requirements.<\/p>\n<p>Please choose the installation mode (a=automatic*, c=custom, q=quit) : c<\/p>\n<p>INTRODUCTION<br \/>\n&#8212;&#8212;&#8212;&#8212;<br \/>\nThis installer will install HPLIP version 3.20.3 on your computer.<br \/>\nPlease close any running package management systems now (YaST, Adept, Synaptic, Up2date, etc).<\/p>\n<p>DISTRO\/OS CONFIRMATION<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br \/>\nDistro appears to be Ubuntu 16.04.<\/p>\n<p>Is &#8220;Ubuntu 16.04&#8221; your correct distro\/OS and version (y=yes*, n=no, q=quit) ? y<\/p>\n<p>DRIVER OPTIONS<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8211;<br \/>\nWould you like to install Custom Discrete Drivers or Class Drivers ( &#8216;d&#8217;= Discrete Drivers*,&#8217;c&#8217;= Class Drivers,&#8217;q&#8217;= Quit)? : d<\/p>\n<p>Initializing. Please wait&#8230;<\/p>\n<p>SELECT HPLIP OPTIONS<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br \/>\nYou can select which HPLIP options to enable. Some options require extra dependencies.<\/p>\n<p>Do you wish to enable &#8216;Network\/JetDirect I\/O&#8217; (y=yes*, n=no, q=quit) ? y<br \/>\nDo you wish to enable &#8216;Graphical User Interfaces (Qt4)&#8217; (y=yes*, n=no, q=quit) ? y<br \/>\nDo you wish to enable &#8216;Graphical User Interfaces (Qt5)&#8217; (y=yes, n=no*, q=quit) ? n<br \/>\nDo you wish to enable &#8216;PC Send Fax support&#8217; (y=yes*, n=no, q=quit) ? n<br \/>\nDo you wish to enable &#8216;Scanning support&#8217; (y=yes*, n=no, q=quit) ? y<br \/>\nDo you wish to enable &#8216;HPLIP documentation (HTML)&#8217; (y=yes*, n=no, q=quit) ? y<\/p>\n<p>ENTER USER PASSWORD<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br \/>\nPlease enter the sudoer (teddy)&#8217;s password:<\/p>\n<p>INSTALLATION NOTES<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br \/>\nEnable the universe\/multiverse repositories. Also be sure you are using the Ubuntu &#8220;Main&#8221; Repositories. See: https:\/\/help.ubuntu.com\/community\/Repositories\/Ubuntu for more information. Disable the CD-ROM\/DVD source if you do not have the Ubuntu installation media inserted in the drive.<\/p>\n<p>Please read the installation notes. Press &lt;enter&gt; to continue or &#8216;q&#8217; to quit:<\/p>\n<p>SECURITY PACKAGES<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br \/>\nAppArmor is installed.<br \/>\nAppArmor protects the application from external intrusion attempts making the application secure<\/p>\n<p>Would you like to have this installer install the hplip specific policy\/profile (y=yes*, n=no, q=quit) ? y<\/p>\n<p>RUNNING PRE-INSTALL COMMANDS<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br \/>\nOK<\/p>\n<p>CHECKING FOR NETWORK CONNECTION<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br \/>\nNetwork connection present.<\/p>\n<p>RUNNING PRE-PACKAGE COMMANDS<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br \/>\nsudo dpkg &#8211;configure -a (Pre-depend step 1)<br \/>\nsudo apt-get install &#8211;yes &#8211;force-yes -f (Pre-depend step 2)<br \/>\nwarning: An error occurred running &#8216;sudo apt-get update&#8217;<br \/>\nsudo apt-get update (Pre-depend step 3)<br \/>\nOK<\/p>\n<p>DEPENDENCY AND CONFLICT RESOLUTION<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br \/>\n\\Gtk-Message: Failed to load module &#8220;topmenu-gtk-module&#8221;<br \/>\nHPLIP-3.16.3 exists, this may conflict with the new one being installed.<br \/>\nDo you want to (&#8216;i&#8217;= Remove and Install*, &#8216;q&#8217;= Quit)? :i<br \/>\nStarting uninstallation&#8230;<br \/>\nHPLIP uninstallation is completed<\/p>\n<p>RUNNING POST-PACKAGE COMMANDS<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br \/>\nOK<\/p>\n<p>RE-CHECKING DEPENDENCIES<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br \/>\n\/Gtk-Message: Failed to load module &#8220;topmenu-gtk-module&#8221;<br \/>\nOK<\/p>\n<p>RUNNING SCANJET DEPENDENCY COMMANDS<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br \/>\nsudo apt-get install &#8211;assume-yes python-pip (Scanjet-depend step 1)<br \/>\nsudo pip install &#8211;upgrade pip (Scanjet-depend step 2)<br \/>\nsudo apt-get install &#8211;assume-yes libleptonica-dev (Scanjet-depend step 3)<br \/>\nsudo apt-get install &#8211;assume-yes tesseract-ocr (Scanjet-depend step 4)<br \/>\nsudo apt-get install &#8211;assume-yes libtesseract-dev (Scanjet-depend step 5)<br \/>\nsudo -H pip install tesserocr (Scanjet-depend step 6)<br \/>\nsudo apt-get install &#8211;assume-yes libzbar-dev (Scanjet-depend step 7)<br \/>\nwarning: Failed to install this Scanjet dependency package. Some Scanjet features will not work.<br \/>\nsudo apt-get install &#8211;assume-yes python-zbar (Scanjet-depend step 8)<br \/>\nsudo apt-get install &#8211;assume-yes python-opencv (Scanjet-depend step 9)<br \/>\nsudo apt-get install &#8211;assume-yes python-pypdf2 (Scanjet-depend step 10)<br \/>\nsudo -H pip install imutils (Scanjet-depend step 11)<br \/>\nsudo -H pip install pypdfocr (Scanjet-depend step 12)<br \/>\nwarning: Failed to install this Scanjet dependency package. Some Scanjet features will not work.<br \/>\nsudo -H pip install scikit-image (Scanjet-depend step 13)<br \/>\n\/<br \/>\nsudo -H pip install scipy (Scanjet-depend step 14)<br \/>\nOK<\/p>\n<p>READY TO BUILD AND INSTALL<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br \/>\nReady to perform build and install. Press &lt;enter&gt; to continue or &#8216;q&#8217; to quit:<\/p>\n<p>PRE-BUILD COMMANDS<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br \/>\nOK<\/p>\n<p>BUILD AND INSTALL<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br \/>\nRunning &#8216;.\/configure &#8211;with-hpppddir=\/usr\/share\/ppd\/HP &#8211;libdir=\/usr\/lib &#8211;prefix=\/usr &#8211;enable-qt4 &#8211;disable-qt5 &#8211;enable-doc-build &#8211;disable-cups-ppd-install &#8211;disable-foomatic-drv-install &#8211;disable-libusb01_build &#8211;disable-foomatic-ppd-install &#8211;disable-hpijs-install &#8211;disable-class-driver &#8211;disable-udev_sysfs_rules &#8211;disable-policykit &#8211;enable-cups-drv-install &#8211;enable-hpcups-install &#8211;enable-network-build &#8211;enable-dbus-build &#8211;enable-scan-build &#8211;disable-fax-build &#8211;enable-apparmor_build&#8217;<br \/>\nPlease wait, this may take several minutes&#8230;<br \/>\nCommand completed successfully.<\/p>\n<p>Running &#8216;make clean&#8217;<br \/>\nPlease wait, this may take several minutes&#8230;<br \/>\nCommand completed successfully.<\/p>\n<p>Running &#8216;make&#8217;<br \/>\nPlease wait, this may take several minutes&#8230;<br \/>\nCommand completed successfully.<\/p>\n<p>Running &#8216;sudo make install&#8217;<br \/>\nPlease wait, this may take several minutes&#8230;<br \/>\nCommand completed successfully.<\/p>\n<p>Build complete.<\/p>\n<p>POST-BUILD COMMANDS<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<\/p>\n<p>CLOSE HP_SYSTRAY<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;-<br \/>\nSending close message to hp-systray (if it is currently running)&#8230;<br \/>\nOK<\/p>\n<p>HPLIP UPDATE NOTIFICATION<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br \/>\nDo you want to check for HPLIP updates?. (y=yes*, n=no) : y<\/p>\n<p>RESTART OR RE-PLUG IS REQUIRED<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br \/>\nIf you are installing a USB connected printer, and the printer was plugged in<br \/>\nwhen you started this installer, you will need to either restart your PC or<br \/>\nunplug and re-plug in your printer (USB cable only). If you choose to restart,<br \/>\nrun this command after restarting: hp-setup (Note: If you are using a parallel<br \/>\nconnection, you will have to restart your PC. If you are using network\/wireless,<br \/>\nyou can ignore and continue).<\/p>\n<p>Restart or re-plug in your printer (r=restart, p=re-plug in*, i=ignore\/continue, q=quit) : i<\/p>\n<p>PRINTER SETUP<br \/>\n&#8212;&#8212;&#8212;&#8212;-<br \/>\nWould you like to setup a printer now (y=yes*, n=no, q=quit) ? y<br \/>\nPlease make sure your printer is connected and powered on at this time.<br \/>\nDo you want to setup printer in GUI mode? (u=GUI mode*, i=Interactive mode) : u<\/p>\n<p>HP Linux Imaging and Printing System (ver. 3.20.3)<br \/>\nPrinter\/Fax Setup Utility ver. 9.0<\/p>\n<p>Copyright (c) 2001-18 HP Development Company, LP<br \/>\nThis software comes with ABSOLUTELY NO WARRANTY.<br \/>\nThis is free software, and you are welcome to distribute it<br \/>\nunder certain conditions. See COPYING file for more details.<\/p>\n<p>warning: Fax setup disabled &#8211; Python 2.3+ required.<br \/>\nGtk-Message: Failed to load module &#8220;topmenu-gtk-module&#8221;<br \/>\nSearching&#8230; (bus=usb, search=(None), desc=0)<\/p>\n<p>Done.<\/p>\n<p>RE-STARTING HP_SYSTRAY<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<\/p>\n<p>HP Linux Imaging and Printing System (ver. 3.20.3)<br \/>\nSystem Tray Status Service ver. 2.0<\/p>\n<p>Copyright (c) 2001-18 HP Development Company, LP<br \/>\nThis software comes with ABSOLUTELY NO WARRANTY.<br \/>\nThis is free software, and you are welcome to distribute it<br \/>\nunder certain conditions. See COPYING file for more details.<\/p>\n<p>Gtk-Message: Failed to load module &#8220;topmenu-gtk-module&#8221;<br \/>\n\/usr\/lib\/python2.7\/dist-packages\/gtk-2.0\/gtk\/__init__.py:127: RuntimeWarning: PyOS_InputHook is not available for interactive use of PyGTK<br \/>\nset_interactive(1)<br \/>\n&#8220;sni-qt\/11952&#8221; WARN 15:11:38.490 void StatusNotifierItemFactory::connectToSnw() Invalid interface to SNW_SERVICE<br \/>\nteddy@teddy:~\/Documents\/HP_deskjet_2135$<br \/>\nHP Linux Imaging and Printing System (ver. 3.20.3)<br \/>\nHP Device Manager ver. 15.0<\/p>\n<p>Copyright (c) 2001-18 HP Development Company, LP<br \/>\nThis software comes with ABSOLUTELY NO WARRANTY.<br \/>\nThis is free software, and you are welcome to distribute it<br \/>\nunder certain conditions. See COPYING file for more details.<\/p>\n<p>warning: Fax disabled.<br \/>\nwarning: Fax disabled.<br \/>\nwarning: Please install version 2.0+ of Reportlab for coverpage support.<br \/>\nerror: Fax address book disabled &#8211; Python 2.3+ required.<br \/>\nGtk-Message: Failed to load module &#8220;topmenu-gtk-module&#8221;<br \/>\n\\warning: Supplies information not available for this device.<br \/>\nwarning: Supplies information not available for this device.<br \/>\nGtk-Message: Failed to load module &#8220;topmenu-gtk-module&#8221;<br \/>\nGtk-Message: Failed to load module &#8220;topmenu-gtk-module&#8221;<\/p>\n<p>WHEN COMPUTER IS RESTARTED, I NEED TO START CUPS SERVICE<\/p>\n<pre class=\"lang:default decode:true\">teddy@teddy:~$ sudo \/etc\/init.d\/cups start\r\n[ ok ] Starting cups (via systemctl): cups.service.<\/pre>\n<p>SO COMPUTER CAN RECOGNIZE THE PRINTER!!!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>REF: https:\/\/martianuswb.com\/?p=5378 AT FIRST I TRIED TO USE AUTOMATIC INSTALLATION INSTEAD OF THE CUSTOM ONE AND IT FAILED: Running &#8216;sudo apt-get install &#8211;assume-yes libcupsimage2-dev&#8217; Please wait, this may take several minutes&#8230; error: Package install command failed with error code 100 error: A required dependency &#8216;cups (CUPS &#8211; Common Unix Printing System)&#8217; is still missing. error: &hellip; <a href=\"https:\/\/myprojects.advchaweb.com\/index.php\/2020\/05\/10\/install-printer-hp-deskjet-2135-on-ubuntu-16-04\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Install Printer HP Deskjet 2135 on Ubuntu 16.04&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[78],"tags":[],"class_list":["post-6311","post","type-post","status-publish","format-standard","hentry","category-ubuntu-16-04"],"_links":{"self":[{"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/posts\/6311","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/comments?post=6311"}],"version-history":[{"count":5,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/posts\/6311\/revisions"}],"predecessor-version":[{"id":6881,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/posts\/6311\/revisions\/6881"}],"wp:attachment":[{"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/media?parent=6311"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/categories?post=6311"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/tags?post=6311"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}