[Bug 227051] print/hplip: hp-setup indicates failure but generates ppd file

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Mar 28 20:22:39 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227051

            Bug ID: 227051
           Summary: print/hplip: hp-setup indicates failure but generates
                    ppd file
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: woodsb02 at freebsd.org
          Reporter: freebsd at dreamchaser.org
             Flags: maintainer-feedback?(woodsb02 at freebsd.org)
          Assignee: woodsb02 at freebsd.org

hplip installs hp-setup to generate ppd files.
If one installs hplip without the FAX option,
and then attempts to generate a ppd file for an HP Officejet Pro 8500 a909g,
the program finishes with an error message indicating failure.  However, it has
written the appropriate file to /usr/local/share/ppd.

When I did this, cups still did not work.  I was left wondering if the ppd file
generated was in error somehow, or whether some other activity needed to be
done.
The cups log shows that it properly reloaded the changed ppd file, but then
claimed it could not open the file:
D [28/Mar/2018:11:23:09 -0600] [Client 1] Processing GET
/printers/HP_Officejet_Pro_8500_A909g
...
D [28/Mar/2018:11:23:09 -0600] [CGI] envp[26] =
"SCRIPT_FILENAME=/usr/local/share/doc/cups/printers/HP_Officejet_Pro_8500_A909g"
...
D [28/Mar/2018:11:23:09 -0600] [Client 3] Returning IPP successful-ok for
Get-Printer-Attributes (ipp://localhost/printers/HP_Office
jet_Pro_8500_A909g) from localhost
...
   D [28/Mar/2018:11:23:09 -0600] [CGI] cgiSetArray:
job_printer_state_message[0]=\"Failed to open PPD:
/usr/local/etc/cups/ppd/HP_Officejet_Pro_8500_A909g.ppd\"

I moved the generated ppd file aside and tried to regenerate the ppd file, but
hp-setup wouldn't do it without creating another printer queue.  I finally
deleted the cups queue (via the cups web interface), rebuilt the hplip package
with the FAX and SCAN options enabled, and re-ran hp-setup to regenerate the
queue.  At this point it worked.

However, the ppd file generated was the same as the previous one.  So it
appears something else didn't get done when hp-setup indicated it had an error
generating the ppd file because of no fax capabilities.

As a side-note, hp-setup did not give me the option of using a different
protocol.  The generated queue was:
  hp:/net/Officejet_Pro_8500_A909g?ip=aaa.bbb.ccc.ddd
I had to use the cups web interface to change it to what I wanted, which was
  socket://aaa.bbb.ccc.ddd:9100

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list