From owner-freebsd-questions@freebsd.org Sun Nov 6 20:16:19 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 15D5CC33B2C for ; Sun, 6 Nov 2016 20:16:19 +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 DC4701A64 for ; Sun, 6 Nov 2016 20:16:17 +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 uA6KFw8Y003496; Sun, 6 Nov 2016 13:15:59 -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> To: Tijl Coosemans Cc: FreeBSD Mailing List From: Gary Aitken Message-ID: Date: Sun, 6 Nov 2016 13:15:58 -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: <20161106121440.221ba2e8@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]); Sun, 06 Nov 2016 13:16:00 -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: Sun, 06 Nov 2016 20:16:19 -0000 On 11/06/16 04:14, Tijl Coosemans wrote: > On Sat, 5 Nov 2016 21:18:17 -0600 Gary Aitken > wrote: >> On 11/05/16 16:37, Tijl Coosemans wrote: >>> On Sat, 5 Nov 2016 12:58:12 -0600 Gary Aitken >>> wrote: >>>> Is anyone successfully using cups on 10.3? I was using version >>>> 2.0.3 of cups on 9.2 ok, but after installing 10.3 and cups >>>> 2.2.1 neither my Epson 3880 nor HP Officejet Pro 8500 works. >>>> Both of the printers are installed as networked printers, using >>>> the socket://...:9100 interface. >>>> >>>> From the web interface to cups, if I ask for the Epson to print >>>> its self-test page, the printer activates and the green light >>>> above the power button starts blinking, and never quits >>>> blinking -- it's as if the printer is perpetually busy. I >>>> have to turn it off and on to reset it. For the HP, I get a >>>> page that says something to the effect that if you can read >>>> this page you are using the wrong driver. >>>> >>>> I tried all of the epson 3880 drivers listed in the cups >>>> drop-down, plus the 4600 one; there was no driver for the >>>> officejet pro 8500 listed so I tried using a different one >>>> (which had worked under cups 2.0.3 on 9.2) and also the one in >>>> the gutenprint 5.2.10 installation. >>>> >>>> ideas? >>> >>> Did you install print/cups-filters? >> >> I had other foomatic filters installed which conflicted; just >> uninstalled that stuff and installed print/cups-filters, with no >> change in behavior. >> >> If it's of any help, the HP prints out: >> >> %! userdict dup(\004)cvn{}put (\004\004)cvn{}put >> >> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% >> >> %%%% If you can read this, you are using the wrong driver for your printer. %%%% >> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% >> >> >> Epson still wakes up and sits there waiting for something to finish being sent, >> I think. > > Did you restart cupsd after installing cups-filters: service cupsd > restart Yes > In /usr/local/etc/cups are there any differences between > cups-files.conf and cups-files.conf.sample, cupsd.conf and > cupsd.conf.sample or snmp.conf and snmp.conf.sample? It's best to > stop cupsd before making any changes to these files: service cupsd > stop no, they haven't been tweaked > For the HP printer there's official support in print/hplip, but the > generic PCL driver included with CUPS probably works too. I have also installed print/hplip and print/hplip-plugin and restarted cupsd. /var/log/cups/error_log contains the following when I try to print to the HP: HP_Officejet_Pro_8500_A909g: File \"/usr/local/libexec/cups/filter/foomatic-rip-hplip\" not available: No such file or directory That message also shows up in the cups web interface in the Status column for the HP printer; the Epson printer says "Idle" In /usr/local/libexec/cups/filters there is a foomatic-rip but no foomatic-rip-hplip. Where is that supposed to come from? I would have guessed print/hplip, but I have that installed. Is it necessary to clean out everything somehow and reinstall cups and the other related ports all at once in order to get the correct supporting files? > For the Epson printer you'll probably need print/gutenprint-cups. I added that as well and it still hangs.