Persistent variable ..

Hi,
I have a question related to user variables.
The system here has user variable set as persistent in registry it is set to zero.How system will behave incase both routers are down.
I am facing a issue wherein the emergency is triggered but I don't see ant records in TCD and RCD.
What can be causes?Any clues?
THX

quote:
Originally posted by:
Suva1
Thanks Dan,
I was looking at scoped variables as well as caching earlier
but was not sure that I was looking in the right direction. I'll
have to do some more research to understand how to properly scope
my variables so that this behaviour does not exist anymore.
Off the top of my head, if I remember correctly, I would
differentiate the scoping as form.var vs. url.var, is that right?
Cheers
That's correct.

Similar Messages

  • What is persistent variable?

    Hi!
    what is the correct definition for persistent variable in java?
    Thanx
    -Sasi

    what is the correct definition for persistent variable
    in java?In what context did you see this?
    The term "persistent" is used to refer to data which maintains state between runs of the applications. The data is stored in some fashion (database or file.)
    As an example the following two terms are equivalent (although the first is more general.)
    The customer will be persisted.
    The customer will be stored in the database.
    Normally a single variable is not stored. Although that might be the case for user preferences in a GUI for example.

  • Session Persistent Variables

    I am working on converting a legacy client/server application to JSP/ADF/Struts in JDeveloper 10g. (and learning Jdev and Java at the same time.) The client/server version maintained a list of variables that persisted during the users's session, and then at application close were posted to a user settings table in the database.
    I'm "assuming" that a similar approach is both possible and best in this new environment, but I haven't come across any examples of how to implement it.
    Does anyone know of any example projects or documentation that describe how to persist variables throughout a user's session?

    What I'd like to maintain are application-specific values, such as the primary key of the selected record, user preferences, etc. (Nothing that Oracle stores in views, unfortunately.) What I'm envisioning is some sort of java class that holds the values, and is maintained by the business tier for the duration of the user's session. Values will change during the session, but once the session is terminated, the values must be flushed to the database and then restored when the user logs in next. What I don't know how to do is how to implement this in the business tier. Is it possible to maintain variables like this and associate them with a specific user? Are there any example apps out there that do that? Alternatively, is there a better way to do this that I haven't thought of?

  • Persistent variable in package

    Hey,
    I am not sure where exactly to ask about this, so if I posted in the wrong forum forgive me.
    My problem is this: I am writing an application which interacts with a remote server using the functions in the utl_tcp package. This works with no problems in testing, but after I put a web interface on it I discovered that what I thought were global variables (defined in the package spec) are being reset every time a new call is made to the server. The interface works by repeatedly calling a certian function in my package which checks the tcp stream (what I want to be my 'global' variable) for any new information coming downstream. When it does this though the stream is gone, the variable has been reset with every request.
    I tested this with a more simple variable too to make sure it just wasnt some quirk of the tcp connection type. What I want to happen in the code is everytime the procedure 'increment' is hit the variable would increase. This is that test code:
    PACKAGE test IS
       testNum number := 0;
       PROCEDURE increment;
    END test;
    PACKAGE BODY test IS
       PROCEDURE increment IS
       BEGIN
           testNum := testNum + 1;
           htp.prn('Current value: ' || testNum);
       END;
    END test;
    After hitting that procedure a few times the output was 1 every time, so it would seem what I had believed to be 'global' variables are actually local to the request, reset every time, and that is not going to work for me. I need some persistance.
    Someone mentioned something to me about storing variables in a session object, but I don't know anything about that (yet)...
    Any help would be appreciated.

    Hey,
    I am not sure where exactly to ask about this, so if I posted in the wrong forum forgive me.
    My problem is this: I am writing an application which interacts with a remote server using the functions in the utl_tcp package. This works with no problems in testing, but after I put a web interface on it I discovered that what I thought were global variables (defined in the package spec) are being reset every time a new call is made to the server. The interface works by repeatedly calling a certian function in my package which checks the tcp stream (what I want to be my 'global' variable) for any new information coming downstream. When it does this though the stream is gone, the variable has been reset with every request.
    I tested this with a more simple variable too to make sure it just wasnt some quirk of the tcp connection type. What I want to happen in the code is everytime the procedure 'increment' is hit the variable would increase. This is that test code:
    PACKAGE test IS
       testNum number := 0;
       PROCEDURE increment;
    END test;
    PACKAGE BODY test IS
       PROCEDURE increment IS
       BEGIN
           testNum := testNum + 1;
           htp.prn('Current value: ' || testNum);
       END;
    END test;
    After hitting that procedure a few times the output was 1 every time, so it would seem what I had believed to be 'global' variables are actually local to the request, reset every time, and that is not going to work for me. I need some persistance.
    Someone mentioned something to me about storing variables in a session object, but I don't know anything about that (yet)...
    Any help would be appreciated.

  • Persistent variables in userForm

    This is probably a stupid newbie question, but I've been unable to solve this or find a solution on these forums or Google...
    The situation: I have a form that has several stages. Depending on variables in the form elements are shown or hidden. The form 'recalculates' a couple of times before the actual 'Save' button can be reached. Form elements (classical HTML From elemenents) are maintained, but variables declared by <defvar> are lost between the 'recalculations'. Values for the resource attributes, like e.g. accounts[Lighthouse].firstname do not get saved until the (IdM) form is actually saved.
    What I want is to have a way to transfer variables between the various stages of the form, but I do not want to use the "Hidden" type of form element. The values should in no way be visible to the end user (not stored in cookies, hidden fields, etc.), but stay on the server side only. I cannot imagine that there is no way to do this.
    Can anyone help me?
    Is it for example possinble to declare a "Hash" or "Array" object in the .jsp code and access that form the form? If so, please explain how.
    Thank you very much in advance!
    Best regards,
    Menno Pieters

    As you mention it, it is generally not a good idea to use <defvar> to maintain variable values between refreshes, because the variable value is lost
    The best practice is to define <Field> without any <Display> clause => this will add entries in the user view that will persist as long as the view is alive (eg : until discarded or committed)
    A field can be any type (string, integer, encrypted, date.. single/multi-valued...)
    If there is no <display> the value is not rendered in the HTML page and remains on the server
    If the value is "static", define it in the <Default> clause (therefore it is calculated only once). If it is updated when the page refreshes, define the value in the <Expansion> as any other field.
    Cyril

  • Persisting variables to global scope (M spec's 'shared' keyword?)

    Hi,
    I wanted to declare multiple variables I'd like to reuse in a query, and be able to keep them in scope afterwards for use in other queries. The alternative of redeclaring them in each query separately would seem tedious, while individual queries can also
    only return one variable each (be it a table/list).
    I read in the M formula specification that it should be possible to global-scope a variable using the 'shared' keyword, though apparently this was only for use in the 'sections' part of the M specification unimplemented in Power Query itself. Am I missing
    something? Might there be some other way to persist a variable to the shared (global) scope from within a query?

    Thank you for the further clarification on sections; I didn't really know they are still kind of there in the background.
    Reconsidering, I suppose my perceived issue isn't really so bad. I think what I wanted (using M functions from text files like an external library) is pretty well doable, so I've Github'd (https://github.com/tycho01/pquery) what I have for others to try;
    perhaps that may help illustrate my use case a bit. I think I'm actually satisfied now, though I may as well explain better what I was trying.
    What I'm imagining (as an analogy to my experience with Excel VBA) is basically having a larger library of user defined M functions to flesh out the built-in ones, with smaller functions for relatively basic tasks, and mid-level functions building upon those
    and upon each other.
    Considering the (current) effort in adding a bunch of functions to different workbooks, not to mention edit syncing concerns, keeping such all-purpose functions separate from individual workbooks (in analogy to VBA's 'personal' workbook) would seem sensible.
    If that were to work out, eventually it may be preferable if things were to 'just work', in terms of all functions being in scope, so each such library function could freely call other such library functions.
    At present, if you load multiple functions through Expression.Evaluate(), possible in batch through lists/records as you mentioned, they will all be available in the original scope.
    However, with no effective way to pass this around (unless environments?), the loaded functions will not know of each other though. What I do now is to explicitly load used library functions in each function where they are needed. Under this limitation of losing
    scope between functions, it might be ideal to have all available functions loaded only once.
    Reloading in batch (i.e. load the whole library rather than the parts needed) within every new function scope may become less desirable in terms of unnecessary overhead.
    I suppose for the most part my scenario is still largely hypothetical though, so I might as well try and see if the general idea would take off in the PQ community for now. In either case, thank you for your replies.

  • Does window.opener persist (javascript)?

    If a new popup (created from a parent window) uses window.opener, and the popup reloads itself when it's form is submitted to the same page by calling the same url (jsp) it was created with, does the window.opener retain it's handle on the parent window? Assume both the parent and the popup are never closed between submissions.
    In simple testing, I am finding that window.opener is in fact retained, and the popup can manipulate the parent window even after the popup is reloaded. Likewise, the parent window can still be manipulated from the popup when the parent is reloaded. But I just wanted to more sure before I incorporate this in a larger application, in case my simple test was some accidental fluke.
    I realize javascript variables are normally reloaded, but my initial testing suggests that the window.opener is a special persistant variable.

    Curt,
    In the DOM opener is a Window property, therefore, if neither window is closed, all of the window properties persist.
    Alex C.

  • Reuse Variable In Packages

    I have a scenario where I need to reuse the variable in several packages without refreshing it. For example I have package 1, 2 and 3. I have defined a variable var_timestamp with latest value and declare this variable in package 3, I have generated scenario of package 1 and 2 and insert it in package 3. I refresh the variable as first step and reuse the variable in package 1 and 2 without refreshing it but var_timestamp value is not recognized in package 1 and 2.I didn't declare these variable in package 1 and 2 as I dont want it to be refresh again. I have tried Not Persistant variable as well but it didn't work. Any clue how can we reuse the variable without refreshing it in different packages.
    Thanks
    Kash

    When you use a variable in a package it is important to declare it
    Use the variable as Latest Value
    Dont use the Historize or Persistent
    If you have declared and refreshed it in package 3.......there might be 2 steps right?
    1st step as declare and another step as refresh
    In your packages 1 & 2, you should make a step as declare variable only, where you should drag your variable in the package and make it a declare variable step
    And re-generate the scenario to be able to get the effect of this change in your scenario
    Let me know in case you face any difficulties

  • What is session variables in BSP

    Hi
    I am using using IC Webclient. can anyone help me to findout the details about session varibales ?
    Best Regards
    Bhavishya

    hi,
    Session variables is a handy way to define a persistent variable.The standard variables used in ColdFusion can be only transferred or sent to the next page before it is necessary to restate the variable. In some situations, you may want to define a variable that will apply to all the pages during a single session of the user. An example is when the pages a user sees are personalized to his or her specific needs. In such a case, session variables are defined and used.
    Session variable persistent
    A session variable is one of several types of variables that persist across multiple templates:
    >Server variables - Accessible by all clients and applications on a single
    >Application variables - Tied to a single application and accessible by multiple clients
    >Client variables - Tied to a single client over multiple sessions
    >Session variables - Exist for one client or browser during a single session
    >Cookie variables
    Session variables are designed to hold information that you seldom write but are read often.
    Defining session variables
    Session variables are normally defined in the Application template, but can be also defined on all applicable pages.
    Application template
    The standard method of using session variables is to define them in the application.cfm template, which is a special ColdFusion page that is processed before the other pages in a session. It usually should be in the session root directory.
    CFAPPLICATION tag
    To enable the use of session variables, as well as client and application management, you should use the CFAPPLICATION tag in the Application template. A typical tag would be:
    <CFAPPLICATION NAME="Name"
    SESSIONMANAGEMENT="Yes"
    SESSIONTIMEOUT="#CreateTimeSpan(0, 0, 20, 0)#">
    where:
    >NAME is required to avoid problems if you have session variables tied to separate applications.
    >SESSIONMANAGEMENT is required to enable the session variables.
    >SESSIONTIMEOUT is optional and limits the time the variables will stay in memory (20 minutes in the example) Note that the default is 20 minutes, so you really may not need this unless you want to change that number.
    Setting variables
    After the CFAPPLICATION tag, you can set your session variables, using the CFSET tag. You must always refer to session variables with the prefix session. Thus, you could define a session variable, such as:
    <CFSET session.name="#form.othername#">
    Should lock variables
    You should lock the session variables to avoid problems when several people are using the system at the same time. An example of this is:
    <CFLOCK TIMEOUT="30" NAME="#session.sessionID#" TYPE="Exclusive">
    <CFSET session.name="#form.othername#">
    </CFLOCK>
    Defined on applicable pages
    A problem in using the Application.cfm template is that it is often difficult to change your session variables, once they have been set. An alternative is to use the CFAPPLICATION tag in each applicable page:
    <CFAPPLICATION NAME="Name"
    SESSIONMANAGEMENT="Yes">
    You then can define the session variable in the first page, accessed:
    <CFOUTPUT QUERY="return">
    <CFSET session.ID="#ID#">
    </CFOUTPUT>
    This is a compromise between the standard method and defining the variable on each page.
    Example of use
    Suppose a user logged in to the site. His name could be sent through a form and entered in Application.cfm. Then the session will constantly refer to him by name.
    Application.cfm
    <CFAPPLICATION NAME="Name"
    SESSIONMANAGEMENT="Yes">
    <CFSET session.name="#form.othername#">
    Start.cfm
    <CFOUTPUT>
    <H1>Hello #session.name#</H1>
    </CFOUTPUT>

  • Reporting value of UCCE User Variable

    All,
    Using SQL, where can I find the current value of an ICM User Variable?  I use these for many things including open hours in admin scripts and when special helpdesk messages are ative.  I've been reading the database schema document and it's telling me to look in the t_Persistent_Variable table and yet it is blank.
    Thanks in advance for the help
    UCCE version 8.5

    This query could be helpful, depending on the size of your contact center. This can only be ran against the logger; the aw and hds databases do not hold data within the persistent variable table. 
    SELECT uv.ObjectType, pv.ValueInt, uv.VariableName, pv.ValueChar
    FROM Persistent_Variable pv, User_Variable uv
    WHERE pv.UserVariableID = uv.UserVariableID
    ORDER BY uv.VariableName DESC
    The other option you have is using rttest. You can log into your Call Router and run this via command prompt, as an example.
    C:\>rttest /system /cust
    rttest: expr ..
    rttest doc:
    http://www.cisco.com/en/US/products/sw/custcosw/ps1001/products_tech_note09186a00800ac69b.shtml

  • Web Services session variable

    1 - i've the following problem i've a VI that write in the output channel of a DAQ card a certain value of voltage, i can write to the output channel any value between 0 to10, because im using a labview 8.6 i decide to create a web service wich  works, my only problem is that my web service only accept the first value of voltage that i use, how can i've a persistent variable in web services, i try to found samething the web services pallete but didnt work, can sameone help-me?
     2 - my second question is the next when u've a labview web service where do u find the generated xml file? im asking that because i need a rest client for my labview web service in PHP, i still making my way to this new feature of labview.
    Attachments:
    tzid.zip ‏218 KB

    Hi mngolo.
    I try to unzip your attached file but I can't. Two of my colleagues try too but they have the same issue. We've got about 8 error messages. It should be hard for us to help you or to reproduce your issue without your code  .
    I advice you to contact the NI support by phone, I think it's the best way to solve your problem.
    I am very sorry that I can't help you more on your problem. Could you share/post the solution when your problem is solved with the support please? I am interesting to know more about your issue .
    Thanks in advance.
    Best Regards.       
    Romain D.
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    NIDays 2010 : Conférence mondiale de l'instrumentation virtuelle
    >>Détails et Inscription<<

  • Dynamic images in CF report builder 7

    Hi :-)
    Im pulling my hair out over an issue with cfreport builder 7
    and the abillity to dynamically display images.
    I can display images dynamicaly fine using this method:
    application.coverimage & "/" & query.image
    The problem is ive no idea how to say " if there is no image
    available then display noimage.jpg"
    ive played with the iif and fileexists functions but cant
    seem to get it to work within the report builder.
    If using cf report builder 8 the answer is simple, you can
    change an attribute of the image to say "on error do not display
    image" but i really need to do this with CF7.
    Can anyone help please? :-)

    I just found this solution and it helped me, and then I found a nice way to show your "noimage.jpg". You make a report function which sets a persistent variable containing the path to your image (I use the Request scope, so "Request.imagePath" for example). The variable is set to your "noimage.jpg" if it can't find the image path. You can pass parameters to the function from your query, if you wish. The function itself always returns "true". Call this function in the "Print when" property (remember, it's always true so it will always show), and the persistent variable is used as the image path. That way you can have your proper image or your default image show.
    I almost gave up on the CF Report Builder -- the report functions made it cool enough to keep using.

  • HPlip: "Unable to communicate with the device" error

    Hello Arch Community, I've been a user of Arch for a while and most of it just worked out of the box. However, I had my HP 6300 working through a direct connection. But a couple of days ago it just broke.
    I've tried everything I could think of to make it back but all has been unsuccesful, I removed the printer and tried to add it again (sorry, old Windows habit, there most of the time works), however, I couldn't add the printer, it fails with the error: "Unable to communicate with the device. Please check the device and try again.", I added myself to the ld group (shouldn't matter, but I did it anyway)
    I have cups 1.4.2.
    Hp-check:
    HP Linux Imaging and Printing System (ver. 3.9.10)
    Dependency/Version Check Utility ver. 14.3       
    Copyright (c) 2001-9 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 carloslicea-laptop 2.6.31-ARCH #1 SMP PREEMPT Tue Nov 10 19:48:17 CET 2009 i686 Intel(R) Core(TM)2 CPU T5600 @ 1.83GHz GenuineIntel GNU/Linux                                                     
    Distribution:
    unknown 0.0 
    Checking Python version...
    OK, version 2.6.4 installed
    Checking PyQt 4.x version...
    OK, version 4.6.1 installed.
    Checking for CUPS...
    Status: el planificador de tareas se está ejecutando
    Version: 1.4.2
    warning: /etc/cups/cupsd.conf file not found or not accessible.
    Checking for dbus/python-dbus...
    dbus daemon is running.
    python-dbus version: 0.83.0
    | COMPILE AND RUNTIME DEPENDENCIES |
    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).                                                                                                 
    Checking for dependency: CUPS - Common Unix Printing System...
    OK, found.                                                   
    Checking for dependency: CUPS DDK - CUPS driver development kit...
    warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.                                                                                   
    Checking for dependency: CUPS devel- Common Unix Printing System development files...
    OK, found.                                                                           
    Checking for dependency: CUPS image - CUPS image development files...
    OK, found.                                                           
    Checking for dependency: DBus - Message bus system...
    OK, found.                                           
    Checking for dependency: gcc - GNU Project C and C++ Compiler...
    OK, found.                                                     
    Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
    OK, found.                                                                                     
    Checking for dependency: libcrypto - OpenSSL cryptographic library...
    OK, found.                                                           
    Checking for dependency: libjpeg - JPEG library...
    OK, found.                                       
    Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
    OK, found.                                                                             
    Checking for dependency: libpthread - POSIX threads library...
    OK, found.                                                   
    Checking for dependency: libtool - Library building support services...
    OK, found.                                                             
    Checking for dependency: libusb - USB library...
    OK, found.                                     
    Checking for dependency: make - GNU make utility to maintain groups of programs...
    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...
    warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.                                                                                   
    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 devel - Python development files...
    OK, found.                                                         
    Checking for dependency: Python libnotify - Python bindings for the libnotify Desktop notifications...                                                                                                 
    warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.                                                                                   
    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: Python 2.2 or greater - Python programming language...
    OK, found.                                                                     
    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.                                                                                   
    Checking for dependency: SANE - Scanning library...
    OK, found.                                         
    Checking for dependency: SANE - Scanning library development files...
    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.9.10 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.9.10
    [dirs]
    home=/usr/share/hplip
    run=/var/run         
    ppd=/usr/share/ppd/HP
    ppdbase=/usr/share/ppd
    doc=/usr/share/doc/hplip-3.9.10
    icon=/usr/share/applications   
    cupsbackend=/usr/lib/cups/backend
    cupsfilter=/usr/lib/cups/filter 
    drv=/usr/share/cups/drv/hp       
    # 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=yes                                                         
    foomatic-drv-install=yes                                                 
    foomatic-ppd-install=yes                                                 
    foomatic-rip-hplip-install=yes                                           
    hpcups-install=yes                                                       
    cups-drv-install=yes                                                     
    cups-ppd-install=no                                                       
    internal-tag=3.9.10.72                                                   
    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                                                       
    Current contents of '/var/lib/hp/hplip.state' file:
    # hplip.state - HPLIP runtime persistent variables.
    [plugin]
    installed=0
    eula=0     
    Current contents of '~/.hplip/hplip.conf' file:
    [last_used]                                   
    printer_name =                                 
    printer =                                     
    working_dir = .                               
    device_uri = "hp:/net/Officejet_6300_series?zc=HP56B6CF"
    [commands]
    scan = /usr/bin/xsane -V %SANE_URI%
    [installation]
    version = 3.9.10.72
    date_time = 12/04/09 23:41:37
    [settings]
    systray_messages = 0
    systray_visible = 1
    [fax]
    email_address =
    voice_phone =   
    [refresh]
    rate = 30
    enable = false
    type = 1     
    [polling]
    enable = false
    device_list =
    interval = 5 
    | DISCOVERED USB DEVICES |
    No devices found.
    | INSTALLED CUPS PRINTER QUEUES |
    lpstat
    Type: Unknown
    Device URI: No se han añadido destinos.
    | SANE CONFIGURATION |
    'hpaio' in '/etc/sane.d/dll.conf'...
    OK, found. SANE backend 'hpaio' is properly set up.
    Checking output of 'scanimage -L'...
    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).
    | 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 |
    dbus hal network video audio optical storage power users policykit vboxusers
    | SUMMARY |
    error: 4 errors and/or warnings.
    Please refer to the installation instructions at:
    http://hplip.sourceforge.net/install/index.html
    Done.
    Albeit it has errors, I can't see how they are releated (cups does have a conf file, but it seems that *my* user can't access it, expected 'couse it's owned by root). Any ideas?

    Hi
    I had the same problem. The solution is to change the network discovery mode to SLP or add manually the IP address of your printer at the first step of the hp setup wizard. After you install the printer successfully, check the maximum resolution of the driver. Mysteriously, for me the maximum resolution was restricted to 600 dpi so I downgraded to the previous version of HPLIP and got back the 1200 dpi option. Please let me know if you have this issue too. I have posted this question in the hplip forums, but I haven't received any replies yet.

  • Wireless configuration for HP OfficeJet 6500A plus All-In-One printer on Ubuntu 10.04

    I have bought a HP OfficeJet 6500A plus All-In-One printer CN557A, which I want to use with ubuntu 10.04 64-bit as a wireless network printer.
    Before i bought i checked compatibility on www.hplipopensource.org and www.openprinting.org, and all was in order.
    The machine is autodetected and fully functional when connected with a usb cable, but i have not managed to get it to work as a wireless printer.
    This is what I did:
    I configured the printer on the wireless network (through the printer interface), and it connects. It prints out a "Wireless Network Test Report", and everything works. I can ping to its local ip adress, and access it through the browser. HP eprint also works.
    I installed hplip 3.11.10 and dependencies manually. I did this because the default hplip in ubuntu 10.04 did not recognise the device.
    I ran 'hp-check', which gave no errors or warnings:
    tjoff@mek-403-jakbo-01:~$ hp-check
    HP Linux Imaging and Printing System (ver. 3.11.10)
    Dependency/Version Check Utility ver. 14.3
    Copyright (c) 2001-9 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 mek-403-jakbo-01 2.6.32-35-generic #78-Ubuntu SMP Tue Oct 11 16:11:24 UTC 2011 x86_64 GNU/Linux
    Distribution:
    ubuntu 10.04
    Checking Python version...
    OK, version 2.6.5 installed
    Checking PyQt 4.x version...
    OK, version 4.7.2 installed.
    Checking for CUPS...
    Status: scheduler is running
    Version: 1.4.3
    error_log is set to level: warn
    Checking for dbus/python-dbus...
    dbus daemon is running.
    python-dbus version: 0.83.0
    | COMPILE AND RUNTIME DEPENDENCIES |
    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).
    Checking for dependency: CUPS - Common Unix Printing System...
    OK, found.
    Checking for dependency: CUPS devel- Common Unix Printing System development files...
    OK, found.
    Checking for dependency: CUPS image - CUPS image development files...
    OK, found.
    Checking for dependency: DBus - Message bus system...
    OK, found.
    Checking for dependency: gcc - GNU Project C and C++ Compiler...
    OK, found.
    Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
    OK, found.
    Checking for dependency: libcrypto - OpenSSL cryptographic library...
    OK, found.
    Checking for dependency: libjpeg - JPEG library...
    OK, found.
    Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
    OK, found.
    Checking for dependency: libpthread - POSIX threads library...
    OK, found.
    Checking for dependency: libtool - Library building support services...
    OK, found.
    Checking for dependency: libusb - USB library...
    OK, found.
    Checking for dependency: make - GNU make utility to maintain groups of programs...
    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 devel - Python development files...
    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: Python 2.2 or greater - Python programming language...
    OK, found.
    Checking for dependency: Reportlab - PDF library for Python...
    OK, found.
    Checking for dependency: SANE - Scanning library...
    OK, found.
    Checking for dependency: SANE - Scanning library development files...
    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.11.10 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.11.10
    [dirs]
    home=/usr/share/hplip
    run=/var/run
    ppd=/usr/share/ppd/HP
    ppdbase=/usr/share/ppd
    doc=/usr/share/doc/hplip-3.11.10
    icon=/usr/share/applications
    cupsbackend=/usr/lib/cups/backend
    cupsfilter=/usr/lib/cups/filter
    drv=/usr/share/cups/drv/hp
    # 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-drv-install=no
    foomatic-ppd-install=no
    foomatic-rip-hplip-install=no
    hpcups-install=yes
    cups-drv-install=yes
    cups-ppd-install=no
    internal-tag=3.11.10
    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-only-build=no
    hpijs-only-build=no
    Current contents of '/var/lib/hp/hplip.state' file:
    # hplip.state - HPLIP runtime persistent variables.
    [plugin]
    installed=0
    eula=0
    Current contents of '~/.hplip/hplip.conf' file:
    [last_used]
    printer_name =
    working_dir = .
    device_uri = "hp:/usb/Officejet_6500_E710n-z?serial=CN16F2402Q05JW"
    [commands]
    scan = /usr/bin/xsane -V %SANE_URI%
    [installation]
    version = 3.11.10
    date_time = 2011-11-16 14:30:35
    [settings]
    systray_messages = 0
    systray_visible = 0
    [fax]
    email_address =
    voice_phone =
    [refresh]
    rate = 30
    enable = false
    type = 1
    [polling]
    enable = false
    device_list =
    interval = 5
    | DISCOVERED USB DEVICES |
    Device URI Model
    hp:/usb/Officejet_6500_E710n-z?s HP Officejet 6500 E710n-z
    erial=CN16F2402Q05JW
    | INSTALLED CUPS PRINTER QUEUES |
    B-403-271-A4-COLOR2
    Type: Unknown
    Device URI: smb://mek-ps1.win.dtu.dk/403-271-A4-Color
    B403-271-A4-BW
    Type: Unknown
    Device URI: smb://mek-ps1.win.dtu.dk/403-271-A4-BW
    HP-Officejet-6500-E710n-z-FAX
    Type: Printer
    Device URI: hp:/usb/Officejet_6500_E710n-z?serial=CN16F2402Q05JW
    PPD: /etc/cups/ppd/HP-Officejet-6500-E710n-z-FAX.ppd
    PPD Description: HP Officejet 6500 e710n-z, hpcups 3.11.10
    Printer status: printer HP-Officejet-6500-E710n-z-FAX is idle. enabled since 2011-11-16T01:00:45 CET
    Communication status: Good
    | SANE CONFIGURATION |
    'hpaio' in '/etc/sane.d/dll.conf'...
    OK, found. SANE backend 'hpaio' is properly set up.
    Checking output of 'scanimage -L'...
    device `hpaio:/usb/Officejet_6500_E710n-z?serial=CN16F2402Q05JW' is a Hewlett-Packard Officejet_6500_E710n-z 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.
    | USB I/O SETUP |
    Checking for permissions of USB attached printers...
    HP Device 0x5412 at 002:005:
    Device URI: hp:/usb/Officejet_6500_E710n-z?serial=CN16F2402Q05JW
    Device node: /dev/bus/usb/002/005
    Mode: 0664
    | USER GROUPS |
    lp adm dialout cdrom plugdev lpadmin admin sambashare vboxusers
    | SUMMARY |
    No errors or warnings.
    Done.
    I then ran 'sudo hp-setup', chose the device (which was detected), chose my wireless network, entered the wireless security key. On the configuration results dialog I get two messages:
    "Your printer has been succesfully configured on the wireless network. You may now unplug the USB cable"
    and
    "The Ethernet cable is plugged in which will prevent you from connecting to a wireless network. To connect wirelessly, remove the cable and try again. (VSA000)"
    There is no ethernet cable plugged in, so i can't remove it. I unplug the USB cable and click 'finish'. This makes the 'hp-setup'-dialog start over again, and the printer has not been installed.
    In the terminal i have the following:
    tjoff@mek-403-jakbo-01:~$ sudo hp-setup
    [sudo] password for tjoff:
    HP Linux Imaging and Printing System (ver. 3.11.10)
    Printer/Fax Setup Utility ver. 9.0
    Copyright (c) 2001-9 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.
    Searching on USB bus...
    GET /IoMgmt/Adapters HTTP/1.1
    Host: localhost
    User-Agent: hplip/3.0
    Content-Type: text/xml; charset=utf-8
    Content-Length: 0
    GET /IoMgmt/Adapters/Wifi0/WifiNetworks HTTP/1.1
    Host: localhost
    User-Agent: hplip/3.0
    Content-Type: text/xml; charset=utf-8
    Content-Length: 0
    GET /IoMgmt/Adapters/Wifi0/Profiles/Active HTTP/1.1
    Host: localhost
    User-Agent: hplip/3.0
    Content-Type: text/xml; charset=utf-8
    Content-Length: 0
    GET /IoMgmt/Adapters/Wifi0/Protocols HTTP/1.1
    Host: localhost
    User-Agent: hplip/3.0
    Content-Type: text/xml; charset=utf-8
    Content-Length: 0
    error: Missing response key: 'iorotocols-iorotocol-dd:dnsserveripaddress-0'
    GET /IoMgmt/Adapters/Wifi0/VsaCodes.xml HTTP/1.1
    Host: localhost
    User-Agent: hplip/3.0
    Content-Type: text/xml; charset=utf-8
    Content-Length: 0
    GET /IoMgmt/Adapters/Wifi0/WifiNetworks/SSID=mVnmXfsu HTTP/1.1
    Host: localhost
    User-Agent: hplip/3.0
    Content-Type: text/xml; charset=utf-8
    Content-Length: 0
    GET /IoMgmt/IoConfig.xml HTTP/1.1
    Host: localhost
    User-Agent: hplip/3.0
    Content-Type: text/xml; charset=utf-8
    Content-Length: 0
    I then tried to reconnect the printer usb cable and run 'hp-toolbox' and click "Wireless/wifi setup using USB". Now i get the error:
    tjoff@mek-403-jakbo-01:~$ hp-toolbox
    HP Linux Imaging and Printing System (ver. 3.11.10)
    HP Device Manager ver. 15.0
    Copyright (c) 2001-9 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.
    HP Linux Imaging and Printing System (ver. 3.11.10)
    Wifi Configuration Utility ver. 1.1
    Copyright (c) 2001-9 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.
    error: Channel write error
    error: An I/O error occurred. Please check the USB connection to your printer and try again. (Device I/O error)
    Done.
    I do not how get past this stage, and any help is welcome. 
    This question was solved.
    View Solution.

    A friendly soul on ubuntuforums pointed out to me, that the wireless configuration is only necessary when the printer is NOT connected to a (W)LAN. So all I really had to do was to configure the printer in the CUPS administation page, and it worked. Problem solved. Silly me.

  • HP Laserjet not working with CUPS

    There are some related threads in this forum, but I still can't figure out what is my problem (printer works in some situations - printing a pdf in evince or a webpage in chromium - but in others not, e.g. printing from emacs), and there are error messages from hp-check.
    Here are two command-line checks:
    [tj@arch ~]$ lpstat
    [tj@arch ~]$ hp-probe
    HP Linux Imaging and Printing System (ver. 3.12.2)
    Printer Discovery Utility ver. 4.1
    Using connection type: usb
    | DEVICE DISCOVERY |
    Device URI Model
    hp:/usb/HP_LaserJet_P2055d?serial=S1663Y7 HP LaserJet P2055d
    Found 1 printer(s) on the 'usb' bus.
    Here is what the CUPS webinterface at localhost:631 says:
    HP_LaserJet_P2055d (Idle, Accepting Jobs, Not Shared)
    Description: HP_LaserJet_P2055d
    Location:
    Driver: HP LaserJet P2055 Postscript (recommended) (grayscale, 2-sided printing)
    Connection: hp:/usb/HP_LaserJet_P2055d?serial=S1663Y7
    Defaults: job-sheets=none, none media=na_letter_8.5x11in sides=one-sided
    And here is the output from hp-checks, with 4 errors, the 2 most prominent of them extracted first:
    warning: No queues found.
    Checking for permissions of USB attached printers...
    HP Device 0x5c17 at 001:004:
    Device URI: hp:/usb/HP_LaserJet_P2055d?serial=S1663Y7
    error: Unable to connect to dbus session bus.
    Device node: /dev/bus/usb/001/004
    Mode: 0664
    getfacl: Entferne f?hrende '/' von absoluten Pfadnamen
    # file: dev/bus/usb/001/004
    # owner: root
    # group: lp
    user::rw-
    group::rw-
    other::r--
    [tj@arch ~]$ hp-check
    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 arch 3.2.13-1-ARCH #1 SMP PREEMPT Sat Mar 24 09:10:39 CET 2012 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 5000+ AuthenticAMD GNU/Linux
    Distribution:
    unknown 0.0
    Checking Python version...
    OK, version 2.7.2 installed
    Checking PyQt 4.x version...
    OK, version 4.9.1 installed.
    Checking for CUPS...
    Status:
    Version: 1.5.2
    error_log is set to level: warn
    Checking for dbus/python-dbus...
    dbus daemon is running.
    python-dbus version: 0.84.0
    | COMPILE AND RUNTIME DEPENDENCIES |
    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).
    Checking for dependency: CUPS - Common Unix Printing System...
    OK, found.
    Checking for dependency: CUPS devel- Common Unix Printing System development files...
    OK, found.
    Checking for dependency: CUPS image - CUPS image development files...
    OK, found.
    Checking for dependency: DBus - Message bus system...
    OK, found.
    Checking for dependency: gcc - GNU Project C and C++ Compiler...
    OK, found.
    Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
    OK, found.
    Checking for dependency: libcrypto - OpenSSL cryptographic library...
    OK, found.
    Checking for dependency: libjpeg - JPEG library...
    OK, found.
    Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
    OK, found.
    Checking for dependency: libpthread - POSIX threads library...
    OK, found.
    Checking for dependency: libtool - Library building support services...
    OK, found.
    Checking for dependency: libusb - USB library...
    OK, found.
    Checking for dependency: make - GNU make utility to maintain groups of programs...
    OK, found.
    Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
    warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
    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 devel - Python development files...
    OK, found.
    Checking for dependency: Python libnotify - Python bindings for the libnotify Desktop notifications...
    warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
    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: Python 2.2 or greater - Python programming language...
    OK, found.
    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.
    Checking for dependency: SANE - Scanning library...
    OK, found.
    Checking for dependency: SANE - Scanning library development files...
    OK, found.
    Checking for dependency: scanimage - Shell scanning program...
    OK, found.
    Checking for dependency: xsane - Graphical scanner frontend for SANE...
    warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
    | 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/HP
    ppdbase=/usr/share/ppd
    doc=/usr/share/doc/hplip-3.12.2
    icon=/usr/share/applications
    cupsbackend=/usr/lib/cups/backend
    cupsfilter=/usr/lib/cups/filter
    drv=/usr/share/cups/drv/hp
    # 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=yes
    hpcups-install=yes
    cups-drv-install=yes
    cups-ppd-install=yes
    internal-tag=3.12.2
    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-only-build=no
    hpijs-only-build=no
    Current contents of '/var/lib/hp/hplip.state' file:
    # hplip.state - HPLIP runtime persistent variables.
    [plugin]
    installed=0
    eula=0
    Current contents of '~/.hplip/hplip.conf' file:
    [settings]
    systray_visible = 0
    systray_messages = 0
    [last_used]
    device_uri =
    printer_name = HP_LaserJet_P2055d
    working_dir = .
    [commands]
    scan =
    [refresh]
    rate = 30
    enable = false
    type = 1
    [polling]
    enable = false
    interval = 5
    device_list =
    [fax]
    voice_phone =
    email_address =
    [installation]
    date_time = 04/03/12 12:29:03
    version = 3.12.2
    | DISCOVERED USB DEVICES |
    Device URI Model
    hp:/usb/HP_LaserJet_P2055d?seria HP LaserJet P2055d
    l=S1663Y7
    | INSTALLED CUPS PRINTER QUEUES |
    warning: No queues found.
    | SANE CONFIGURATION |
    'hpaio' in '/etc/sane.d/dll.conf'...
    OK, found. SANE backend 'hpaio' is properly set up.
    Checking output of 'scanimage -L'...
    device `v4l:/dev/video0' is a Noname USB Camera (046d:08da) virtual device
    | 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.
    | USB I/O SETUP |
    Checking for permissions of USB attached printers...
    HP Device 0x5c17 at 001:004:
    Device URI: hp:/usb/HP_LaserJet_P2055d?serial=S1663Y7
    error: Unable to connect to dbus session bus.
    Device node: /dev/bus/usb/001/004
    Mode: 0664
    getfacl: Entferne f?hrende '/' von absoluten Pfadnamen
    # file: dev/bus/usb/001/004
    # owner: root
    # group: lp
    user::rw-
    group::rw-
    other::r--
    | USER GROUPS |
    lp wheel games video audio optical storage scanner power users www
    | SUMMARY |
    error: 4 errors and/or warnings.
    Please refer to the installation instructions at:
    http://hplip.sourceforge.net/install/index.html
    Done.
    Maybe there is something wrong with my dbus anyway? I get a lot of org.freedesktop.xyz not found messages in many situations.
    Thanks for any hints.
    Last edited by 4on6 (2012-04-03 14:16:14)

    4on6 wrote:There are some related threads in this forum, but I still can't figure out what is my problem (printer works in some situations - printing a pdf in evince or a webpage in chromium - but in others not, e.g. printing from emacs).
    The distinction that comes to mind here is that emacs (and some others) will print via lp.  I suspect that the default printer for lp is not set, and therefore the print job is lost.
    To test this, create ~/.cups/lpoptions (if you don't already have it) with the content:
    Default <The_Name_Of_My_Printer_In_CUPS>
    And see if that helps.

Maybe you are looking for