• Register
 OshiriX@geram.net  >  Cara Install HP Laserjet Profesional P1102 pada Distro OSHIRIX

salam, perkongsian satu pengalaman instalasi printer HP P1102 pada distro OSHIRIX 2011 based on debian. Walaupun disertakan dengan Cd instalasi HP, namun untuk menginstalasi di OS linux memerlukan satu pakej HPLIP. Ini kerana CD itu lebih kepada instalasi untuk pengguna Window$. Banyak kaedah yang saya dah cuba dan ini adalah kaedah yang terbaik dan ringkas untuk saya (mungkin juga untuk anda). keperluan: 1. internet connection via wired atau broadband (pastikan stabil) 2. printer yang dah siap dipasang dan plugin usb di pc saya menggunakan maxis broadband dan printer hp P1102 Prosedur: 1 anda perlu download hplip 2. bergantung kepada folder mana anda simpan fail yang telah didonlot tadi. 3. saya menyimpan di folder Downloads/printer_HP ~/Downloads$ cd printer_HP 4. bukak terminal dan taipkan: sh hlplip-3.11.5.run mypc@OshirixBox:~/Downloads/printer_HP$ ls hplip-3.11.5.run mypc@OshirixBox:~/Downloads/printer_HP$ sh hplip-3.11.5.run Creating directory hplip-3.11.5 Verifying archive integrity... All good. Uncompressing HPLIP 3.11.5 Self Extracting Archive....................................................................... ................................................................................. ................................................................................. ................................................................................. ................................................................................. ................................................................................. ................................................................................. ................................................................................. ................................................................................. ................................................................................. ................................................................................. ................................................................................. ................................................................................. ................................................................................. ................................................................................. ................................................................................. ................................................................................. ................................................................................. ................................................................................. ................................................................................. ................................................................................. ................................................................................. ................................................................................. ................................................................................. ................................................................................. ................................................................................. ................................................................................. ................................................................................. HP Linux Imaging and Printing System (ver. 3.11.5) HPLIP Installer ver. 5.1 Copyright (c) 2001-9 Hewlett-Packard 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_Sat-16-Jul-2011_21:35:26.log / note: Defaults for each question are maked with a '*'. Press to accept the default. 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 Initializing. Please wait... INTRODUCTION ------------ This installer will install HPLIP version 3.11.5 on your computer. Please close any running package management systems now (YaST, Adept, Synaptic, Up2date, etc). DISTRO/OS CONFIRMATION ---------------------- Distro appears to be Debian 6.0. Is "Debian 6.0" your correct distro/OS and version (y=yes*, n=no, q=quit) ? y ENTER ROOT/SUPERUSER PASSWORD ----------------------------- Please enter the root/superuser password: Password accepted INSTALLATION NOTES ------------------ NOTE: Disable the CD Sources in your apt sources.list or the install will fail and hang. Please read the installation notes. Press to continue or 'q' to quit: RUNNING PRE-INSTALL COMMANDS ---------------------------- OK INSTALL MISSING REQUIRED DEPENDENCIES ------------------------------------- warning: There are 5 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: cups-devel (CUPS devel- Common Unix Printing System 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 5 missing OPTIONAL dependencies. note: Installation of dependencies requires an active internet connection. warning: Missing REQUIRED dependency for option 'network': libcrypto (libcrypto - OpenSSL cryptographic library) 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) warning: Missing OPTIONAL dependency for option 'base': cups-ddk (CUPS DDK - CUPS driver development kit) warning: This installer cannot install 'cups-ddk' for your distro/OS and/or version. CHECKING FOR NETWORK CONNECTION ------------------------------- Network connection present. RUNNING PRE-PACKAGE COMMANDS ---------------------------- su -c "dpkg --configure -a" (Pre-depend step 1) su -c "apt-get install -f" (Pre-depend step 2) warning: An error occurred running 'su -c "apt-get update"' 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... Running 'su -c "apt-get install --force-yes -y libcups2-dev"' Please wait, this may take several minutes... Running 'su -c "apt-get install --force-yes -y cups-bsd"' Please wait, this may take several minutes... Running 'su -c "apt-get install --force-yes -y cups-client"' Please wait, this may take several minutes... Running 'su -c "apt-get install --force-yes -y libusb-dev"' Please wait, this may take several minutes... Running 'su -c "apt-get install --force-yes -y libcupsimage2"' Please wait, this may take several minutes... Running 'su -c "apt-get install --force-yes -y libcupsimage2-dev"' Please wait, this may take several minutes... Running 'su -c "apt-get install --force-yes -y libjpeg62-dev"' Please wait, this may take several minutes... Running 'su -c "apt-get install --force-yes -y libssl-dev"' Please wait, this may take several minutes... Running 'su -c "apt-get install --force-yes -y libsnmp-dev"' Please wait, this may take several minutes... Running 'su -c "apt-get install --force-yes -y libdbus-1-dev"' Please wait, this may take several minutes... Running 'su -c "apt-get install --force-yes -y libsane-dev"' Please wait, this may take several minutes... warning: A previous install of HPLIP is installed and/or running. su -c "apt-get remove --yes hplip hpijs hplip-data" (Removing old HPLIP version) warning: HPLIP removal failed. The previous install may have been installed using a tarball or this installer. warning: Continuing to run installer - this installation should overwrite the previous one. RUNNING POST-PACKAGE COMMANDS ----------------------------- OK RE-CHECKING DEPENDENCIES ------------------------ PRE-BUILD COMMANDS ------------------ OK BUILD AND INSTALL ----------------- Running './configure --with-hpppddir=/usr/share/ppd/HP --prefix=/usr --enable-qt4 --enable-doc-build --disable-cups-ppd-install --disable-foomatic-drv-install --disable-foomatic-ppd-install --disable-hpijs-install --disable-policykit --enable-cups-drv-install --enable-hpcups-install --enable-network-build --enable-dbus-build --enable-scan-build --enable-fax-build' Please wait, this may take several minutes... Command completed successfully. Running 'make clean' Please wait, this may take several minutes... Command completed successfully. Running 'make' Please wait, this may take several minutes... Command completed successfully. Running 'su -c "make install"' Please wait, this may take several minutes... Command completed successfully. Build complete. POST-BUILD COMMANDS ------------------- su -c "/usr/sbin/usermod -a -G lp,lpadmin mypc" (Post-build step 1) CLOSE HP_SYSTRAY ---------------- Sending close message to hp-systray (if it is currently running)... RESTART OR RE-PLUG IS REQUIRED ------------------------------ If you are installing a USB connected printer, and the printer was plugged in when you started this installer, you will need to either restart your PC or unplug and re-plug in your printer (USB cable only). If you choose to restart, run this command after restarting: hp-setup (Note: If you are using a parallel connection, you will have to restart your PC. If you are using network/wireless, you can ignore and continue). Restart or re-plug in your printer (r=restart, p=re-plug in*, i=ignore/continue, q=quit) : p Please unplug and re-plugin your printer now. Press to continue or 'q' to quit: PRINTER SETUP ------------- Please make sure your printer is connected and powered on at this time. KONFIGURASI PRINTER ANDA SECUKUP RASA......ENJOY SEMOGA BERMANFAAT UNTUK ANDA SEMUA
Posted in debian, linux, Oshirix, Printer HP   Add new comment
 

Leave a Reply

 

Copy Protected by Chetans WP-Copyprotect.