[Çözüldü] Ubuntu 15.04 hp a 1018 yazıcı sorunu

Başlatan 1han, 06 Ağustos 2015 - 21:17:00

« önceki - sonraki »

0 Üyeler ve 1 Ziyaretçi konuyu incelemekte.

1han

Yazıcı 3.15.7 eklentisini  kurduktan sonra ekteki uyarıyı alıyorum. 15.04 te yazıcımı bir türlü tanıtamadım. Yardımcı olursanız sevinirim.

[eklenti yönetici tarafından silindi]

betseg

Hata mesajında uçbirimde hp-plugin
yürütün yazıyor.

1han

Alıntı yapılan: betseg - 06 Ağustos 2015 - 21:23:17
Hata mesajında uçbirimde hp-plugin
yürütün yazıyor.

Yani ne yapmam gerekiyor?

betseg

Uçbirimi açıphp-plugin
yazın ve enter'a basın.

1han

Alıntı yapılan: betseg - 06 Ağustos 2015 - 21:27:11
Uçbirimi açıphp-plugin
yazın ve enter'a basın.

'hp-plugin' komutu bulunamadı, şunu mu demek istediniz:
'hp-plugin' paketinden 'hplip' komutu (main)
hp-plugin: komut bulunamadı

heartsmagic

hplip kurulu mu?
dpkg -l | grep hplip
çıktısını buraya geçer misin?
Hayattan çıkarı olmayanların, ölümden de çıkarı olmayacaktır.
Hayatlarıyla yanlış olanların ölümleriyle doğru olmalarına imkân var mıdır?


Böylece yalan, dünyanın düzenine dönüştürülüyor.

1han

Alıntı yapılan: heartsmagic - 09 Ağustos 2015 - 04:29:12
hplip kurulu mu?
dpkg -l | grep hplip
çıktısını buraya geçer misin?

rc  hplip                                                3.15.2-0ubuntu4.2                          amd64        HP Linux Printing and Imaging System (HPLIP)
rc  hplip-gui                                            3.15.2-0ubuntu4.2                          all          HP Linux Printing and Imaging - GUI utilities (Qt-based)

sisteme 3.15.7 sürümünü kurduğum halde 3.15.2 görünüyor komutta.

heartsmagic

Nereden ve nasıl kurdun hplip sürücülerini? İlk iletide bahsettiğin eklenti hplip mi? Eğer öyleyse kendisi eklenti değil sürücü ve araçlar topluluğudur.
hplip
dediğinde sistem tepki vermiyorsa kuramamışsın demektir. Gerçi emin olamadım bundan ama en kötü:
hplip-gui
komutunun tepki vermesi lazım.
Hayattan çıkarı olmayanların, ölümden de çıkarı olmayacaktır.
Hayatlarıyla yanlış olanların ölümleriyle doğru olmalarına imkân var mıdır?


Böylece yalan, dünyanın düzenine dönüştürülüyor.

1han

Alıntı yapılan: heartsmagic - 11 Ağustos 2015 - 01:33:19
Nereden ve nasıl kurdun hplip sürücülerini? İlk iletide bahsettiğin eklenti hplip mi? Eğer öyleyse kendisi eklenti değil sürücü ve araçlar topluluğudur.
hplip
dediğinde sistem tepki vermiyorsa kuramamışsın demektir. Gerçi emin olamadım bundan ama en kötü:
hplip-gui
komutunun tepki vermesi lazım.

http://hplipopensource.com/hplip-web/downloads.html

yukarıdaki resmi sürücüyü kurmaya çalıştım.

mendirec


1han

Alıntı yapılan: mendirec - 11 Ağustos 2015 - 15:10:06
hp-doctor
komut ne döndürüyor?

hp-doctor

HP Linux Imaging and Printing System (ver. 3.15.7)
Self Diagnse Utility and Healing Utility ver. 1.0

Copyright (c) 2001-15 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.



Checking for Deprecated items....
error: This distro (i.e ubuntu  15.04) is either deprecated or not yet supported.
The diagnosis is limited on unsupported platforms. Do you want to continue?(y=yes*, n=no):y


Checking for HPLIP updates....

HP Linux Imaging and Printing System (ver. 3.15.7)
HPLIP upgrade latest version ver. 1.0

Copyright (c) 2001-15 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.

Latest version of HPLIP is already installed.


