From owner-freebsd-questions@freebsd.org Mon Nov 7 22:01:41 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5D903C3535E for ; Mon, 7 Nov 2016 22:01:41 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from nightmare.dreamchaser.org (ns.dreamchaser.org [66.109.141.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 28702DDB for ; Mon, 7 Nov 2016 22:01:40 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from breakaway.dreamchaser.org (breakaway.dreamchaser.org. [192.168.151.122]) by nightmare.dreamchaser.org (8.13.6/8.13.6) with ESMTP id uA7M1MTo008742; Mon, 7 Nov 2016 15:01:22 -0700 (MST) (envelope-from freebsd@dreamchaser.org) Reply-To: freebsd@dreamchaser.org Subject: Re: cups problems on 10.3 release both Epson and HP References: <2134837b-14ed-a35e-aec0-2490e268659d@dreamchaser.org> <20161105233720.586fd471@kalimero.tijl.coosemans.org> <0d2306ad-8f96-c9bc-78ed-af0aea4daf50@dreamchaser.org> <20161106121440.221ba2e8@kalimero.tijl.coosemans.org> <20161107124357.1d278104@kalimero.tijl.coosemans.org> <20161107211429.7acb7e6b@kalimero.tijl.coosemans.org> To: Tijl Coosemans Cc: FreeBSD Mailing List From: Gary Aitken Message-ID: <32481b91-6d29-7bea-6376-9a4c1b61016e@dreamchaser.org> Date: Mon, 7 Nov 2016 15:01:22 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <20161107211429.7acb7e6b@kalimero.tijl.coosemans.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (nightmare.dreamchaser.org [192.168.151.101]); Mon, 07 Nov 2016 15:01:23 -0700 (MST) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Nov 2016 22:01:41 -0000 On 11/07/16 13:14, Tijl Coosemans wrote: > On Mon, 7 Nov 2016 11:56:14 -0700 Gary Aitken wrote: >> I did have older driver versions, but no choice for the newer ones. >> I reinstalled all of my ports and now see the following: >> Epson Stylus Pro 3880 - CUPS+Gutenprint v5.2.10 >> HP Officejet Pro 8500 a909g, hpcups 3.16.10 >> The Epson seems to be working ok; I can now print a self-test and a test page. >> However, when I go to print a self-test page on the HP I get: >> Unsupported document-format "application/vnd.cups-command" > But printing the CUPS test page works right? hmmm... yes, it does. I hadn't bothered trying that figuring if I couldn't tell it to do its own self test it wouldn't print anything. > Self-test is a special command that can be sent to the printer to make it > print its own internal test page. The hplip drivers don't support such > commands. You should still be able to print that page through the web > interface of the printer (http://ip-address-of-printer/). Also, if you > installed hplip with X11 option on, you should have "HP Device Manager" > in the application menu of your desktop. If you setup your printer via > this application (remove the printer in CUPS web interface first), then > you can perform some special commands, but it doesn't look like self-test > is one of them. Ahhhh... didn't realize that. Thanks. >> I have the following ports installed: >> $ pkg info | awk '{ print $1 }' - | grep -E "cups|foo|guten|ghost|hp" >> cups-2.2.1 >> cups-filters-1.11.4 >> foomatic-db-20161105 >> foomatic-db-hpijs-1.4 >> ghostscript9-agpl-base-9.16_5 >> gutenprint-base-5.2.10_2 >> gutenprint-cups-5.2.10_3 >> hplip-3.16.10 >> hplip-plugin-3.16.10 > > You can remove foomatic-db, foomatic-db-hpijs and hplip-plugin. Thanks, I thought that might be the case. At this point it appears both printers are now working; thanks a bundle. Now rebuilding office stuff and gimp, etc and see that they work. >> I'm guessing I need cups-pstoraster for the missing piece? >> If I try to add >> print/cups-pstoraster >> which also installs >> print/cups-client >> print/cups-image >> I can't because of conflicts: >> pkg-static: cups-client-2.0.3_2 conflicts with cups-2.2.1 >> (installs files into the same place). >> Problematic file: /usr/local/bin/cups-config >> >> It's unclear to me what gets installed from the print/cups port; >> I had thought it was a meta-port that would install cups-base and others >> depending on the options, but apparently not. What is the difference >> between print/cups-base and print/cups? > > These ports no longer exist. cups-pstoraster is now part of cups-filters > and cups-base, cups-client and cups-image are part of print/cups. If > you still see these ports your ports tree isn't updating properly. hmmm. Yes, I still see them. This is a new-ish 10.3 install. UPDATING implies they were trashed 20160311; why would they still be there or at least not marked obsolete? This sys was installed within the last month and updated, now at p7; portsnap fetch & update several times since and including over the weekend. Is there an easy way to discover and remove all "no longer existing" ports? Or do I have to remove /usr/ports/* and rebuild everything? again, thanks for helping me work through this.