From owner-freebsd-questions@freebsd.org Sun Nov 27 13:43:03 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 16856C55731 for ; Sun, 27 Nov 2016 13:43:03 +0000 (UTC) (envelope-from tijl@freebsd.org) Received: from mailrelay112.isp.belgacom.be (mailrelay112.isp.belgacom.be [195.238.20.139]) (using TLSv1.2 with cipher RC4-SHA (128/128 bits)) (Client CN "relay.skynet.be", Issuer "GlobalSign Organization Validation CA - SHA256 - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 635C4EF6 for ; Sun, 27 Nov 2016 13:43:02 +0000 (UTC) (envelope-from tijl@freebsd.org) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2BKBgDW4TpY/wCm81FeGQEBAQEBAQEBA?= =?us-ascii?q?QEBBwEBAQEBgzgBAQEBAR9KgRGkYCYBlE2CB4URAYEPAoFlQhIBAgEBAQEBAQF?= =?us-ascii?q?iKIRpAQEEOj8QCxgJJQ8qHgYTiHGvD4s+AQEBAQEBBAEBAQEBIosZiioFmlSQe?= =?us-ascii?q?XSPS41xhAwlBStHTYVSPTSIdQEBAQ?= Received: from 0.166-243-81.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([81.243.166.0]) by relay.skynet.be with ESMTP; 27 Nov 2016 14:41:50 +0100 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.15.2/8.15.2) with ESMTP id uARDfl1n092854; Sun, 27 Nov 2016 14:41:48 +0100 (CET) (envelope-from tijl@FreeBSD.org) Date: Sun, 27 Nov 2016 14:41:47 +0100 From: Tijl Coosemans To: Patrick Mahan Cc: FreeBSD Mailing List Subject: Re: Having trouble printing to my HP OJ Pro 8600 all-in-one Message-ID: <20161127144147.06aa181f@kalimero.tijl.coosemans.org> In-Reply-To: <6ff9e537-e2db-e6f3-39aa-4267ec7400c1@mahan.org> References: <31b7b3c7-326f-87e2-2986-f06280057c46@dreamchaser.org> <98dafc2e-0584-2521-d766-8fb3da449c2b@dreamchaser.org> <686b9894-f67c-d459-4a72-16df5641a887@mahan.org> <20161126150145.5bf8773c@kalimero.tijl.coosemans.org> <6ff9e537-e2db-e6f3-39aa-4267ec7400c1@mahan.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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, 27 Nov 2016 13:43:03 -0000 On Sat, 26 Nov 2016 11:08:34 -0800 Patrick Mahan wrote: > On 11/26/16 6:01 AM, Tijl Coosemans wrote: >> What is the output of 'pkg which /usr/local/etc/cups/apple.types'? If it >> says not found in database, remove the file. If /usr/local/etc/cups/mime.* >> exist, remove them. You can also remove the following packages: > > I believe that was added as part of the avahi stuff that I installed to > support apple devices needing "AirPrint" support. > > The apple.types contains: > > gypsy-new# cat /usr/local/etc/cups/apple.types > # > # "$Id:$" > # > # Airprint type > image/urf urf string(0,UNIRAST<00>) > # > # End of "$Id:$". > # > > There is no /usr/local/etc/cups/mime.types (as you can from the 'find' > command). > >> foomatic-db-20161105 >> foomatic-db-engine-4.0.12_1,2 >> foomatic-db-hpijs-1.4 >> gimp-gutenprint-5.2.10_3 >> gutenprint-base-5.2.10_2 >> gutenprint-cups-5.2.10_3 >> gutenprint-foomatic-5.2.10_2 >> hplip-plugin-3.16.10 > > Okay, they are removed. > >> Then restart cupsd with 'service cupsd restart'. > > Done. > > Well, look at that, it's printing. > > What do you think was the blockage? Removing those packages should not have made a difference. Maybe all you needed was a restart. I don't think you need those apple.* files. URF support is already included in /usr/local/share/cups/mime/cupsfilters.*. Something else you might want to check in /usr/local/etc/cups is if there are any differences between configurations files and their corresponding *.sample file and if those differences still make sense.