Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Mar 2018 20:22:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 227051] print/hplip: hp-setup indicates failure but generates ppd file
Message-ID:  <bug-227051-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227051

            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@freebsd.org
          Reporter: freebsd@dreamchaser.org
             Flags: maintainer-feedback?(woodsb02@freebsd.org)
          Assignee: woodsb02@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] =3D
"SCRIPT_FILENAME=3D/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]=3D\"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 pack=
age
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 er=
ror
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=3Daaa.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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-227051-13>