Checking for Dependencies....
warning: ubuntu-15.04 version is not supported. Using ubuntu-14.10 versions dependencies to verify and install...

---------------
| SYSTEM INFO |
---------------

Kernel: 3.19.0-15-generic #15-Ubuntu SMP Thu Apr 16 23:32:37 UTC 2015 GNU/Linux
Host: brhan-ubuntu
Proc: 3.19.0-15-generic #15-Ubuntu SMP Thu Apr 16 23:32:37 UTC 2015 GNU/Linux
Distribution: ubuntu 15.04
Bitness: 64 bit


-----------------------
| HPLIP CONFIGURATION |
-----------------------

HPLIP-Version: HPLIP 3.15.7
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for ubuntu distro  15.04 version

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf.  Generated from hplip.conf.in by configure.

[hplip]
version=3.15.7

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hplip/HP
ppdbase=/usr/share/ppd/hplip
doc=/usr/share/doc/hplip-3.15.7
html=/usr/share/doc/hplip-3.15.7
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv/hp
bin=/usr/bin

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
libusb01-build=no
pp-build=no
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=no
foomatic-drv-install=no
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.15.7
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=no
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no


Current contents of '/var/lib/hp/hplip.state' file:
Plugins are not installed. Could not access file: No such file or directory

Current contents of '~/.hplip/hplip.conf' file:
[upgrade]
notify_upgrade = true
last_upgraded_time = 1439303050
pending_upgrade_time = 0
latest_available_version = 3.15.7

[settings]
systray_visible = 0
systray_messages = 0

[last_used]
device_uri = "hp:/usb/HP_LaserJet_1018?serial=KP3EXBH"
printer_name =
working_dir = .

[commands]
scan = /usr/bin/simple-scan %SANE_URI%

[refresh]
rate = 30
enable = false
type = 1

[polling]
enable = false
interval = 5
device_list =

[fax]
voice_phone =
email_address =

[installation]
date_time = 08/11/15 17:40:14
version = 3.15.7


<Package-name>        <Package-Desc>      <Required/Optional> <Min-Version> <Installed-Version> <Status>   <Comment>

--------------------------
|  External Dependencies |
--------------------------

gs                   GhostScript - PostScript and PDF language interpreter and previewer REQUIRED        7.05            9.15            OK         -
network              network -wget                                                OPTIONAL        -               1.16.1          OK         -
avahi-utils          avahi-utils                                                  OPTIONAL        -               0.6.31          OK         -
policykit            PolicyKit - Administrative policy framework                  OPTIONAL        -               0.105           OK         -
scanimage            scanimage - Shell scanning program                           OPTIONAL        1.0             1.0.24          OK         -
dbus                 DBus - Message bus system                                    REQUIRED        -               1.8.12          OK         -
xsane                xsane - Graphical scanner frontend for SANE                  OPTIONAL        0.9             0.998           OK         -
cups                 CUPS - Common Unix Printing System                           REQUIRED        1.1             2.0.2           OK         'CUPS Scheduler is running'

-------------------------
|  General Dependencies |
-------------------------

python3-pil          PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL        -               1.1.7           OK         -
libnetsnmp-devel     libnetsnmp-devel - SNMP networking library development files REQUIRED        5.0.9           5.7.2           OK         -
sane                 SANE - Scanning library                                      REQUIRED        -               1.0.24          OK         -
python3X             Python 2.2 or greater - Python programming language          REQUIRED        2.2             2.7.9           OK         -
libcrypto            libcrypto - OpenSSL cryptographic library                    REQUIRED        -               1.0.1           OK         -
sane-devel           SANE - Scanning library development files                    REQUIRED        -               1.0.24          OK         -
python3-notify2      Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL        -               -               OK         -
python3-pyqt4-dbus   PyQt 4 DBus - DBus Support for PyQt4                         OPTIONAL        4.0             4.11.3          OK         -
cups-image           CUPS image - CUPS image development files                    REQUIRED        -               2.0.2           OK         -
libjpeg              libjpeg - JPEG library                                       REQUIRED        -               -               OK         -
cups-devel           CUPS devel- Common Unix Printing System development files    REQUIRED        -               2.0.2           OK         -
python3-pyqt4        PyQt 4- Qt interface for Python (for Qt version 4.x)         REQUIRED        4.0             4.11.3          OK         -
libpthread           libpthread - POSIX threads library                           REQUIRED        -               b'2.21'         OK         -
error: python3-reportlab Reportlab - PDF library for Python                           OPTIONAL        2.0             3.1.44          MISSING    'python3-reportlab needs to be installed'
libusb               libusb - USB library                                         REQUIRED        -               1.0             OK         -
python3-dbus         Python DBus - Python bindings for DBus                       REQUIRED        0.80.0          1.2.0           OK         -
python3-xml          Python XML libraries                                         REQUIRED        -               2.1.0           OK         -
error: python3-devel Python devel - Python development files                      REQUIRED        2.2             2.7.9           MISSING    'python3-devel needs to be installed'

