Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: Unable to open initial device, quitting

  1. #1
    Join Date
    Oct 2011
    Location
    Norway
    Posts
    21

    Default Unable to open initial device, quitting

    Hi

    I have an HP Officejet Pro 8500 on my lan. When printing from Suse all that comes out on paper is this: "Unable to open initial device. Quitting."
    Output from hp-check is pasted below. Has anyone here experienced the same? I tried to paste the output from hp-check into the message, but the forum did not accept that.

    Regards, Bjorn
    Last edited by bkv1; 29-Oct-2011 at 07:27. Reason: spelling error

  2. #2
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    22,857

    Default Re: Unable to open initial device, quitting

    On 2011-10-29 16:26, bkv1 wrote:

    > I tried to paste the output from hp-check into the message, but
    > the forum did not accept that.


    Try as code - advanced editor, #. Or use our pastebin.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" at Telcontar)

  3. #3
    Join Date
    Oct 2011
    Location
    Norway
    Posts
    21

    Default Re: Unable to open initial device, quitting

    Here is the output of the hp-check


    Code:
    hp-check[31329]: info: :
    Initializing. Please wait...
    SUSE LINUX
    
    11.4
    
    scheduler is running
    
    1.4.6
    
    Linux linux-oxsa.site 2.6.37.6-0.7-desktop #1 SMP PREEMPT 2011-07-21 02:17:24 +0200 i686 i686 i386 GNU/Linux
    
    hp-check[31329]: info: :
    hp-check[31329]: info: :---------------
    hp-check[31329]: info: :| SYSTEM INFO |
    hp-check[31329]: info: :---------------
    hp-check[31329]: info: :
    hp-check[31329]: info: :Basic system information:
    hp-check[31329]: info: :Linux linux-oxsa.site 2.6.37.6-0.7-desktop #1 SMP PREEMPT 2011-07-21 02:17:24 +0200 i686 i686 i386 GNU/Linux
    hp-check[31329]: info: :
    hp-check[31329]: info: :Distribution:
    hp-check[31329]: info: :suse 11.4
    hp-check[31329]: info: :
    hp-check[31329]: info: :Checking Python version...
    hp-check[31329]: info: :OK, version 2.7.0 installed
    hp-check[31329]: info: :
    hp-check[31329]: info: :Checking PyQt 4.x version...
    hp-check[31329]: info: :OK, version 4.8.3 installed.
    hp-check[31329]: info: :
    hp-check[31329]: info: :Checking for CUPS...
    hp-check[31329]: info: :Status: scheduler is running
    hp-check[31329]: info: :Version: 1.4.6
    hp-check[31329]: info: :error_log is set to level: warn
    hp-check[31329]: info: :
    hp-check[31329]: info: :Checking for dbus/python-dbus...
    hp-check[31329]: info: :dbus daemon is running.
    hp-check[31329]: info: :python-dbus version: 0.83.2
    hp-check[31329]: info: :
    hp-check[31329]: info: :
    hp-check[31329]: info: :------------------------------------
    hp-check[31329]: info: :| COMPILE AND RUNTIME DEPENDENCIES |
    hp-check[31329]: info: :------------------------------------
    hp-check[31329]: 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[31329]: info: :
    hp-check[31329]: info: :Checking for dependency: CUPS - Common Unix Printing System...
    hp-check[31329]: info: :OK, found.
    hp-check[31329]: info: :
    hp-check[31329]: info: :Checking for dependency: CUPS devel- Common Unix Printing System development files...
    hp-check[31329]: info: :OK, found.
    hp-check[31329]: info: :
    hp-check[31329]: info: :Checking for dependency: CUPS image - CUPS image development files...
    hp-check[31329]: info: :OK, found.
    hp-check[31329]: info: :
    hp-check[31329]: info: :Checking for dependency: DBus - Message bus system...
    hp-check[31329]: info: :OK, found.
    hp-check[31329]: info: :
    hp-check[31329]: info: :Checking for dependency: gcc - GNU Project C and C++ Compiler...
    hp-check[31329]: info: :OK, found.
    hp-check[31329]: info: :
    hp-check[31329]: info: :Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
    hp-check[31329]: info: :OK, found.
    hp-check[31329]: info: :
    hp-check[31329]: info: :Checking for dependency: libcrypto - OpenSSL cryptographic library...
    hp-check[31329]: info: :OK, found.
    hp-check[31329]: info: :
    hp-check[31329]: info: :Checking for dependency: libjpeg - JPEG library...
    hp-check[31329]: info: :OK, found.
    hp-check[31329]: info: :
    hp-check[31329]: info: :Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
    hp-check[31329]: info: :OK, found.
    hp-check[31329]: info: :
    hp-check[31329]: info: :Checking for dependency: libpthread - POSIX threads library...
    hp-check[31329]: info: :OK, found.
    hp-check[31329]: info: :
    hp-check[31329]: info: :Checking for dependency: libtool - Library building support services...
    hp-check[31329]: info: :OK, found.
    hp-check[31329]: info: :
    hp-check[31329]: info: :Checking for dependency: libusb - USB library...
    hp-check[31329]: info: :OK, found.
    hp-check[31329]: info: :
    hp-check[31329]: info: :Checking for dependency: make - GNU make utility to maintain groups of programs...
    hp-check[31329]: info: :OK, found.
    hp-check[31329]: info: :
    hp-check[31329]: info: :Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
    hp-check[31329]: info: :OK, found.
    hp-check[31329]: info: :
    hp-check[31329]: info: :Checking for dependency: PolicyKit - Administrative policy framework...
    hp-check[31329]: info: :OK, found.
    hp-check[31329]: info: :
    hp-check[31329]: info: :Checking for dependency: PyQt 4 DBus - DBus Support for PyQt4...
    hp-check[31329]: info: :OK, found.
    hp-check[31329]: info: :
    hp-check[31329]: info: :Checking for dependency: Python DBus - Python bindings for DBus...
    hp-check[31329]: info: :OK, found.
    hp-check[31329]: info: :
    hp-check[31329]: info: :Checking for dependency: Python devel - Python development files...
    hp-check[31329]: info: :OK, found.
    hp-check[31329]: info: :
    hp-check[31329]: info: :Checking for dependency: Python libnotify - Python bindings for the libnotify Desktop notifications...
    hp-check[31329]: info: :OK, found.
    hp-check[31329]: info: :
    hp-check[31329]: info: :Checking for dependency: Python XML libraries...
    hp-check[31329]: info: :OK, found.
    hp-check[31329]: info: :
    hp-check[31329]: info: :Checking for dependency: Python 2.3 or greater - Required for fax functionality...
    hp-check[31329]: info: :OK, found.
    hp-check[31329]: info: :
    hp-check[31329]: info: :Checking for dependency: Python 2.2 or greater - Python programming language...
    hp-check[31329]: info: :OK, found.
    hp-check[31329]: info: :
    hp-check[31329]: info: :Checking for dependency: Reportlab - PDF library for Python...
    warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
    hp-check[31329]: info: :
    hp-check[31329]: info: :Checking for dependency: SANE - Scanning library...
    hp-check[31329]: info: :OK, found.
    hp-check[31329]: info: :
    hp-check[31329]: info: :Checking for dependency: SANE - Scanning library development files...
    hp-check[31329]: info: :OK, found.
    hp-check[31329]: info: :
    hp-check[31329]: info: :Checking for dependency: scanimage - Shell scanning program...
    hp-check[31329]: info: :OK, found.
    hp-check[31329]: info: :
    hp-check[31329]: info: :Checking for dependency: xsane - Graphical scanner frontend for SANE...
    hp-check[31329]: info: :OK, found.
    hp-check[31329]: info: :
    hp-check[31329]: info: :
    hp-check[31329]: info: :----------------------
    hp-check[31329]: info: :| HPLIP INSTALLATION |
    hp-check[31329]: info: :----------------------
    hp-check[31329]: info: :
    hp-check[31329]: info: :
    hp-check[31329]: info: :Currently installed HPLIP version...
    hp-check[31329]: info: :HPLIP 3.11.5 currently installed in '/usr/share/hplip'.
    hp-check[31329]: info: :
    hp-check[31329]: info: :Current contents of '/etc/hp/hplip.conf' file:
    hp-check[31329]: info: :# hplip.conf.  Generated from hplip.conf.in by configure.
    
    [hplip]
    version=3.11.5
    
    [dirs]
    home=/usr/share/hplip
    run=/var/run
    ppd=/usr/share/cups/model/manufacturer-PPDs/hplip
    ppdbase=/usr/share/cups/model/manufacturer-PPDs
    doc=/usr/share/doc/packages/hplip
    icon=/usr/share/applications
    cupsbackend=/usr/lib/cups/backend
    cupsfilter=/usr/lib/cups/filter
    drv=/usr/lib/cups/driver
    
    # 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=no
    foomatic-ppd-install=yes
    foomatic-rip-hplip-install=yes
    hpcups-install=yes
    cups-drv-install=no
    cups-ppd-install=yes
    internal-tag=3.11.5
    restricted-build=no
    ui-toolkit=qt4
    qt3=no
    qt4=yes
    policy-kit=no
    hpijs-only-build=no
    lite-build=no
    udev-acl-rules=no
    hpcups-only-build=no
    hpijs-only-build=no
    
    hp-check[31329]: info: :
    hp-check[31329]: info: :Current contents of '/var/lib/hp/hplip.state' file:
    hp-check[31329]: info: :# hplip.state - HPLIP runtime persistent variables. 
    
    [plugin]
    installed=0
    eula=0
    
    
    hp-check[31329]: info: :
    hp-check[31329]: info: :Current contents of '~/.hplip/hplip.conf' file:
    hp-check[31329]: info: :[settings]
    systray_visible = 0
    systray_messages = 0
    
    [last_used]
    device_uri = "hp:/net/Officejet_Pro_8500_A910?zc=HPOccam"
    printer_name = Officejet_Pro_8500_A910
    working_dir = .
    
    [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 = 
    
    [installation]
    date_time = 29. okt. 2011 22:14:33
    version = 3.11.5
    
    
    hp-check[31329]: info: :
    hp-check[31329]: info: :--------------------------
    hp-check[31329]: info: :| DISCOVERED USB DEVICES |
    hp-check[31329]: info: :--------------------------
    hp-check[31329]: info: :
    hp-check[31329]: info: :No devices found.
    hp-check[31329]: info: :
    hp-check[31329]: info: :---------------------------------
    hp-check[31329]: info: :| INSTALLED CUPS PRINTER QUEUES |
    hp-check[31329]: info: :---------------------------------
    hp-check[31329]: info: :
    hp-check[31329]: info: :
    hp-check[31329]: info: :Officejet_Pro_8500_A910
    hp-check[31329]: info: :-----------------------
    hp-check[31329]: info: :Type: Printer
    hp-check[31329]: info: :Device URI: hp:/net/Officejet_Pro_8500_A910?zc=HPOccam
    hp-check[31329]: info: :PPD: /etc/cups/ppd/Officejet_Pro_8500_A910.ppd
    hp-check[31329]: info: :PPD Description: HP Officejet Pro 8500 a910 hpijs, 3.11.5
    hp-check[31329]: info: :Printer status: printer Officejet_Pro_8500_A910 is idle.  enabled since fr. 28. okt. 2011 kl. 20.36 +0200
    hp-check[31329]: info: :Communication status: Good
    hp-check[31329]: info: :
    hp-check[31329]: info: :
    hp-check[31329]: info: :----------------------
    hp-check[31329]: info: :| SANE CONFIGURATION |
    hp-check[31329]: info: :----------------------
    hp-check[31329]: info: :
    hp-check[31329]: info: :'hpaio' in '/etc/sane.d/dll.conf'...
    hp-check[31329]: info: :OK, found. SANE backend 'hpaio' is properly set up.
    hp-check[31329]: info: :
    hp-check[31329]: info: :Checking output of 'scanimage -L'...
    hp-check[31329]: info: :
    No scanners were identified. If you were expecting something different,
    check that the scanner is plugged in, turned on and detected by the
    sane-find-scanner tool (if appropriate). Please read the documentation
    which came with this software (README, FAQ, manpages).
    
    hp-check[31329]: info: :
    hp-check[31329]: info: :---------------------
    hp-check[31329]: info: :| PYTHON EXTENSIONS |
    hp-check[31329]: info: :---------------------
    hp-check[31329]: info: :
    hp-check[31329]: info: :Checking 'cupsext' CUPS extension...
    hp-check[31329]: info: :OK, found.
    hp-check[31329]: info: :
    hp-check[31329]: info: :Checking 'pcardext' Photocard extension...
    hp-check[31329]: info: :OK, found.
    hp-check[31329]: info: :
    hp-check[31329]: info: :Checking 'hpmudext' I/O extension...
    hp-check[31329]: info: :OK, found.
    hp-check[31329]: info: :
    hp-check[31329]: info: :Checking 'scanext' SANE scanning extension...
    hp-check[31329]: info: :OK, found.
    hp-check[31329]: info: :
    hp-check[31329]: info: :
    hp-check[31329]: info: :
    hp-check[31329]: info: :---------------
    hp-check[31329]: info: :| USER GROUPS |
    hp-check[31329]: info: :---------------
    hp-check[31329]: info: :
    hp-check[31329]: info: :users lp video
    
    hp-check[31329]: info: :
    hp-check[31329]: info: :-----------
    hp-check[31329]: info: :| SUMMARY |
    hp-check[31329]: info: :-----------
    hp-check[31329]: info: :
    error: 1 error or warning.
    hp-check[31329]: info: :
    hp-check[31329]: info: :Please refer to the installation instructions at:
    hp-check[31329]: info: :http://hplip.sourceforge.net/install/index.html
    
    hp-check[31329]: info: :
    hp-check[31329]: info: :Done.

  4. #4
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    10,648

    Default Re: Unable to open initial device, quitting

    That's a ghostscript error. It might also be useful to look at /var/log/cups/access_log and error_log. It is probably related to the configured driver. When you installed, did you do so via 'hp-setup'?

    I'd also like to know if 'hp-testpage' prints successfully....
    Last edited by deano_ferrari; 29-Oct-2011 at 15:09. Reason: Additional request

  5. #5
    Join Date
    Oct 2011
    Location
    Norway
    Posts
    21

    Default Re: Unable to open initial device, quitting

    Quote Originally Posted by deano_ferrari View Post
    That's a ghostscript error. It might also be useful to look at /var/log/cups/access_log and error_log. It is probably related to the configured driver. When you installed, did you do so via 'hp-setup'?

    I'd also like to know if 'hp-testpage' prints successfully....
    Hi

    I installed hplip with yast. hp-testpage has the same problem. After i ran hp-testpage the lines below appeared in access log. Nothing in error.log



    localhost - - [30/Oct/2011:18:09:05 +0100] "POST /printers/Officejet_Pro_8500_A910 HTTP/1.1" 200 392 Create-Job successful-ok
    localhost - - [30/Oct/2011:18:09:05 +0100] "POST /printers/Officejet_Pro_8500_A910 HTTP/1.1" 200 423157 Send-Document successful-ok
    Last edited by bkv1; 30-Oct-2011 at 10:14. Reason: typoes

  6. #6
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    10,648

    Default Re: Unable to open initial device, quitting

    Can you answer my question about how you first configured your printer. (YaST, hp-setup, or CUPS web interface)? It may be the incorrect driver is used.

    HP Linux Imaging and Printing

  7. #7
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    10,648

    Default Re: Unable to open initial device, quitting

    I also note that the HP Linux page mentions the HP Officejet Pro 8500 requires

    Minimum HPLIP version 3.9.2
    while you have the following version reported via hp-check
    Code:
    [hplip]
    version=3.11.5
    Maybe that is your issue?

  8. #8
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    22,857

    Default Re: Unable to open initial device, quitting

    On 2011-10-30 20:26, deano ferrari wrote:

    >> Minimum HPLIP version 3.9.2


    > version=3.11.5


    > Maybe that is your issue?


    He has more than the minimum. 11>9

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" at Telcontar)

  9. #9
    Join Date
    Oct 2011
    Location
    Norway
    Posts
    21

    Default Re: Unable to open initial device, quitting

    Quote Originally Posted by deano_ferrari View Post
    Can you answer my question about how you first configured your printer. (YaST, hp-setup, or CUPS web interface)? It may be the incorrect driver is used.

    HP Linux Imaging and Printing
    I did it first in yast, but I have done it over again, maybe also in hp-setup. Can't exactly remember. Should I delete the printer definition and configure the printer again?

  10. #10
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    10,648

    Default Re: Unable to open initial device, quitting

    @carlos: True, too early in the morning for me.

    I did it first in yast, but I have done it over again, maybe also in hp-setup. Can't exactly remember. Should I delete the printer definition and configure the printer again?
    I would.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •