Announcement

Collapse
No announcement yet.

'Add Printer' wizard has no permission

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    'Add Printer' wizard has no permission


    I'm adding a printer to my Kubuntu PC. I'm connected
    through a parallel port. If I run,

    escputil -i -u -r /dev/lp0

    It prints out the status of my ink cartrides, so the
    PC is definitely seeing the printer on the port.

    I've checked and the cups daemon is running.

    When I tried to run the 'lp' command, I got an
    error message that the is not default printer. So
    I went to System Settings in KDE and selected
    printers. Next, I selected ''add printer' and the
    'Add Printer' wizard popped up. I ran through the
    wizard steps nicely. My printer, an Epson Sylus
    C86 was listed in the supported printers. When
    I got to the 'Printer Test' window, I hit 'next' and
    got the following message in a pop-up window:

    Unable to load the requested driver:
    Unable to create the Foomatic driver [Epson-Stylus_C86,gimp-print]. Either that driver does not exist, or you don't have the required permissions to perform that operation.

    I checked the Adept tool and foomatic-db-gimp-print
    is installed, so I think the drivers are account for.
    It looks more probable that the wizard's problem
    is that it does not have write permission someplace.

    Does anyone know how to work around the permission
    problem in the GUI or how to add a printer from a
    shell?

    Thanks for any help.

    Jim Anderson

    #2
    Re: 'Add Printer' wizard has no permission

    please try in a konsole

    sudo kcontrol

    then try adding your printer ...

    Comment


      #3
      Re: 'Add Printer' wizard has no permission

      At least you have 'Add Printer' Wizard

      Comment


        #4
        Re: 'Add Printer' wizard has no permission


        I'm sorry to take so long to respond - I've been at work
        the past few days.

        I tried runing 'sudo kcontrol' and get the following
        messages:

        sudo kcontrol
        X Error: BadDevice, invalid or uninitialized input device 166
        Major opcode: 144
        Minor opcode: 3
        Resource id: 0x0
        Failed to open device
        X Error: BadDevice, invalid or uninitialized input device 166
        Major opcode: 144
        Minor opcode: 3
        Resource id: 0x0
        Failed to open device
        ERROR: Communication problem with kcontrol, it probably crashed.

        Interestingly, kcontrol came up and I was able to
        run the wizard. Unfortunately, I received the
        same results, although I did notice in the
        console window where I entered 'sudo kcontrol' that
        I received the following information:

        -------------------------------------------
        perl: warning: Setting locale failed.
        perl: warning: Please check that your locale settings:
        LANGUAGE = "en",
        LC_ALL = (unset),
        LANG = "en"
        are supported and installed on your system.
        perl: warning: Falling back to the standard locale ("C").
        *** glibc detected *** double free or corruption (!prev): 0x08179528 ***
        Entity: line 2499: parser error : Extra content at the end of the document
        </printer>
        ^
        printer 'Epson-Stylus_C86' not found!
        kdeprint: WARNING: PPD syntax error, PPD parse failed
        ----------------------------------------------------------


        This all looks strange to me.


        Jim

        Comment


          #5
          Re: 'Add Printer' wizard has no permission

          I made it my goal for today (Sunday) to get my printer working with Kubuntu.

          When I started, I had the problem with the "extra content". I wish I could go back.
          I have since really hosed things up.
          Perhaps Kubuntu is not really a platform for printing?

          As for your extra content problem, if I could go back, I would edit the XML file and remove the trailing whitespace which the XML parser seems to be choking on.
          You can find these printer description XMLs at:
          /usr/share/foomatic/db/source/printer/

          I'd be interested to know if that works for you. I'm kicking myself that I didn't try that easy solution first.

          Comment


            #6
            Re: 'Add Printer' wizard has no permission

            The fix for your "X Error: BadDevice" issue is here

            http://kubuntuforums.net/forums/index.php?topic=7964.0

            but I think that is unrelated to your printer installation problem. In Kmenu>System Settings>Printers, you have to click "Administrator Mode" in the lower right corner before you are able to install a new printer.

            Comment


              #7
              Re: 'Add Printer' wizard has no permission

              I believe the "insufficient permission" alert is misleading.

              Yes, you must have administrator access. However, the alert is the same either way.

              This alert is a sort of catch-all that supposes the technical glitch might be a permission problem, but it doesn't know.
              Clearly there is a problem with the XML parser which can't forgive extra whitespace at the end of the printer description file.

              I wonder, is there any documentation on configuring a printer without the GUI interface? Perhaps that would be easier.




              Comment


                #8
                Re: 'Add Printer' wizard has no permission

                kde has issued a post and fix. Some distros disabled snmp

                just

                sudo ln -s ../backend-available/snmp /usr/lib/cups/backend/snmp

                that will fix it

                then login via your browser and set it up

                http://localhost:631/admin

                a link to the fix is

                http://www.kdedevelopers.org/node/2138

                enjoy

                Comment

                Working...
                X