Default tray (as set in CUPS) of HP LaserJet P4014 is ignored
Hi,
We use a number of HP printers in conjunction with Ubuntu. HPLIP's existence was a significant part of our buying decision.
On one of our printers, we need multiple input tray facilities (we have 4 trays - the two built into the printer and two that we have purchased separately). We have various bespoke programmes that do printing. The user cannot be bothered every time they print as the volume is relatively high, so what we did on Windows was have 4 instances of the same instance (one for each tray), each with a different default tray. If we do the same under CUPS, the choice of default tray is simply ignored (in favour of a hardware default perhaps). It is possible to select the tray that we want and get it to print to that, but we have to change that in the printing properties dialogue every time we go to print. I have tried to attain similar functionality using the vendor specific options of the "lpr" command, but they seem to be ignored there as well. So basically, this bugs is preventing us from using this printer with any more than the two default trays and one of the main reasons we bought it was so that we could print on multiple types of paper from the same printer.
Ubuntu 11.04
HPLIP 3.11.1-2ubuntu2 (from the Ubuntu repositories)
CUPS 1.4.6-5ubuntu-1.3
What can you suggest?
Regards,
Mike
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- HPLIP Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Hi Michael,
Can you please upgrade the hplip version to latest 3.11.7 . You can download the latest hplip-3.11.7.run file from http://
Thanks & Regards,
Goutam Kodu
Revision history for this message
|
#2 |
Hi Goutam,
Thank you for your prompt response.
I have now upgraded to 3.11.7.
The bug is still the same. I try to set the default tray to different trays (I've tried tray 2 and tray 3), but lpr always prints using tray 4. It is as if it is stuck in automatic tray selection mode. Clearly though, you can see that it is set to tray 2 as default (see my output from lpoptions).
The output of hp-check -t:
hp-check[2895]: info: :
Initializing. Please wait...
Ubuntu
11.04
scheduler is running
1.4.6
Linux azide 2.6.38-11-generic #48-Ubuntu SMP Fri Jul 29 19:05:14 UTC 2011 i686 i686 i386 GNU/Linux
hp-check[2895]: info: :
hp-check[2895]: info: :---------------
hp-check[2895]: info: :| SYSTEM INFO |
hp-check[2895]: info: :---------------
hp-check[2895]: info: :
hp-check[2895]: info: :Basic system information:
hp-check[2895]: info: :Linux azide 2.6.38-11-generic #48-Ubuntu SMP Fri Jul 29 19:05:14 UTC 2011 i686 i686 i386 GNU/Linux
hp-check[2895]: info: :
hp-check[2895]: info: :Distribution:
hp-check[2895]: info: :ubuntu 11.04
hp-check[2895]: info: :
hp-check[2895]: info: :Checking Python version...
hp-check[2895]: info: :OK, version 2.7.1 installed
hp-check[2895]: info: :
hp-check[2895]: info: :Checking PyQt 4.x version...
hp-check[2895]: info: :OK, version 4.8.3 installed.
hp-check[2895]: info: :
hp-check[2895]: info: :Checking for CUPS...
hp-check[2895]: info: :Status: scheduler is running
hp-check[2895]: info: :Version: 1.4.6
hp-check[2895]: info: :error_log is set to level: warn
hp-check[2895]: info: :
hp-check[2895]: info: :Checking for dbus/python-dbus...
hp-check[2895]: info: :dbus daemon is running.
hp-check[2895]: info: :python-dbus version: 0.83.1
hp-check[2895]: info: :
hp-check[2895]: info: :
hp-check[2895]: info: :------
hp-check[2895]: info: :| COMPILE AND RUNTIME DEPENDENCIES |
hp-check[2895]: info: :------
hp-check[2895]: info: :
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).
hp-check[2895]: info: :
hp-check[2895]: info: :Checking for dependency: CUPS - Common Unix Printing System...
hp-check[2895]: info: :OK, found.
hp-check[2895]: info: :
hp-check[2895]: info: :Checking for dependency: CUPS devel- Common Unix Printing System development files...
hp-check[2895]: info: :OK, found.
hp-check[2895]: info: :
hp-check[2895]: info: :Checking for dependency: CUPS image - CUPS image development files...
hp-check[2895]: info: :OK, found.
hp-check[2895]: info: :
hp-check[2895]: info: :Checking for dependency: DBus - Message bus system...
hp-check[2895]: info: :OK, found.
hp-check[2895]: info: :
hp-check[2895]: info: :Checking for dependency: gcc - GNU Project C and C++ Compiler...
hp-check[2895]: info: :OK, found.
hp-check[2895]: info: :
hp-check[2895]: info: :Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
hp-check[2895]: info: :OK, found.
hp-check[2895]: info: :
hp-check[2895]: info: :Checking for dependency: libcrypto - OpenSSL cryptographic library...
hp-check[2895]: info: :OK, found.
hp-check[2895]: info: :
hp-check[2895]: info: :Checking for dependency: libjpeg - JPEG library...
hp-check[2895]: info: :OK, found.
hp-check[2895]: info: :
hp-check[2895]: info: :Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
hp-check[2895]: info: :OK, found.
hp-check[2895]: info: :
hp-check[2895]: info: :Checking for dependency: libpthread - POSIX threads library...
hp-check[2895]: info: :OK, found.
hp-check[2895]: info: :
hp-check[2895]: info: :Checking for dependency: libtool - Library building support services...
hp-check[2895]: info: :OK, found.
hp-check[2895]: info: :
hp-check[2895]: info: :Checking for dependency: libusb - USB library...
hp-check[2895]: info: :OK, found.
hp-check[2895]: info: :
hp-check[2895]: info: :Checking for dependency: make - GNU make utility to maintain groups of programs...
hp-check[2895]: info: :OK, found.
hp-check[2895]: info: :
hp-check[2895]: info: :Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
hp-check[2895]: info: :OK, found.
hp-check[2895]: info: :
hp-check[2895]: info: :Checking for dependency: PolicyKit - Administrative policy framework...
hp-check[2895]: info: :OK, found.
hp-check[2895]: info: :
hp-check[2895]: info: :Checking for dependency: PyQt 4 DBus - DBus Support for PyQt4...
hp-check[2895]: info: :OK, found.
hp-check[2895]: info: :
hp-check[2895]: info: :Checking for dependency: Python DBus - Python bindings for DBus...
hp-check[2895]: info: :OK, found.
hp-check[2895]: info: :
hp-check[2895]: info: :Checking for dependency: Python devel - Python development files...
hp-check[2895]: info: :OK, found.
hp-check[2895]: info: :
hp-check[2895]: info: :Checking for dependency: Python libnotify - Python bindings for the libnotify Desktop notifications...
hp-check[2895]: info: :OK, found.
hp-check[2895]: info: :
hp-check[2895]: info: :Checking for dependency: Python XML libraries...
hp-check[2895]: info: :OK, found.
hp-check[2895]: info: :
hp-check[2895]: info: :Checking for dependency: Python 2.3 or greater - Required for fax functionality...
hp-check[2895]: info: :OK, found.
hp-check[2895]: info: :
hp-check[2895]: info: :Checking for dependency: Python 2.2 or greater - Python programming language...
hp-check[2895]: info: :OK, found.
hp-check[2895]: info: :
hp-check[2895]: info: :Checking for dependency: Reportlab - PDF library for Python...
hp-check[2895]: info: :OK, found.
hp-check[2895]: info: :
hp-check[2895]: info: :Checking for dependency: SANE - Scanning library...
hp-check[2895]: info: :OK, found.
hp-check[2895]: info: :
hp-check[2895]: info: :Checking for dependency: SANE - Scanning library development files...
hp-check[2895]: info: :OK, found.
hp-check[2895]: info: :
hp-check[2895]: info: :Checking for dependency: scanimage - Shell scanning program...
hp-check[2895]: info: :OK, found.
hp-check[2895]: info: :
hp-check[2895]: info: :Checking for dependency: xsane - Graphical scanner frontend for SANE...
hp-check[2895]: info: :OK, found.
hp-check[2895]: info: :
hp-check[2895]: info: :
hp-check[2895]: info: :------
hp-check[2895]: info: :| HPLIP INSTALLATION |
hp-check[2895]: info: :------
hp-check[2895]: info: :
hp-check[2895]: info: :
hp-check[2895]: info: :Currently installed HPLIP version...
hp-check[2895]: info: :HPLIP 3.11.7 currently installed in '/usr/share/hplip'.
hp-check[2895]: info: :
hp-check[2895]: info: :Current contents of '/etc/hp/
hp-check[2895]: info: :# hplip.conf. Generated from hplip.conf.in by configure.
[hplip]
version=3.11.7
[dirs]
home=/usr/
run=/var/run
ppd=/usr/
ppdbase=
doc=/usr/
icon=/usr/
cupsbackend=
cupsfilter=
drv=/usr/
# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
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-
foomatic-
foomatic-
hpcups-install=yes
cups-drv-
cups-ppd-install=no
internal-tag=3.11.7
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=no
hpijs-only-build=no
lite-build=no
udev-acl-rules=yes
hpcups-
hpijs-only-build=no
hp-check[2895]: info: :
hp-check[2895]: info: :Current contents of '/var/lib/
hp-check[2895]: info: :# hplip.state - HPLIP runtime persistent variables.
[plugin]
installed=0
eula=0
hp-check[2895]: info: :
hp-check[2895]: info: :Current contents of '~/.hplip/
hp-check[2895]: info: :[settings]
systray_visible = 0
systray_messages = 0
[last_used]
device_uri = "hp:/usb/
printer_name = HP_LaserJet_P4014
working_dir = .
[commands]
scan = /usr/bin/
[refresh]
rate = 30
enable = false
type = 1
[polling]
enable = false
interval = 5
device_list =
[fax]
voice_phone =
email_address =
[installation]
date_time = 26/08/11 11:04:20
version = 3.11.7
hp-check[2895]: info: :
hp-check[2895]: info: :------
hp-check[2895]: info: :| DISCOVERED USB DEVICES |
hp-check[2895]: info: :------
hp-check[2895]: info: :
hp-check[2895]: info: : Device URI Model
hp-check[2895]: info: : -------
hp-check[2895]: info: : hp:/usb/
=CNFX103671
hp-check[2895]: info: :
hp-check[2895]: info: :------
hp-check[2895]: info: :| INSTALLED CUPS PRINTER QUEUES |
hp-check[2895]: info: :------
hp-check[2895]: info: :
hp-check[2895]: info: :
hp-check[2895]: info: :HP_Color_
hp-check[2895]: info: :------
hp-check[2895]: info: :Type: Printer
hp-check[2895]: info: :Device URI: hp:/net/
hp-check[2895]: info: :PPD: /etc/cups/
hp-check[2895]: info: :PPD Description: HP Color LaserJet cm2320nf MFP hpijs pcl3, 3.11.1
hp-check[2895]: info: :Printer status: printer HP_Color_
error: Required plug-in status: Not installed
hp-check[2895]: info: :Communication status: Good
hp-check[2895]: info: :
hp-check[2895]: info: :HP_Color_
hp-check[2895]: info: :------
hp-check[2895]: info: :Type: Fax
hp-check[2895]: info: :Device URI: hpfax:/
hp-check[2895]: info: :PPD: /etc/cups/
hp-check[2895]: info: :PPD Description: HP Fax2 hpcups
hp-check[2895]: info: :Printer status: printer HP_Color_
error: Required plug-in status: Not installed
hp-check[2895]: info: :Communication status: Good
hp-check[2895]: info: :
hp-check[2895]: info: :HP_LaserJet_P4014
hp-check[2895]: info: :-----------------
hp-check[2895]: info: :Type: Printer
hp-check[2895]: info: :Device URI: hp:/usb/
hp-check[2895]: info: :PPD: /etc/cups/
hp-check[2895]: info: :PPD Description: HP LaserJet P4010 Series Postscript (recommended)
hp-check[2895]: info: :Printer status: printer HP_LaserJet_P4014 is idle. enabled since Fri 26 Aug 2011 11:02:18 BST
ready to print
hp-check[2895]: info: :Communication status: Good
hp-check[2895]: info: :
hp-check[2895]: info: :
hp-check[2895]: info: :------
hp-check[2895]: info: :| SANE CONFIGURATION |
hp-check[2895]: info: :------
hp-check[2895]: info: :
hp-check[2895]: info: :'hpaio' in '/etc/sane.
hp-check[2895]: info: :OK, found. SANE backend 'hpaio' is properly set up.
hp-check[2895]: info: :
hp-check[2895]: info: :Checking output of 'scanimage -L'...
hp-check[2895]: info: :device `hpaio:
hp-check[2895]: info: :
hp-check[2895]: info: :------
hp-check[2895]: info: :| PYTHON EXTENSIONS |
hp-check[2895]: info: :------
hp-check[2895]: info: :
hp-check[2895]: info: :Checking 'cupsext' CUPS extension...
hp-check[2895]: info: :OK, found.
hp-check[2895]: info: :
hp-check[2895]: info: :Checking 'pcardext' Photocard extension...
hp-check[2895]: info: :OK, found.
hp-check[2895]: info: :
hp-check[2895]: info: :Checking 'hpmudext' I/O extension...
hp-check[2895]: info: :OK, found.
hp-check[2895]: info: :
hp-check[2895]: info: :Checking 'scanext' SANE scanning extension...
hp-check[2895]: info: :OK, found.
hp-check[2895]: info: :
hp-check[2895]: info: :
hp-check[2895]: info: :
hp-check[2895]: info: :-----------------
hp-check[2895]: info: :| USB I/O SETUP |
hp-check[2895]: info: :-----------------
hp-check[2895]: info: :
hp-check[2895]: info: :Checking for permissions of USB attached printers...
hp-check[2895]: info: :
HP Device 0x8217 at 001:002:
hp-check[2895]: info: : Device URI: hp:/usb/
hp-check[2895]: info: : Device node: /dev/bus/
hp-check[2895]: info: : Mode: 0664
hp-check[2895]: info: :
hp-check[2895]: info: :---------------
hp-check[2895]: info: :| USER GROUPS |
hp-check[2895]: info: :---------------
hp-check[2895]: info: :
hp-check[2895]: info: :michael adm lp dialout cdrom plugdev lpadmin admin sambashare
hp-check[2895]: info: :
hp-check[2895]: info: :-----------
hp-check[2895]: info: :| SUMMARY |
hp-check[2895]: info: :-----------
hp-check[2895]: info: :
error: 2 errors and/or warnings.
hp-check[2895]: info: :
hp-check[2895]: info: :Please refer to the installation instructions at:
hp-check[2895]: info: :http://
hp-check[2895]: info: :
hp-check[2895]: info: :Done.
I have included the output of lpoptions -l for the printer as well as I think it may be helpful:
HPPrinterModel/
HPCollateSuppor
HPOption_Tray3/Tray 3: *Tray3_500 Tray3_1500 False
HPOption_Tray4/Tray 4: *Tray4_500 Tray4_1500 False
HPOption_Tray5/Tray 5: Tray5_500 Tray5_1500 *False
HPOption_Tray6/Tray 6: Tray6_500 Tray6_1500 *False
HPOption_
HPOption_
HPOption_
HPOption_
HPPaperPolicy/Fit to Page: *PromptUser NearestSizeAdjust NearestSizeNoAdjust
HPServicesWeb/
HPServicesUtili
HPJobRetentionO
HPUsePINToPrint/Use PIN to Print: *False True
HPDuplicateJobM
HPUserName/User Name: *FileSharingName Set
HPJobName/Job Name: *DocName Set
HPManualDuplexS
HPManualDuplexP
HPManualDuplexO
HPBookletFilter
HPBookletBackCo
HPBookletPageOr
HPBookletScalin
HPBookletPageSi
OutputBin/Output Bin: *PrinterDefault Bin1 Bin2 Bin3 Bin4 Bin5
HPStaplerOption
HPRotate180/Rotate Page 180 deg: *False True
MirrorPrint/Mirror Image: True *False
MediaType/Media Type: *Unspecified Plain Light6074 Bond Recycled Card_Stock176220 Monotransparency Labels Letterhead Envelope Preprinted Prepunched Colored Rough
HPStraightPaper
Duplex/2-Sided Printing: *None DuplexNoTumble DuplexTumble
Collate/Collate: True *False
PageSize/Page Size: Letter Legal Executive HalfLetter w612h935 *A4 A5 A6 B5 w553h765 w522h737 w558h774 Postcard DoublePostcard Env10 EnvMonarch EnvISOB5 EnvC5 EnvDL Custom.WIDTHxHEIGHT
InputSlot/Paper Source: Auto Tray1 *Tray2 Tray3 Tray4 Tray5 Tray6 Tray1_Man EnvelopeFeeder
Resolution/Printer Resolution: 1200x1200dpi 1200dpi *600x600dpi
Smoothing/
HPEconoMode/
HPHalftone/Levels of Gray: *PrinterDefault Enhanced Standard
HPwmSwitch/Mode: *Off Watermark Overlay
HPwmPages/Pages: *AllPages FirstPage
HPwmTextMessage
HPwmFontName/Font: CourierB *HelveticaB TimesB
HPwmFontSize/Size: pt24 pt30 pt36 pt42 *pt48 pt54 pt60 pt66 pt72 pt78 pt84 pt90
HPwmTextAngle/
HPwmTextStyle/
HPwmBrightness/
I look forward to your reply.
Kind Regards,
Mike
Revision history for this message
|
#3 |
Hi,
Sorry for late response and thanks for the output of lpoptions command.
I checked the /etc/cups/
*InputSlot Auto/Auto-Select: "<</MediaPosition 7>>setpagedevice"
*InputSlot PhotoTray/Photo Tray: "<</MediaPosition 1>>setpagedevice"
*InputSlot Upper/Upper Tray: "<</MediaPosition 1>>setpagedevice"
*InputSlot Lower/Lower Tray: "<</MediaPosition 4>>setpagedevice"
*InputSlot Envelope/Envelope Feeder: "<</MediaPosition 3>>setpagedevice"
*InputSlot LargeCapacity/Large Capacity Tray: "<</MediaPosition 5>>setpagedevice"
*InputSlot Manual/Manual Feeder: "<</MediaPosition 2>>setpagedevice"
*InputSlot MPTray/Multi Purpose Tray: "<</MediaPosition 1>>setpagedevice"
The output of lpoptions -l command shows the lp options for the printer HP_Color_
To check the lpoptions for the printer HP_LaserJet_P4014 type command ,
"lpoptions -p HP_LaserJet_P4014 -l"
Thanks & Regards,
Goutam Kodu
Revision history for this message
|
#4 |
Hi Goutam,
Thanks for your response.
Apologies for not responding sooner. I hadn't noticed your reply.
I have tried to print with both the P4104 specific driver and the HP LaserJet P4010 Series Postscript driver. Both suffer from the same problem and ignore the defaults and select the tray with the highest tray number that has the correct media in rather than the default tray as specified. I prefer the ideas of using the P4104 series driver because that allows tray selection by number rather than upper/lower (although both drivers appear to ignore whatever I select anyway, so anything would be welcome). The output that I submitted from the lpoptions command earlier is actually for the P4104 using the P4010 series driver, not the default printer. I must have used the -p option and just not mentioned it in my answer.
So, I'm still looking for an answer unfortunately.
Regards,
Mike
Revision history for this message
|
#5 |
Hi Mike,
Thank you for letting us know on the same. I require little more outputs.
Can your delete all the print queues present in "system-
Run the below commands and paste me the outputs.
1. lpstate -p -d
2. lpoptions -p -l
3." cupsfilter -m application/
4. " cupsfilter -m application/
Attach me the file test.ps
(In questions there is no option to upload the attachments)
Click on the link below it will ask you "summary of the bug" then click next, at the bottom you will see "No i want to report a new bug". click on that and then again at the bottom you will find "extra options" click on that finally at the end you will see a place to upload your attachements.
https:/
Thanks & Regards,
Goutam Kodu
Revision history for this message
|
#6 |
Instead of step 3 & 4 in the above comment . Can you provide me the application output file. To get that follow the below steps;
1. Go to system-
2. Open the PDF document with Document Viewer application choose the print driver and in page setup set the Paper Source.
3. Print the document.
4. Go to /var/spool/cups. There gets created a file with name starting with dXXXXX.
5. Attach the dXXXXX.
Thanks & Regards,
Goutam Kodu
Can you help with this problem?
Provide an answer of your own, or ask Michael Mulqueen for more information if necessary.