From owner-freebsd-questions@FreeBSD.ORG Wed Jul 27 23:36:56 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D7A0B106564A for ; Wed, 27 Jul 2011 23:36:56 +0000 (UTC) (envelope-from basarevych@gmail.com) Received: from mail-yi0-f54.google.com (mail-yi0-f54.google.com [209.85.218.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8AF388FC18 for ; Wed, 27 Jul 2011 23:36:56 +0000 (UTC) Received: by yic13 with SMTP id 13so1856064yic.13 for ; Wed, 27 Jul 2011 16:36:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=S7aGZVh0Ia9Sx63HX79p3GWhNEdUAfKHPf/kLs96vk0=; b=idqHtOlm2x+5bfmhldU/nkaichvmP0E6swHjRPqEhqhRbhhSAHov5d4r7dOfbX5xNp /8Rq+zsDFDrxcPlxz8sbyWvdG1zm8xCHmLoFV+37CT92YHnGGDMg1QbJwDv0FQvXCjvq 4wzk89CajJNxOyPLKU9LOkpSclr1y+ShOhBlU= MIME-Version: 1.0 Received: by 10.236.184.100 with SMTP id r64mr476726yhm.129.1311809815535; Wed, 27 Jul 2011 16:36:55 -0700 (PDT) Received: by 10.147.137.16 with HTTP; Wed, 27 Jul 2011 16:36:55 -0700 (PDT) In-Reply-To: References: Date: Thu, 28 Jul 2011 02:36:55 +0300 Message-ID: From: Ross To: Antonio Olivares Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: printing to a HP Deskjet 812C printer X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jul 2011 23:36:57 -0000 On Thu, Jul 28, 2011 at 2:29 AM, Ross wrote: > On Thu, Jul 28, 2011 at 2:12 AM, Antonio Olivares > wrote: >> On Wed, Jul 27, 2011 at 6:03 PM, Ross wrote: >>> On Thu, Jul 28, 2011 at 1:54 AM, Antonio Olivares >>> wrote: >>>> On Wed, Jul 27, 2011 at 5:43 PM, Ross wrote: >>>>> It requires CUPS and replaces system lpr. Here's an example on settin= g >>>>> up HPLIP: http://daemon-notes.com/articles/install/hplip >>>>> >>>>> On Thu, Jul 28, 2011 at 1:25 AM, Antonio Olivares >>>>> wrote: >>>>>> On Wed, Jul 27, 2011 at 5:07 PM, Ross wrote: >>>>>>> Why you do not use HPLIP? Your printer is supported. >>>>>> >>>>>> Does lpd/lpr use this? or it requires CUPS? >>>>>> >>>>>> Thanks, >>>>>> >>>>>> Antonio >>>>>> >>>>> >>>> >>>> Thanks Ross, >>>> >>>> But I have to compile/recompile kernel just to get it working? >>>> >>>> I'll think about it :? >>>> Howto you have provided is detailed and I cannot complain :( >>>> >>>> Regards, >>>> >>>> Antonio >>>> >>> >>> Well, you had problems with ulpt so maybe removing it which is >>> required for HPLIP is a solution. Sorry if recompiling the kernel is >>> not an option for you. Otherwise it just works. >>> >> >> Ross, >> >> I am afraid to screw up and for the first time, I can say that I have >> updated FreeBSD successfully without hiccups and I have not compiled >> the kernel on FreeBSD :(, I have done it on linux systems many times, >> but have not here, and I would hate to lose all the work just to get >> the printer working. >> >> I will be patient and try some things out then report back. =C2=A0I >> appreciate the help and if I can't find a solution, I will take the >> plunge :) and hopefully not fail. >> >> Regards, >> >> Antonio >> > > If you do decide to take this route, it's not that hard to recompile a ke= rnel. > > # csup -h cvsup.FreeBSD.org -L2 /usr/share/examples/cvsup/standard-supfil= e > > Copy your kernconf, say COFFIN, to /usr/src/sys/i386/conf/ if you are > on 32bit or to /usr/src/sys/amd64/conf/ if on amd64. > The file could be just the following (just the GENERIC kernel, > slightly modified): > --- cut --- > include =C2=A0 =C2=A0 =C2=A0 =C2=A0 GENERIC > > ident =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 COFFIN > > # Remove legacy support > nocpu =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 I486_CPU > nocpu =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 I586_CPU > > # HPLIP can't work whithout this > nodevice =C2=A0 =C2=A0 =C2=A0 =C2=A0ulpt > --- cut --- > > # cd /usr/src > # make buildkernel KERNCONF=3DCOFFIN > # make installkernel KERNCONF=3DCOFFIN > # reboot > > That's it. > Although I should add that you probably will need to also rebuild the world if you update your sources with csup. Well, don't run csup, use the sources you already have in /usr/src.