From owner-freebsd-ports-bugs@freebsd.org Wed Mar 28 19:00:27 2018 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 60CB8F70397 for ; Wed, 28 Mar 2018 19:00:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F02C87DDE6 for ; Wed, 28 Mar 2018 19:00:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 2296819CFC for ; Wed, 28 Mar 2018 19:00:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w2SJ0Qeu011671 for ; Wed, 28 Mar 2018 19:00:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w2SJ0QGO011668 for freebsd-ports-bugs@FreeBSD.org; Wed, 28 Mar 2018 19:00:26 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 227047] print/cups cups-genppd fails to generate for officejet_pro_8500_a909g and related models Date: Wed, 28 Mar 2018 19:00:25 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: freebsd@dreamchaser.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: tijl@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Mar 2018 19:00:27 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227047 Bug ID: 227047 Summary: print/cups cups-genppd fails to generate for officejet_pro_8500_a909g and related models Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: tijl@FreeBSD.org Reporter: freebsd@dreamchaser.org Assignee: tijl@FreeBSD.org Flags: maintainer-feedback?(tijl@FreeBSD.org) cups installs cups-genppd, which should be usable to generate ppd files. However, it is missing the templates or ability to generate a ppd file for= =20 printers of type officejet_pro_8500_a909g. cups-genppd -M -v does not list the printer print/hplip lists the printer in its data/models/models.dat file, and hp-setup (installed by hplip) can be used to generate a ppd file. It is particularly painful to have to run down this chain to get a printer to work. Either cups should have no drivers and lots of pointers to where to get them, or none at all. It is particularly difficult because there are three different ports that serve as sources for ppd files for hp printers -- cups, hplip, and hpijs; some printers appear in multiple ports. Some, like= the officejet pro 8500 a909 series, have no ppd files listed in any of the pkg-plists, because the file is only obtained by running hp-setup. This me= ans one has to dig through three different pkg-plists, then grep sources, to fi= gure out where one *might* possibly get the required ppd file. One must then install the port (hplip), read through its documentation and finally run a program to generate it. The only clue that hplip is the right path is to g= rep its data/models/models.dat file. I'm not sure what a good solution to this problem is. Cups could install a list of packages containing ppd sources, and then when it can't find a ppd = file at least can point the user at the appropriate ports. The file could conta= in a short hint as will, such as "Try cups-genppd -M -v" and "grep /usr/ports/print/hpijs/pkg-plist" and whatever would be appropriate for cups itself. --=20 You are receiving this mail because: You are the assignee for the bug.=