---------------
|  COMPILEDEP |
---------------

gcc                  gcc - GNU Project C and C++ Compiler                         REQUIRED        -               4.9.2           OK         -
libtool              libtool - Library building support services                  REQUIRED        -               2.4.2           OK         -
make                 make - GNU make utility to maintain groups of programs       REQUIRED        3.0             4.0             OK         -

----------------------
|  Python Extentions |
----------------------

hpmudext             IO-Extension                                                 REQUIRED        -               3.15.7          OK         -
cupsext              CUPS-Extension                                               REQUIRED        -               3.15.7          OK         -

-----------------------
|  Scan Configuration |
-----------------------

scanext              Scan-SANE-Extension                                          REQUIRED        -               3.15.7          OK         -
hpaio                HPLIP-SANE-Backend                                           REQUIRED        -               3.15.7          OK         'hpaio found in /etc/sane.d/dll.conf'

-----------------------
|  Other Dependencies |
-----------------------


------------------------------
| DISCOVERED SCANNER DEVICES |
------------------------------

No Scanner found.

--------------------------
| DISCOVERED USB DEVICES |
--------------------------

  Device URI                        Model           
  --------------------------------  ----------------
  hp:/usb/HP_LaserJet_1018?serial=  HP LaserJet 1018
  KP3EXBH                                           

---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------


HP-LaserJet-1018
----------------
Type: Printer
Device URI: hp:/usb/HP_LaserJet_1018?serial=KP3EXBH
PPD: /etc/cups/ppd/HP-LaserJet-1018.ppd
warning: Failed to read /etc/cups/ppd/HP-LaserJet-1018.ppd ppd file
PPD Description:
Printer status: printer HP-LaserJet-1018 is idle.  enabled since Sal 11 Ağu 2015 17:24:28 EEST
error: Required plug-in status: Not installed
Communication status: Good

NAME
----
Type: Unknown
Device URI: ///dev/null


--------------
| PERMISSION |
--------------

USB             HP-LaserJet-1018               Required        -        -        OK       Node:'/dev/bus/usb/002/005' Perm:'  root  lp rw- rw- rw- rw- r--'
Missing Required Dependencies
-----------------------------
error: 'python3-dev' package is missing/incompatible


ENTER SUDO PASSWORD
-------------------
Please enter the sudoer (brhan)'s password:
Do you want to update repository and Install missing/incompatible packages. (a=install all*, c=custom_install, s=skip):a
Updating repository
-------------------
cmd =sudo dpkg --configure -a
cmd =sudo apt-get install --yes --force-yes -f
cmd =sudo apt-get update
Installing Missing/Incompatible packages
----------------------------------------
cmd =sudo apt-get install --assume-yes python3-dev


Checking Permissions....
Permissions are correct.


Checking for Configured Queues....
warning: Fail to read ppd=/etc/cups/ppd/HP-LaserJet-1018.ppd file
warning: Insufficient permission to access file /etc/cups/ppd/HP-LaserJet-1018.ppd
warning: Could not complete Queue(s) configuration check


Checking for HP Properitery Plugin's....
Plugin's are missing. Press 'y' to install the plugin(y=yes*, n=no):y
[sudo] password for brhan:
(Note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.)


-----------------------------------------
| PLUG-IN INSTALLATION FOR HPLIP 3.15.7 |
-----------------------------------------

  Option      Description                                       
  ----------  --------------------------------------------------
  d           Download plug-in from HP (recomended)             
  p           Specify a path to the plug-in (advanced)         
  q           Quit hp-plugin (skip installation)               

Enter option (d=download*, p=specify path, q=quit) ? d

-------------------
| DOWNLOAD PLUGIN |
-------------------

