Color Laserjet MFP M476dn duplex printing

Asked by Jussi on 2014-08-25

There is no duplex printing options (or anything related), so duplex printing can not be used. Otherwise the printer works fine.

HPLIP seems to be using m176 driver, so I think that is the reason duplex not working.

Hp-check printer part:

HP_Color_LaserJet_MFP_M476dn
----------------------------
Type: Printer
Device URI: hp:/net/HP_Color_LaserJet_MFP_M476dn?ip=***.***.***.***
PPD: /etc/cups/ppd/HP_Color_LaserJet_MFP_M476dn.ppd
PPD Description: HP Color LaserJet Pro MFP m176n, hpcups 3.14.6, requires proprietary plugin
Printer status: printer HP_Color_LaserJet_MFP_M476dn is idle. enabled since ma 25. elokuuta 2014 23.58.59
Required plug-in status: Installed
Communication status: Good

I am using Debian testing with HPLIP 3.14.6

Thanks in advance!

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
Sanjay Kumar
Solved:
2014-09-10
Last query:
2014-09-10
Last reply:
2014-09-10
Srikanth (srikanth-lokare) said : #1

Hi,

Please try the below steps.
1. Remove the existing print queue using 'hp-setup -r' from the terminal.
2. Re-configure the queues again using 'hp-setup'. Make sure that it picks up the correct PPD.

If the problem still persists, can you please run 'hp-check -t' from the terminal and post the output here.

Thanks and Regards,
Srikanth Lokare

Jussi (jtweb) said : #2

Hi, I removed the queue and re-configured it and noticed that there is no PPD file for my printer. I even downloaded the lastest HPLIP package and extracted it but it didn't seem to have it either.

Thanks,
-J.T

Here is the output from hp-check:
---------------
| SYSTEM INFO |
---------------

 Kernel: 3.14-2-amd64 #1 SMP Debian 3.14.15-2 (2014-08-09) GNU/Linux
 Host: hpdebian
 Proc: 3.14-2-amd64 #1 SMP Debian 3.14.15-2 (2014-08-09) GNU/Linux
 Distribution: debian testing
 Bitness: 64 bit

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

HPLIP-Version: HPLIP 3.14.6
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for debian distro testing version

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

[hplip]
version=3.14.6

