From owner-freebsd-questions@FreeBSD.ORG Wed Jul 27 23:29:03 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 09DF9106564A for ; Wed, 27 Jul 2011 23:29:03 +0000 (UTC) (envelope-from basarevych@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id BA6048FC0C for ; Wed, 27 Jul 2011 23:29:02 +0000 (UTC) Received: by gxk28 with SMTP id 28so1845690gxk.13 for ; Wed, 27 Jul 2011 16:29:01 -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=UiPkt6jg1b7ESo8Kmb5hn5CeB2TeRAlZbBYETLrWNzU=; b=Hj2nII2UgDo/Y8xPggmBdrvUaXLMpo2yO/qqxLEXpnsHr0bedlPsTCTHBjzAZY32Fw qIzRqEycCntqjtL5JvW2qF2PDb8DHT17iDRnMAD8o40TCtm2r/Xq6jiJKTEAJB6wPFep AMY0k+fjPJpfPAvveEMNUCTuMUqURpKcLnKK4= MIME-Version: 1.0 Received: by 10.150.211.2 with SMTP id j2mr309498ybg.346.1311809341632; Wed, 27 Jul 2011 16:29:01 -0700 (PDT) Received: by 10.147.137.16 with HTTP; Wed, 27 Jul 2011 16:29:01 -0700 (PDT) In-Reply-To: References: Date: Thu, 28 Jul 2011 02:29:01 +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:29:03 -0000 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 setting >>>> 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 kern= el. # csup -h cvsup.FreeBSD.org -L2 /usr/share/examples/cvsup/standard-supfile 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 GENERIC ident COFFIN # Remove legacy support nocpu I486_CPU nocpu I586_CPU # HPLIP can't work whithout this nodevice ulpt --- cut --- # cd /usr/src # make buildkernel KERNCONF=3DCOFFIN # make installkernel KERNCONF=3DCOFFIN # reboot That's it.