View previous topic :: View next topic |
Author |
Message |
beerbellyswan Tux's lil' helper
Joined: 01 May 2004 Posts: 128 Location: mendon, ny
|
Posted: Fri Feb 01, 2019 4:20 pm Post subject: SOLVED: Printer can print test pages, but doesn't show up |
|
|
Hi folks - I'm stumped on this so am resorting to looking for help. I have an HP printer that I've set up ... seemingly correctly because i can print test pages. But when i try to print any actual content from an applicaiton (okular, chromium, whatever...), the printer shows up as offline for more than a week and I'm not able to print to it. As i mentioned though - i can print test pages from my linux box, and i can also print wirelessly to it from my smartphone. Any idea what would cause the applications to see the printer as offline even though its definitely online (and printing test pages from my linux box and real documents from my smartphone)?
thanks in advance!
Last edited by beerbellyswan on Wed Feb 06, 2019 3:33 pm; edited 1 time in total |
|
Back to top |
|
|
Fitzcarraldo Advocate
Joined: 30 Aug 2008 Posts: 2034 Location: United Kingdom
|
Posted: Fri Feb 01, 2019 5:45 pm Post subject: |
|
|
What does the command 'lpstat -p' return? _________________ Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC udev elogind & KDE on both.
Fitzcarraldo's blog |
|
Back to top |
|
|
beerbellyswan Tux's lil' helper
Joined: 01 May 2004 Posts: 128 Location: mendon, ny
|
Posted: Fri Feb 01, 2019 5:50 pm Post subject: |
|
|
hi - thanks for the reply. this is what it says:
Code: |
(office:~/Downloads) rdswan% lpstat -p
printer ENVY_4520 is idle. enabled since Fri 25 Jan 2019 03:10:19 PM EST
(office:~/Downloads) rdswan%
|
|
|
Back to top |
|
|
Fitzcarraldo Advocate
Joined: 30 Aug 2008 Posts: 2034 Location: United Kingdom
|
Posted: Fri Feb 01, 2019 6:38 pm Post subject: |
|
|
Does the following command make a difference (or does its output show anything odd)?:
Code: | lpoptions -d ENVY_4520 |
Also, although the output of the 'lpstat -p' command looks fine, have you tried disabling the printer and re-enabling it?:
Code: | cupsdisable ENVY_4520
cupsenable ENVY_4520 |
EDIT: By the way, if you are using the CUPS browser interface http://localhost:631/ what are you entering for the user and password when prompted? I always enter 'root' and the root user's password when adding/modifying and configuring printers. _________________ Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC udev elogind & KDE on both.
Fitzcarraldo's blog |
|
Back to top |
|
|
beerbellyswan Tux's lil' helper
Joined: 01 May 2004 Posts: 128 Location: mendon, ny
|
Posted: Fri Feb 01, 2019 7:01 pm Post subject: |
|
|
nothing odd with the -d switch:
Code: |
(office:~/Downloads) rdswan% lpoptions -d ENVY_4520
copies=1 device-uri=hp:/net/ENVY_4520_series?ip=192.168.86.46 finishings=3 job-cancel-after=10800 job-hold-until=no-hold job-priority=50 job-sheets=none,none marker-change-time=0 number-up=1 printer-commands=none printer-info=ENVY_4520 printer-is-accepting-jobs=true printer-is-shared=true printer-is-temporary=false printer-location printer-make-and-model='HP Envy 4520 Series, hpcups 3.18.12' printer-state=3 printer-state-change-time=1548447019 printer-state-reasons=none printer-type=135196 printer-uri-supported=ipp://localhost/printers/ENVY_4520
(office:~/Downloads) rdswan%
|
and disabling/enabling didn't make any difference at all. no error messages, everything seemed find, but the printer still won't show up as a printer in applications. |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
Fitzcarraldo Advocate
Joined: 30 Aug 2008 Posts: 2034 Location: United Kingdom
|
Posted: Fri Feb 01, 2019 11:48 pm Post subject: |
|
|
If Jaglover's suggestion does not solve the problem, please post the output of the command 'lpinfo -v'. _________________ Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC udev elogind & KDE on both.
Fitzcarraldo's blog |
|
Back to top |
|
|
beerbellyswan Tux's lil' helper
Joined: 01 May 2004 Posts: 128 Location: mendon, ny
|
Posted: Fri Feb 01, 2019 11:54 pm Post subject: |
|
|
hp-doctor hangs so i can't get it to do anything useful. when i run with the "-d" switch, i can see it just sits here:
Code: |
(office:~/Downloads) rdswan% hp-doctor -g
HP Linux Imaging and Printing System (ver. 3.18.12)
Self Diagnse Utility and Healing Utility ver. 1.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.
hp-doctor[26677]: debug: Locking: /home/rdswan/.hplip/hp-doctor.lock
HP Linux Imaging and Printing System (ver. 3.18.12)
Self Diagnse Utility and Healing Utility ver. 1.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.
hp-doctor[26677]: debug: Upgrade log saved in: /home/rdswan/.hplip/hp-doctor.log
hp-doctor[26677]: debug:
hp-doctor[26677]: debug: ['unknown', 'mepis', 'debian', 'suse', 'mandriva', 'fedora', 'redhat', 'rhel', 'slackware', 'gentoo', 'redflag', 'ubuntu', 'xandros', 'freebsd', 'linspire', 'ark', 'pclinuxos', 'centos', 'igos', 'linuxmint', 'linpus', 'gos', 'boss', 'lfs', 'manjarolinux']
hp-doctor[26677]: debug: HPLIP Description= Public version=3.18.12 Internal version = 3.18.12
hp-doctor[26677]: debug: Determining distro...
hp-doctor[26677]: debug: Able to detect distro
hp-doctor[26677]: debug: Distro name=gentoo
hp-doctor[26677]: debug: Distro version=2.6
hp-doctor[26677]: debug: distro=9, distro_version=2.6
hp-doctor[26677]: debug: Enable PPD install: True (False=drv)
hp-doctor[26677]: debug: Default UI toolkit: Qt4
hp-doctor[26677]: debug: Checking for dependency 'epm'...
hp-doctor[26677]: debug: Checking: epm --version (min ver=0.000000)
hp-doctor[26677]: debug: Not found!
hp-doctor[26677]: debug: have epm = False
hp-doctor[26677]: debug: Checking for dependency 'automake'...
hp-doctor[26677]: debug: Checking: automake --version (min ver=0.000000)
hp-doctor[26677]: debug: automake (GNU automake) 1.16.1
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later <https://gnu.org/licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Tom Tromey <tromey@redhat.com>
and Alexandre Duret-Lutz <adl@gnu.org>.
hp-doctor[26677]: debug: Found.
hp-doctor[26677]: debug: have automake = True
hp-doctor[26677]: debug: Checking for dependency 'libjpeg'...
hp-doctor[26677]: debug: Checking for library 'libjpeg'...
hp-doctor[26677]: debug: Found.
hp-doctor[26677]: debug: Searching for file 'jpeglib.h' in '/usr/include'...
|
The output of lpinfo -v is:
Code: |
(office:~/Downloads) rdswan% lpinfo -v
network socket
network beh
network https
network ipp
network ipps
network http
direct hp
network lpd
network socket://192.168.86.46:9100
(office:~/Downloads) rdswan%
|
thanks! |
|
Back to top |
|
|
Fitzcarraldo Advocate
Joined: 30 Aug 2008 Posts: 2034 Location: United Kingdom
|
Posted: Sat Feb 02, 2019 12:18 am Post subject: |
|
|
I wonder about 'network socket://192.168.86.46:9100'. I have used CUPS on my laptop to configure several networked HP printers in various offices, and I don't use a device URI of the form that you are using ('device-uri=hp:/net/ENVY_4520_series?ip=192.168.86.46' according to the output you posted for 'lpoptions -d ENVY_4520'), so I wonder if that could be the source of your problem. For example, below is the configuration I use for a networked HP Colour Laserjet 5550 in one office:
Code: | Description: HP Color Laserjet 5550
Location: Mezzanine office
Driver: HP Color LaserJet 5550 v3010.107 Postscript (recommended) (color)
Connection: lpd://10.90.41.101/lp1
Defaults: job-sheets=none, none media=iso_a4_210x297mm sides=one-sided |
So you could try changing the printer URI from 'hp:/net/ENVY_4520_series?ip=192.168.86.46' to 'lpd://192.168.86.46/lp1' to see what happens. _________________ Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC udev elogind & KDE on both.
Fitzcarraldo's blog
Last edited by Fitzcarraldo on Sat Feb 02, 2019 12:21 am; edited 1 time in total |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
beerbellyswan Tux's lil' helper
Joined: 01 May 2004 Posts: 128 Location: mendon, ny
|
Posted: Tue Feb 05, 2019 12:16 am Post subject: |
|
|
*sigh* - no dice:
Code: |
office ~ # cat /etc/cups/printers.conf
# Printer configuration file for CUPS v2.2.10
# Written by cupsd on 2019-02-01 14:00
# DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
<DefaultPrinter ENVY_4520>
UUID urn:uuid:77036a92-0144-34a6-4f91-699c36c8a2e9
Info ENVY_4520
MakeModel HP Envy 4520 Series, hpcups 3.18.12
##DeviceURI hp:/net/ENVY_4520_series?ip=192.168.86.46
DeviceURI lpd://192.168.86.46/lp1
State Idle
StateTime 1549047620
ConfigTime 1548447019
Type 4124
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</DefaultPrinter>
office ~ # /etc/init.d/cupsd restart
* Stopping cupsd ... [ ok ]
* Starting cupsd ... [ ok ]
office ~ #
|
Same result - open up an application and the printer shows up as offline |
|
Back to top |
|
|
beerbellyswan Tux's lil' helper
Joined: 01 May 2004 Posts: 128 Location: mendon, ny
|
Posted: Wed Feb 06, 2019 1:57 pm Post subject: |
|
|
I've got a minor improvement - i found an application (libreoffice) that i can print from. But okular and chromium still cant which makes it very painful for pdf docs or anything in gmail... |
|
Back to top |
|
|
|