Results 1 to 7 of 7

Thread: Help with HP Laserjet and Cups

  1. #1

    Default Help with HP Laserjet and Cups

    I used to yast to set up my hp laserjet 2100 on a fresh install of opensuse 11.4. Everything appeared fine until I went to print a test page. It prints out several blank pages before stopping. I did some googling, and it appears I may have an issue with localhost starting at boot up.

    When I go to http://127.0.0.1:631 I see the cupsd webpage. However, when I ping that same address I get:
    Code:
    ping: unknown host http://127.0.0.1:631
    The error log from /var/log/cups/error_log is as follows:

    Code:
    E [14/Apr/2011:22:48:10 -0400] [CGI] Unable to scan "@LOCAL"!
    E [15/Apr/2011:15:38:23 -0400] Unable to bind socket for address ::1:631 - Cannot assign requested address.
    E [15/Apr/2011:15:48:14 -0400] Unable to bind socket for address ::1:631 - Cannot assign requested address.
    E [16/Apr/2011:08:09:16 -0400] Unable to bind socket for address ::1:631 - Cannot assign requested address.
    E [16/Apr/2011:10:52:38 -0400] [cups-driverd] Bad driver information file "/usr/share/cups/drv/sample.drv"!
    E [16/Apr/2011:10:56:46 -0400] [cups-driverd] Bad driver information file "/usr/share/cups/drv/sample.drv"!
    E [16/Apr/2011:11:33:11 -0400] [cups-driverd] Bad driver information file "/usr/share/cups/drv/sample.drv"!
    I don't know what to do to get cups and ping to find the localhost cupsd port to get things working properly. If anyone could offer suggestions, I would greatly appreciate it.

  2. #2
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Smile Re: Help with HP Laserjet and Cups

    So did you use hplip to configure your printer? You can use cups after the printer driver is installed, but not sure what you get with cups alone, but perhaps it just does not work. I use the following command to setup my HP Printer in KDE:

    Alt-F2 (Or menu Run Command)

    kdesu hp-setup

    I then configure my hp printer. Then, after it is configured, I use cups to setup its options, such as default page size:

    desktop-launch http://localhost:631/

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  3. #3
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Help with HP Laserjet and Cups

    On 2011-04-16 18:36, Maxwell4000 wrote:

    > When I go to http://127.0.0.1:631 I see the cupsd webpage. However,
    > when I ping that same address I get:
    >
    > Code:
    > --------------------
    > ping: unknown host http://127.0.0.1:631
    > --------------------


    You can not ping a port.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

  4. #4
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Help with HP Laserjet and Cups

    On 2011-04-16 21:36, jdmcdaniel3 wrote:
    > So did you use hplip to configure your printer? You can use cups after
    > the printer driver is installed, but not sure what you get with cups
    > alone,


    Yes, you can, at least for standard models.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

  5. #5
    Join Date
    Jun 2008
    Location
    Kansas City Area, Missouri, USA
    Posts
    7,236

    Default Re: Help with HP Laserjet and Cups

    On 04/16/2011 02:50 PM, Carlos E. R. wrote:
    > On 2011-04-16 21:36, jdmcdaniel3 wrote:
    >> So did you use hplip to configure your printer? You can use cups after
    >> the printer driver is installed, but not sure what you get with cups
    >> alone,

    >
    > Yes, you can, at least for standard models.


    I have an HP Laserjet 2200 connected through a JetDirect network card. I never
    use hplip.

    When you select a driver for the device, I find that the PCL drivers are
    generally a lot faster than the Postscript versions.

  6. #6

    Default Re: Help with HP Laserjet and Cups

    I had previously setup the printing using yast>hardware>printer. I went back and deleted that setup and tried the hp-setup option that was suggested. That caused the printer to print out control codes on page 1 and then burned through several more blank pages before I had to manually stop the printer.

    I then went back to yast, and deleted that setup and tried one of the drivers listed there even though it was not marked as recommended. Apparently, I got lucky. It now prints a single test page instead of churning out blank pages.

    Thanks everyone for their suggestions.
    I appreciate everyone's help.

    And in case it helps anyone else with the same problem, the driver I selected from the list was marked hpijs.

  7. #7
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Help with HP Laserjet and Cups

    On 2011-04-16 22:22, Larry Finger wrote:
    > When you select a driver for the device, I find that the PCL drivers are
    > generally a lot faster than the Postscript versions.


    In linux all applications print as postscript, which can be sent directly
    to the printer. Then the printer has to process that postscript, for which
    it needs cpu and memory. Printer memory is expensive, so they can be slow
    if the page is complex, or even not print at all.

    Printing to PCL means converting from ps to pcl in the computer, but then
    less processing in the printer.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

Similar Threads

  1. CUPS does not recognize Ubuntu cups server on intranet
    By klaasvg in forum Network/Internet
    Replies: 2
    Last Post: 24-Feb-2010, 22:09
  2. Replies: 2
    Last Post: 24-Nov-2009, 13:23
  3. Replies: 1
    Last Post: 13-Nov-2009, 15:13
  4. Replies: 6
    Last Post: 10-Jun-2009, 00:53

Posting Permissions

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