[Çözüldü] Yazıcı yazdırmama sorunu (HP-Laser Jet-1018)

Başlatan edge35, 04 Nisan 2017 - 20:28:21

« önceki - sonraki »

0 Üyeler ve 1 Ziyaretçi konuyu incelemekte.

edge35

Ubuntu kurduğumdan beri herhangi bir şey yazdıramıyorum. İki farklı yazıcıdan denedim, ikisinde de olmadı. İkisi de HP markaydı. Normalde Kullandığım başlıkta da belirttiğim HP-Laser Jet-1018. Aşağıdaki linklerde söylenenleri denedim fakat bir işe yaramadı. Yardımcı olabilecek varsa sevinirim.

https://ubuntuforums.org/showthread.php?t=2218286 İkinci yorumu anlamadığım için denemedim.

Düzeltme: İkinci yorumu da denedim, düzelmedi.


Sorunlarımı çözerken her şeyiyle öğrenmeye çalışıyorum. Bana balık verenden Allah razı olsun, ama bana balık tutmayı öğretenden Allah daha çok razı olsun :)

ata1


edge35

[mention=622132]@ata1[/mention] Hocam önce yanlışlıkla ilk linktedi "Ubuntu 12.04 and above in python2 environment" için olanı yaptım. Farkedince 14.04 için olanı yaptım. Olmadı. Ardından ikinci linktekini yani yazdığınız kodu denedim. Hata verdi. Çıktıları şu şekilde:
myilmaz@muhammed-ubuntu:/media/myilmaz/Etiket_Yedek/Documents/ITU/BIL105E/Old Exams$ 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 snmp-mibs-downloader libtool libusb-1.0.0-dev wget policykit-1 policykit-1-gnome python3-dbus python3-gi python3-dev python3-notify2 python3-imaging python3-pyqt4 gtk2-engines-pixbuf python3-dbus.mainloop.qt python3-reportlab python3-lxml libsane libsane-dev sane-utils xsane
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'libusb-1.0-0-dev' for regex 'libusb-1.0.0-dev'
Package python3-imaging is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  python3-pil:i386 python3-pil

E: Package 'python3-imaging' has no installation candidate
myilmaz@muhammed-ubuntu:/media/myilmaz/Etiket_Yedek/Documents/ITU/BIL105E/Old Exams$ sudo hp-setup

HP Linux Imaging and Printing System (ver. 3.16.3)
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.

error: HPLIP is not installed properly or is installed without graphical support. Please reinstall HPLIP
warning: Qt/PyQt 4 initialization failed.
error: hp-setup requires GUI support (try running with --qt3). Also, try using interactive (-i) mode.


Sorunlarımı çözerken her şeyiyle öğrenmeye çalışıyorum. Bana balık verenden Allah razı olsun, ama bana balık tutmayı öğretenden Allah daha çok razı olsun :)

ata1


edge35

[mention=622134]@ata1[/mention]
Bu sefer de çıktı bu:
$ sudo apt-get install qt3
[sudo] password for myilmaz:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package qt3


Sorunlarımı çözerken her şeyiyle öğrenmeye çalışıyorum. Bana balık verenden Allah razı olsun, ama bana balık tutmayı öğretenden Allah daha çok razı olsun :)

ata1


edge35

#6
sudo apt-get install python-qt4
komutu ile yükleme yaptım. Ardından tekrar
sudo hp-setup
denedim, olmadı. Ardından
sudo hp-check -r
yazdım, baya bir hata buldu. Çıktışı şu şekilde:

****silinen çıktı****

Çıktıyı şu şekilde düzeltiyorum, demin yazıcı bağlı değildi, onun da etkisi oldu galiba.
myilmaz@muhammed-ubuntu:~$ sudo hp-check -r
Saving output in log file: /home/myilmaz/hp-check.log

HP Linux Imaging and Printing System (ver. 3.16.3)
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


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

Kernel: 4.8.0-46-generic #49~16.04.1-Ubuntu SMP Fri Mar 31 14:51:03 UTC 2017 GNU/Linux
Host: muhammed-ubuntu
Proc: 4.8.0-46-generic #49~16.04.1-Ubuntu SMP Fri Mar 31 14:51:03 UTC 2017 GNU/Linux
Distribution: ubuntu 16.04
Bitness: 64 bit


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