[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
html=/usr/share/doc/hplip-3.14.6
icon=no
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv
bin=/usr/bin

# 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.14.6
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

Current contents of '/var/lib/hp/hplip.state' file:
[plugin]
installed = 1
eula = 1
version = 3.14.6

Current contents of '~/.hplip/hplip.conf' file:
[last_used]
device_uri = hp:/net/HP_Color_LaserJet_MFP_M476dn?ip=***.***.***.***
printer_name =
working_dir = .

[installation]
date_time = 27.08.2014 02:04:49
version = 3.14.6

[settings]
systray_visible = 0
systray_messages = 0

[commands]
scan = /usr/bin/xsane -V %SANE_URI%

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

[polling]
enable = false
interval = 5
device_list =

[fax]
voice_phone =
email_address =

[upgrade]
notify_upgrade = false
last_upgraded_time = 1409003386.68732
pending_upgrade_time = 0

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

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

 policykit Admin-Policy-framework OPTIONAL - 0.105 OK -
 gs Ghostscript REQUIRED 7.05 9.05 OK -
 network Network-wget OPTIONAL - 1.15 OK -
 scanimage Shell-Scanning OPTIONAL 1.0 1.0.24 OK -
 avahi-utils avahi-utils OPTIONAL - 0.6.31 OK -
 dbus DBus REQUIRED - 1.8.6 OK -
 cups CUPS REQUIRED 1.1 1.7.5 OK 'CUPS Scheduler is running'
 xsane SANE-GUI OPTIONAL 0.9 0.998 OK -

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

 error: reportlab Python-PDF-Lib OPTIONAL 2.0 3.1.8 MISSING 'reportlab needs to be installed'
 libcrypto OpenSSL-Crypto-Lib REQUIRED - 1.0.1 OK -
 pil Python-Image-Lib OPTIONAL - 1.1.7 OK -
 pyqt4-dbus PyQt4-DBUS REQUIRED 4.0 4.11.1 OK -
 libjpeg JPEG-Lib REQUIRED - - OK -
 libpthread POSIX-Threads-Lib REQUIRED - 2.19 OK -
 python-dbus Python-DBUS REQUIRED 0.80.0 1.2.0 OK -
 python-devel Python-SDK REQUIRED 2.2 2.7.8 OK -
 pyqt4 Python-Qt4 REQUIRED 4.0 4.11.1 OK -
 cups-devel CUPS-SDK REQUIRED - 1.7.5 OK -
 sane-devel SANE-SDK REQUIRED - 1.0.24 OK -
 libusb USB-Lib REQUIRED - 1.0 OK -
 sane Scan-Lib REQUIRED - 1.0.24 OK -
 cups-image CUPS-Image-Lib REQUIRED - 1.7.5 OK -
 libnetsnmp-devel SNMP-Networking-SDK REQUIRED 5.0.9 5.7.2 OK -
 python-xml Python-XML-Lib REQUIRED - 2.1.0 OK -
 python-notify Desktop-notifications OPTIONAL - - OK -

------------------------------
| Compile Time Dependencies |
------------------------------

 gcc gcc-Compiler REQUIRED - 4.9.1 OK -
 libtool Build-tools REQUIRED - 2.4.2 OK -
 make GNU-Build-tools REQUIRED 3.0 4.0 OK -

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

 cupsext CUPS-Extension REQUIRED - 3.14.6 OK -
 pcardext PhotoCard-Extension REQUIRED - 3.14.6 OK -
 hpmudext IO-Extension REQUIRED - 3.14.6 OK -

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

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

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

device `hpaio:/net/HP_Color_LaserJet_MFP_M476dn?ip=***.***.***.***' is a Hewlett-Packard HP_Color_LaserJet_MFP_M476dn all-in-one

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

No devices found.

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

HP_Color_LaserJet_MFP_M476dn
----------------------------
Type: Printer
Device URI: hp:/net/HP_Color_LaserJet_MFP_M476dn?ip=***.***.***.***
PPD: /etc/cups/ppd/HP_Color_LaserJet_MFP_M476dn.ppd
PPD Description: HP Color LaserJet Pro MFP m176n, hpcups 3.14.6, requires proprietary plugin
Printer status: printer HP_Color_LaserJet_MFP_M476dn is idle. enabled since ke 27. elokuuta 2014 02.01.12
Required plug-in status: Installed
Communication status: Good

HP_Color_LaserJet_MFP_M476dn_fax
--------------------------------
Type: Fax
Device URI: hpfax:/net/HP_Color_LaserJet_MFP_M476dn?ip=***.***.***.***
PPD: /etc/cups/ppd/HP_Color_LaserJet_MFP_M476dn_fax.ppd
PPD Description: HP Fax2 hpcups
Printer status: printer HP_Color_LaserJet_MFP_M476dn_fax is idle. enabled since ke 27. elokuuta 2014 02.01.12
Required plug-in status: Installed
Communication status: Good

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

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

Missing Required Dependencies
-----------------------------
None

Missing Optional Dependencies
-----------------------------
error: 'python-reportlab' package is missing/incompatible

Total Errors: 1
Total Warnings: 0

Sanjay Kumar (sanjay-kumar14) said : #3

Hi,

You need to enable the Duplexer from cups interface before using duplex feature.

Steps:

       => hp-setup -r (remove all print queues)
      => su -c "hp-plugin"
             or
      => sudo hp-plugin (This will download right plugin)

       => hp-setup (Add print queue with proper PPD i.e M476dn)

       => Open http://localhost:631 in the browser.
       => Go to printers and then select the printer.
       => Default options -> Options Installed -> Duplexer -> installed.
       => Now try printing from any application.

Thanks,
Sanjay

Jussi (jtweb) said : #4

Hi and thaks for the help so far.

I did those steps, but I still can not find PPD file for my printer (the closest related is the m176).

Where I can get the PPD for M476?

Thanks,
J.T

Best Sanjay Kumar (sanjay-kumar14) said : #5

Hello Jussi,

You will find hp-color_laserjet_pro_mfp_m476-ps.ppd.gz file in /usr/share/hplip/HP directory. If not there then please run below command and you should be able to find the location of M476 PPD.

$ locate m476

Once you find the PPD then please follow the steps mentioned in #3

If Above steps do not work then try to reinstall HPLIP from:

http://hplipopensource.com/hplip-web/install/install/index.html (automatic installer) or
http://hplipopensource.com/hplip-web/install/manual/index.html (manual installation, if automatic installer does not work)

=> Reconfigure print queue using below commands.
       => hp-setup -r (remove all print queues)
      => su -c "hp-plugin"
             or
      => sudo hp-plugin (This will download right plugin)
       => hp-setup
=>Try printing now.

Thanks,
Sanjay

Jussi (jtweb) said : #6

Now I was able to find the PPD, now it works!

Seems like the Debian HPLIP was missing the m476 PPD. I found the PPD from the package I dowloaded from HPLIP website.

Thanks for help!

-J.T

Jussi (jtweb) said : #7

Thanks Sanjay Kumar, that solved my question.