From owner-freebsd-questions@freebsd.org Thu Feb 25 07:02:47 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 B62F8AB37D9 for ; Thu, 25 Feb 2016 07:02:47 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) Received: from BLU004-OMC3S7.hotmail.com (blu004-omc3s7.hotmail.com [65.55.116.82]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "*.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 85601A46 for ; Thu, 25 Feb 2016 07:02:47 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) Received: from BLU436-SMTP110 ([65.55.116.74]) by BLU004-OMC3S7.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Wed, 24 Feb 2016 23:01:39 -0800 X-TMN: [7rnh2hOPfRxNubHaJHV+mYYkNFJOmnxy] X-Originating-Email: [bourne.identity@hotmail.com] Message-ID: Subject: Re: Is it possible to print to Canon Pixma MG2470 (USB) ? To: Sergey Manucharian , karly@kipshouse.org, freebsd-questions@freebsd.org References: <20160224220405.GG12209@debian.ara-ler.com> From: Manish Jain Date: Thu, 25 Feb 2016 12:31:10 +0530 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <20160224220405.GG12209@debian.ara-ler.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 25 Feb 2016 07:01:36.0470 (UTC) FILETIME=[5E177F60:01D16F9A] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Feb 2016 07:02:47 -0000 On 02/25/16 03:34, Sergey Manucharian wrote: > Hi Manish, > > Excerpts from Manish Jain's message from Thu 25-Feb-16 00:46: >> Maybe a ppd file is needed for my printer, but googling fails to get any >> suitable ppd file. Interestingly, gimp-gutenprint states that the printer is >> supported. So what could I be missing ? > Have you tried building the official driver from Canon web site? > Or at list use the corresponding ppd form the same package? > > Here is the link: > http://support-in.canon-asia.com/contents/IN/EN/0100551502.html > > -- > Sergey Thanks for your response. I downloaded the tarball and compiled the necessary cups filters for Canon MG2400. Here is what I now have in /usr/local/libexec/cups/filter : /usr/local/libexec/cups/filter <<: ls bannertopdf gstoraster pdftoopvp pstops rastertohp textonly cmdtocanonij gziptoany pdftopdf pstopxl rastertolabel texttopdf commandtoescpx imagetopdf pdftops pstoraster rastertopclx texttops commandtopclx imagetops pdftoraster rastertodymo rastertopdf urftopdf commandtops imagetoraster pstocanonij rastertoepson rastertopwg gstopxl pdftoijs pstopdf rastertoescpx sys5ippprinter When I try to print a test page or a text file, the printer blinks 1-2 times and nothing happens. Here a few lines from cups' error log : E [25/Feb/2016:10:53:58 +0530] Missing directive on line 27 of /var/db/cups/job.cache. E [25/Feb/2016:11:00:28 +0530] [Client 2634] Returning IPP client-error-not-possible for Create-Printer-Subscriptions (/) from localhost E [25/Feb/2016:11:01:40 +0530] c2470: File "/usr/local/libexec/cups/filter/pstocanonij" not available: No such file or directory E [25/Feb/2016:11:27:50 +0530] [CGI] Unable to create service connection: No such file or directory E [25/Feb/2016:11:27:50 +0530] [cups-deviced] PID 21771 (dnssd) stopped with status 1! E [25/Feb/2016:11:33:02 +0530] [CGI] Unable to create service connection: No such file or directory E [25/Feb/2016:11:33:02 +0530] [cups-deviced] PID 21812 (dnssd) stopped with status 1! Then I tried using the cupsd.conf available at freebsd forums, with the result : /usr/local/etc/cups <<: /usr/local/etc/rc.d/cupsd restart WARNING: failed to start cupsd The error log in /var has the following lines : E [25/Feb/2016:12:23:04 +0530] Unknown directive BrowseAllow on line 15 of /usr/local/etc/cups/cupsd.conf. E [25/Feb/2016:12:23:04 +0530] Unknown directive BrowseAddress on line 16 of /usr/local/etc/cups/cupsd.conf. E [25/Feb/2016:12:23:04 +0530] Syntax error on line 49 of /usr/local/etc/cups/cupsd.conf. Thanks for any further help. Regards, Manish Jain