This is a static archive of the old Zorin Forum.

The information below may be outdated. Visit the new Zorin Forum here ›

If you have registered on the old forum, you will need to create an account on the new forum.

Problem with assigning user to 'lp' group

Iamnotjosh

Wed Jun 05, 2013 3:27:20 am

I have been having extensive printing problems. After installing HPLIP, I added my printer, which was set up just fine, and printed a test page during the process of adding the printer. However, beyond that I am not able to print. When I ran hp-check -r, I got the following read-out:

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 sean-K53E 3.2.0-45-generic #70-Ubuntu SMP Wed May 29 20:12:06 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

Distribution:
unknown 0.0

Checking Python version...
OK, version 2.7.3 installed

Checking PyQt 4.x version...
OK, version 4.9.1 installed.

Checking for CUPS...
Status: scheduler is running
Version: 1.5.3
error_log is set to level: warn

Checking for dbus/python-dbus...
dbus daemon is running.
python-dbus version: 1.0.0


------------------------
| RUNTIME DEPENDENCIES |
------------------------


Checking for dependency: CUPS - Common Unix Printing System...
OK, found.

Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
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...
OK, found.

Checking for dependency: Python DBus - Python bindings for DBus...
OK, found.

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: Reportlab - PDF library for Python...
OK, found.

Checking for dependency: SANE - Scanning library...
OK, found.

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:
[plugin]
installed = 1
eula = 1



Current contents of '~/.hplip/hplip.conf' file:
[last_used]
device_uri = "hpfax:/net/HP_LaserJet_Professional_M1217nfw_MFP?zc=NPI92F99A"
printer_name = HP_LaserJet_Professional_M1217nfw_MFP_fax
working_dir = .

[settings]
systray_visible = 0
systray_messages = 0

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

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

[polling]
enable = false
interval = 5
device_list =

[fax]
voice_phone =
email_address =

[installation]
date_time = 06/04/2013 19:52:34
version = 3.12.2



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

No devices found.

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


HP_LaserJet_Professional_M1217nfw_MFP
-------------------------------------
Type: Printer
Device URI: hp:/net/HP_LaserJet_Professional_M1217nfw_MFP?zc=NPI92F99A
PPD: /etc/cups/ppd/HP_LaserJet_Professional_M1217nfw_MFP.ppd
PPD Description: HP LaserJet Professional m1217nfw MFP, hpcups 3.12.2, requires proprietary plugin
Printer status: printer HP_LaserJet_Professional_M1217nfw_MFP now printing HP_LaserJet_Professional_M1217nfw_MFP-138. enabled since Tue 04 Jun 2013 07:51:39 PM PDT Rendering completed
Required plug-in status: Installed
Communication status: Good

HP_LaserJet_Professional_M1217nfw_MFP_fax
-----------------------------------------
Type: Fax
Device URI: hpfax:/net/HP_LaserJet_Professional_M1217nfw_MFP?zc=NPI92F99A
PPD: /etc/cups/ppd/HP_LaserJet_Professional_M1217nfw_MFP_fax.ppd
PPD Description: HP Fax3 hpcups
Printer status: printer HP_LaserJet_Professional_M1217nfw_MFP_fax is idle. enabled since Tue 04 Jun 2013 07:48:58 PM PDT
Required plug-in status: Installed
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:/net/HP_LaserJet_Professional_M1217nfw_MFP?zc=NPI92F99A' is a Hewlett-Packard HP_LaserJet_Professional_M1217nfw_MFP 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.



---------------
| USER GROUPS |
---------------

sean adm cdrom sudo dip plugdev lpadmin sambashare sean1 sean2 sean4

error: User needs to be member of group 'lp' to enable print, scan & fax.
User member of group 'lpadmin'.

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

No errors or warnings.

This was the read out after adding 'lpadmin' as a group to which I (the user) belong, according to the directions here:

http://linuxforums.org.uk/index.php?topic=10094.15

I also added the 'lp' group, but when I rebooted, the read out, as indicated, says I need to belong to that group. I am not sure what to do at this point, and can't seem to identify anything else preventing me from printing. I'm a bit distressed over this, as it has been sevearl days since I have been able to print.

Wolfman

Wed Jun 05, 2013 6:38:07 am

Hi,

please take a look at the following guides:

Updating:

viewtopic.php?f=5&t=2247

Post Install:

viewtopic.php?f=5&t=2054

Firstly, do the updates running "DPKG" per the guide and restart your PC, then take a look at the printing section of the post install guide which covers HP printers (I have one too) and there is also a part about adding a tool for users and groups which you can manage the users groups much better, it is called Users & Groups, to install this tool in a terminal:

sudo apt-get install gnome-system-tools

You will find it in the main menu: System Tools > Administration > Users & Groups.

It is important to install the package hplip-gui which give you a good GUI for HP printers.

Make sure your printer is connected and powered up when running the HP tool!!.

Let us know how you get on.

Regards Wolfman :D