HPLIP-Version: HPLIP 3.16.3
HPLIP-Home: /usr/share/hplip
HPLIP-Installation: Auto installation is supported for ubuntu distro  16.04 version

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

[hplip]
version=3.16.3

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hplip/HP
ppdbase=/usr/share/ppd/hplip
doc=/usr/share/doc/hplip
html=/usr/share/doc/hplip-doc
icon=no
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv
bin=/usr/bin
apparmor=/etc/apparmor.d
# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
libusb01-build=no
pp-build=yes
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=yes
foomatic-drv-install=yes
foomatic-ppd-install=yes
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.16.3
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=yes
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no
apparmor_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:
warning: Could not access file: No such file or directory
<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.18            OK         -
scanimage            scanimage - Shell scanning program                           OPTIONAL        1.0             1.0.25          OK         -
network              network -wget                                                OPTIONAL        -               1.17.1          OK         -
avahi-utils          avahi-utils                                                  OPTIONAL        -               0.6.32          OK         -
cups                 CUPS - Common Unix Printing System                           REQUIRED        1.1             2.1.3           OK         'CUPS Scheduler is running'
xsane                xsane - Graphical scanner frontend for SANE                  OPTIONAL        0.9             0.999           OK         -
dbus                 DBus - Message bus system                                    REQUIRED        -               1.10.6          OK         -
policykit            PolicyKit - Administrative policy framework                  OPTIONAL        -               0.105           OK         -

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

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

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

make                 make - GNU make utility to maintain groups of programs       REQUIRED        3.0             4.1             OK         -
gcc                  gcc - GNU Project C and C++ Compiler                         REQUIRED        -               5.4.0           OK         -
error: libtool       libtool - Library building support services                  REQUIRED        -               -               MISSING    'libtool needs to be installed'

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

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

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

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

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


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

No Scanner found.

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

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

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


HP-LaserJet-1018
----------------
Type: Printer
Device URI: hp:/usb/HP_LaserJet_1018?serial=KP1F08Y
PPD: /etc/cups/ppd/HP-LaserJet-1018.ppd
PPD Description: HP LaserJet 1018 Foomatic/foo2zjs-z1 (recommended)
Printer status: printer HP-LaserJet-1018 is idle.  enabled since Sal 04 Nis 2017 22:19:44 +03
error: Required plug-in status: Not installed
Communication status: Good


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

USB             HP-LaserJet-1018               Required        -        -        OK       Node:'/dev/bus/usb/002/010' Perm:'  root  lp rw- rw- rw- rw- r--'

-----------
| SUMMARY |
-----------

Missing Required Dependencies
-----------------------------
error: 'python3-dev' package is missing/incompatible
error: 'python3-pyqt4' package is missing/incompatible
error: 'gtk2-engines-pixbuf' package is missing/incompatible
error: 'libtool' package is missing/incompatible
error: 'libtool-bin' package is missing/incompatible

Missing Optional Dependencies
-----------------------------
error: 'python3-notify2' package is missing/incompatible
error: 'python3-dbus.mainloop.qt' package is missing/incompatible

Plug-in Status
--------------
error: Plug-ins need to be installed

Total Errors: 6
Total Warnings: 1


Done.


Sorunlarımı çözerken her şeyiyle öğrenmeye çalışıyorum. Bana balık verenden Allah razı olsun, ama bana balık tutmayı öğretenden Allah daha çok razı olsun :)

mendirec

[mention=622142]@edge35[/mention] İlk önce şu komutu uygulayalım.
sudo apt install hplip-gui
Kurulumdan sonra şu komut ile yazıcı ekleme işlemini yapalım.
hp-setup

edge35

Alıntı yapılan: mendirec - 06 Nisan 2017 - 13:11:21
[mention=622142]@edge35[/mention] İlk önce şu komutu uygulayalım.
sudo apt install hplip-gui
Kurulumdan sonra şu komut ile yazıcı ekleme işlemini yapalım.
hp-setup

Teşekkür ederim, bununla birlikte düzeldi.


Sorunlarımı çözerken her şeyiyle öğrenmeye çalışıyorum. Bana balık verenden Allah razı olsun, ama bana balık tutmayı öğretenden Allah daha çok razı olsun :)