Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jul 2011 02:29:01 +0300
From:      Ross <basarevych@gmail.com>
To:        Antonio Olivares <olivares14031@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: printing to a HP Deskjet 812C printer
Message-ID:  <CANmv3=x5fakRvE8%2Bb8Xwa_yx6mCf_Uuhas7i73Pf2v=tXHB1Ew@mail.gmail.com>
In-Reply-To: <CAJ5UdcNhFWRDpD1A0ADdmKUGUEB83s6hpgHUR8oew=LmFR12Eg@mail.gmail.com>
References:  <CAJ5UdcM-BbvZHdMLsNH0xckFhgL8z-PfcyB_Q-eTnrfhjYHtUg@mail.gmail.com> <CANmv3=w_Qw_qfw_8gsT23JhOLG%2B7%2BwoottdC%2B-=Oe7zmEGEsGQ@mail.gmail.com> <CAJ5UdcON6Fpxi%2Br_wVjx4TUQW4pJufFdUQjh1bSsJw=a%2BZ8Drg@mail.gmail.com> <CANmv3=yz7TO-12zOVMj9MpjY91M18E4ePE=UzOtv8UxFUXJ=kg@mail.gmail.com> <CAJ5UdcM70MQh35hgzF8DG0r0iW7Vwd1s7y6r62VbFMpBd3_dDA@mail.gmail.com> <CANmv3=zSYQ1NXNW8QXi8HS3N_0NjWf0b5Xm6WE5vyubPQ-6cAg@mail.gmail.com> <CAJ5UdcNhFWRDpD1A0ADdmKUGUEB83s6hpgHUR8oew=LmFR12Eg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jul 28, 2011 at 2:12 AM, Antonio Olivares
<olivares14031@gmail.com> wrote:
> On Wed, Jul 27, 2011 at 6:03 PM, Ross <basarevych@gmail.com> wrote:
>> On Thu, Jul 28, 2011 at 1:54 AM, Antonio Olivares
>> <olivares14031@gmail.com> wrote:
>>> On Wed, Jul 27, 2011 at 5:43 PM, Ross <basarevych@gmail.com> 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
>>>> <olivares14031@gmail.com> wrote:
>>>>> On Wed, Jul 27, 2011 at 5:07 PM, Ross <basarevych@gmail.com> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANmv3=x5fakRvE8%2Bb8Xwa_yx6mCf_Uuhas7i73Pf2v=tXHB1Ew>