Skip to content
This repository was archived by the owner on Mar 10, 2026. It is now read-only.
This repository was archived by the owner on Mar 10, 2026. It is now read-only.

"Query Printer for Default Options" falls into infinite loop for HP LaserJet 3390 #3302

Closed

Description

@michaelrsweet

Version: 1.4-current
CUPS.org User: till.kamppeter

The printer is set up in PostScript mode with HP's PPD file which ships with HPLIP and with HP's "hp" CUPS backend. I will attach the PPD file. The printer is connected via Ethernet.

If I click on "Query Printer for Default Options" I get a screen with

Set Default Options On HP-LaserJet-3390

Printer command job held, "/usr/lib/cups/backend/hp failed"

This page has a spinning circle and it refreshes every few seconds. There is also no "Stop" or "Cancel" button.

Activity

  1. michaelrsweet commented on Aug 26, 2009

    @michaelrsweet
    ContributorAuthor

    CUPS.org User: till.kamppeter

    Additional remark: This problem occurs in the web interface.

  2. michaelrsweet commented on Aug 28, 2009

    @michaelrsweet
    ContributorAuthor

    CUPS.org User: mike

    Fixed in Subversion repository.

  3. michaelrsweet commented on Aug 28, 2009

    @michaelrsweet
    ContributorAuthor

    "str3302.patch":

    Index: cgi-bin/ipp-var.c

    --- cgi-bin/ipp-var.c (revision 8781)
    +++ cgi-bin/ipp-var.c (working copy)
    @@ -650,7 +650,8 @@
    cgiSetIPPVars(response, NULL, NULL, NULL, 0);

       attr = ippFindAttribute(response, "job-state", IPP_TAG_ENUM);
    
    •  if (!attr || attr->values[0].integer >= IPP_JOB_STOPPED)
      
    •  if (!attr || attr->values[0].integer >= IPP_JOB_STOPPED ||
      
    •      attr->values[0].integer == IPP_JOB_HELD)
      
      {
      ippDelete(response);
      break;
  4. added this to the Stable milestone on Mar 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions