Deze kun je daarvoor gebruiken
lpstat -a
deze is ook leuk:
hp-check -t
Die hp-check -t geeft wel heel veel informatie, maakt het daardoor ook wat onduidelijk voor mij want daar wordt ook 17 fouten aangegeven...:
jana@Joybook-R31:~$ lpstat -a
Brother-MFC-J5910DW accepting requests since vr 26 jul 2013 21:24:26 CEST
HPPSC1400 accepting requests since vr 26 jul 2013 18:00:28 CEST
MFCJ5910DW accepting requests since vr 26 jul 2013 20:57:09 CEST
PSC-1400-series accepting requests since vr 26 jul 2013 17:44:57 CEST
jana@Joybook-R31:~$ hp-check -t
HP Linux Imaging and Printing System (ver. 3.12.2)
Dependency/Version Check Utility ver. 14.3
Copyright (c) 2011-14 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.
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).
Saving output in log file: hp-check.log
Initializing. Please wait...
---------------
| SYSTEM INFO |
---------------
Basic system information:
Linux Joybook-R31 3.2.0-49-generic #75-Ubuntu SMP Tue Jun 18 17:40:13 UTC 2013 i686 i686 i386 GNU/Linux
Distribution:
ubuntu 12.04
Checking Python version...
OK, version 2.7.3 installed
Checking PyQt 4.x version...
error: NOT FOUND OR FAILED TO LOAD!
Checking for CUPS...
Status: scheduler is running
warning: Version: (cups-config) Not available. Unable to determine installed version of CUPS.)
warning: /etc/cups/cupsd.conf file not found or not accessible.
Checking for dbus/python-dbus...
dbus daemon is running.
python-dbus version: 1.0.0
------------------------------------
| COMPILE AND RUNTIME DEPENDENCIES |
------------------------------------
note: To check for compile-time only dependencies, re-run hp-check with the -c parameter (ie, hp-check -c).
note: To check for run-time only dependencies, re-run hp-check with the -r parameter (ie, hp-check -r).
Checking for dependency: CUPS - Common Unix Printing System...
OK, found.
Checking for dependency: CUPS DDK - CUPS driver development kit...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
Checking for dependency: CUPS devel- Common Unix Printing System development files...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
Checking for dependency: CUPS image - CUPS image development files...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
Checking for dependency: DBus - Message bus system...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.
Checking for dependency: gcc - GNU Project C and C++ Compiler...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
OK, found.
Checking for dependency: libcrypto - OpenSSL cryptographic library...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.
Checking for dependency: libjpeg - JPEG library...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.
Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.
Checking for dependency: libpthread - POSIX threads library...
OK, found.
Checking for dependency: libtool - Library building support services...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
Checking for dependency: libusb - USB library...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.
Checking for dependency: make - GNU make utility to maintain groups of programs...
OK, found.
Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
OK, found.
Checking for dependency: PolicyKit - Administrative policy framework...
OK, found.
Checking for dependency: PyQt 4 DBus - DBus Support for PyQt4...
error: NOT FOUND! This is a REQUIRED/RUNTIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
Checking for dependency: Python DBus - Python bindings for DBus...
OK, found.
Checking for dependency: Python devel - Python development files...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
Checking for dependency: Python libnotify - Python bindings for the libnotify Desktop notifications...
OK, found.
Checking for dependency: Python XML libraries...
OK, found.
Checking for dependency: Python 2.3 or greater - Required for fax functionality...
OK, found.
Checking for dependency: Python 2.2 or greater - Python programming language...
OK, found.
Checking for dependency: Reportlab - PDF library for Python...
OK, found.
Checking for dependency: SANE - Scanning library...
OK, found.
Checking for dependency: SANE - Scanning library development files...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
Checking for dependency: scanimage - Shell scanning program...
OK, found.
Checking for dependency: xsane - Graphical scanner frontend for SANE...
OK, found.
----------------------
| HPLIP INSTALLATION |
----------------------
Currently installed HPLIP version...
HPLIP 3.12.2 currently installed in '/usr/share/hplip'.
Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf. Generated from hplip.conf.in by configure.
[hplip]
version=3.12.2
[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hplip/HP
ppdbase=/usr/share/ppd/hplip
doc=/usr/share/doc/hplip-doc/HTML
icon=no
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv
# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
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.12.2
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=yes
hpijs-only-build=no
lite-build=no
udev-acl-rules=yes
hpcups-only-build=no
hpijs-only-build=no
Current contents of '/var/lib/hp/hplip.state' file:
# hplip.state - HPLIP runtime persistent variables.
[plugin]
installed=0
eula=0
Current contents of '~/.hplip/hplip.conf' file:
[installation]
date_time = 27-07-13 18:40:40
version = 3.12.2
--------------------------
| DISCOVERED USB DEVICES |
--------------------------
Device URI Model
-------------------------------- ------------------
hp:/usb/PSC_1400_series?serial=C HP PSC 1400 series
N617D90P204DZ
---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------
Brother-MFC-J5910DW
-------------------
Type: Unknown
Device URI: dnssd://Brother%20MFC-J5910DW._pdl-datastream._tcp.local/
PPD: /etc/cups/ppd/Brother-MFC-J5910DW.ppd
PPD Description: Brother MFC-J5910DW CUPS
Printer status: printer Brother-MFC-J5910DW is idle. enabled since vr 26 jul 2013 21:24:26 CEST
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend to function in HPLIP.
HPPSC1400
---------
Type: Unknown
Device URI:
http://hostname:631/ipp/PPD: /etc/cups/ppd/HPPSC1400.ppd
PPD Description: HP PSC 1400 Series, hpcups 3.12.2
Printer status: printer HPPSC1400 is idle. enabled since vr 26 jul 2013 18:00:28 CEST
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend to function in HPLIP.
MFCJ5910DW
----------
Type: Unknown
Device URI: dnssd://Brother%20MFC-J5910DW._ipp._tcp.local/
PPD: /etc/cups/ppd/MFCJ5910DW.ppd
PPD Description: Brother MFC-J5910DW CUPS
Printer status: printer MFCJ5910DW is idle. enabled since vr 26 jul 2013 20:57:09 CEST
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend to function in HPLIP.
PSC-1400-series
---------------
Type: Printer
Device URI: hp:/usb/PSC_1400_series?serial=CN617D90P204DZ
PPD: /etc/cups/ppd/PSC-1400-series.ppd
PPD Description: HP PSC 1400 Series, hpcups 3.12.2
Printer status: printer PSC-1400-series is idle. enabled since vr 26 jul 2013 17:44:57 CEST
HP Linux Imaging and Printing System (ver. 3.12.2)
System Tray Status Service ver. 2.0
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.
warning: Qt/PyQt 4 initialization failed.
error: hp-systray requires Qt4 GUI and DBus support. Exiting.
warning: Unable to connect to dbus. Is hp-systray running?
Communication status: Good
----------------------
| SANE CONFIGURATION |
----------------------
'hpaio' in '/etc/sane.d/dll.conf'...
'hpaio' in '/etc/sane.d/dll.d/hplip'...
OK, found. SANE backend 'hpaio' is properly set up.
Checking output of 'scanimage -L'...
device `hpaio:/usb/PSC_1400_series?serial=CN617D90P204DZ' is a Hewlett-Packard PSC_1400_series all-in-one
---------------------
| PYTHON EXTENSIONS |
---------------------
Checking 'cupsext' CUPS extension...
OK, found.
Checking 'pcardext' Photocard extension...
OK, found.
Checking 'hpmudext' I/O extension...
OK, found.
Checking 'scanext' SANE scanning extension...
OK, found.
-----------------
| USB I/O SETUP |
-----------------
Checking for permissions of USB attached printers...
HP Device 0x4d11 at 002:002:
Device URI: hp:/usb/PSC_1400_series?serial=CN617D90P204DZ
HP Linux Imaging and Printing System (ver. 3.12.2)
System Tray Status Service ver. 2.0
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.
warning: Qt/PyQt 4 initialization failed.
error: hp-systray requires Qt4 GUI and DBus support. Exiting.
warning: Unable to connect to dbus. Is hp-systray running?
Device node: /dev/bus/usb/002/002
Mode: 0664
getfacl: Voorafgaande '/' in absolute padnamen worden verwijderd
# file: dev/bus/usb/002/002
# owner: root
# group: lp
user::rw-
user:jana:rw-
group::rw-
mask::rw-
other::r--
---------------
| USER GROUPS |
---------------
jana adm disk dialout fax cdrom floppy tape sudo audio dip backup video plugdev fuse scanner lpadmin nopasswdlogin sambashare
error: User needs to be member of group 'lp' to enable print, scan & fax.
User member of group 'lpadmin'.
-----------
| SUMMARY |
-----------
error: 17 errors and/or warnings.
Please refer to the installation instructions at:
http://hplip.sourceforge.net/install/index.htmlDone.