Checking for network connection...
Downloading plug-in from:
Downloading plug-in: [\                                   ] 0% Receiving digital keys: /usr/bin/gpg --homedir /home/brhan/.hplip/.gnupg --no-permission-warning --keyserver pgp.mit.edu --recv-keys 0x4ABA2F66DBD5A95894910E0673D770CDA59047B9


----------------------
| INSTALLING PLUG-IN |
----------------------

Creating directory plugin_tmp
Verifying archive integrity... All good.
Uncompressing HPLIP 3.15.7 Plugin Self Extracting Archive............................................
hp-plugin should not be run as root/superuser. Exiting.
error: Python gobject/dbus may be not installed

------------------------
| DOWNLOADING FIRMWARE |
------------------------


Downloading firmware to device hp:/usb/HP_LaserJet_1018?serial=KP3EXBH...
error: Firmware file '/usr/share/hplip/data/firmware/hp_laserjet_1018.fw.gz' not found.

Done.

Diagnose completed...



More information on Troubleshooting,How-To's and Support is available on http://hplipopensource.com/hplip-web/index.html

mendirec

İlk önce iletilerin daha kolay okunabilmesi için komut çıktılarını kod etiketini içerisine alabilirsiniz.
https://forum.ubuntu-tr.net/index.php?topic=14283.0

Aşağıdaki komut ile gerekli plugin dosyasını indirelim.
wget https://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/hplip-3.15.7-plugin.run --no-check-certificate

Dosya ev dizinine indirilecektir. Daha sonra bu komutu uçbirimde yürütün.
hp-plugin
Karşınıza gelen pencerede 2. seçeneği seçin ve plugin dosyasını gösterin.

En son ise aşağıdaki komut ile yazıcı ekleyip çıktı almaya çalışırsınız ve sonucu buraya geçersiniz.

hp-setup

1han

Alıntı yapılan: mendirec - 11 Ağustos 2015 - 18:45:13
İlk önce iletilerin daha kolay okunabilmesi için komut çıktılarını kod etiketini içerisine alabilirsiniz.
https://forum.ubuntu-tr.net/index.php?topic=14283.0

Aşağıdaki komut ile gerekli plugin dosyasını indirelim.
wget https://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/hplip-3.15.7-plugin.run --no-check-certificate

Dosya ev dizinine indirilecektir. Daha sonra bu komutu uçbirimde yürütün.
hp-plugin
Karşınıza gelen pencerede 2. seçeneği seçin ve plugin dosyasını gösterin.

En son ise aşağıdaki komut ile yazıcı ekleyip çıktı almaya çalışırsınız ve sonucu buraya geçersiniz.

hp-setup

Ekteki hatayı verdi.


[eklenti yönetici tarafından silindi]

mendirec

Ben de hata vermeden kurulum tamamlandı. Hplip'i tekrar kuralım.

wget http://prdownloads.sourceforge.net/hplip/hplip-3.15.7.run --no-check-certificate
chmod +x hplip-3.15.7.run
sh hplip-3.15.7.run

1han

sudo apt-get update

sudo apt-get remove hplip cups-filters cups hplip-data system-config-printer-udev

sudo rm -v -rf /usr/share/hplip

sudo apt-get install printer-driver-foo2zjs printer-driver-foo2zjs-common

sudo apt-get install tix groff dc cups cups-filters

sudo getweb 1018

d. Disconnect the USB cable of the printer, count to five and reconnect it.

e. Launch the application Printers again from the menu and add your printer. Then print a test page.

f. Reboot your computer and turn the printer off and on. All should be well now permanently.

kaynak: https://sites.google.com/site/easylinuxtipsproject/14    ve   https://mark911.wordpress.com/2014/10/31/how-to-install-printer-drivers-for-hp-laserjet-1020-in-ubuntu-14-04-lts-without-needing-access-to-openprinting-org-website/

Yazılanları yaptım ve yazıcı çalıştı.

heartsmagic

Geri bildirim ve etiket için teşekkürler @1han. İleride iletilerinde komut çıktısı vs. kullandığında @mendirec'in gösterdiği başlığa bakmanı rica edeceğim senden:
kodetiketi
Hayattan çıkarı olmayanların, ölümden de çıkarı olmayacaktır.
Hayatlarıyla yanlış olanların ölümleriyle doğru olmalarına imkân var mıdır?


Böylece yalan, dünyanın düzenine dönüştürülüyor.