From owner-freebsd-questions Sat Oct 5 21:55:32 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6F29A37B401 for ; Sat, 5 Oct 2002 21:55:30 -0700 (PDT) Received: from hivemind.trini0.org (bgp626680bgs.brick201.nj.comcast.net [68.39.132.244]) by mx1.FreeBSD.org (Postfix) with SMTP id ACA3943E4A for ; Sat, 5 Oct 2002 21:55:29 -0700 (PDT) (envelope-from gsam@trini0.org) Received: (qmail 20485 invoked by uid 0); 6 Oct 2002 04:55:28 -0000 Received: from unknown (HELO trini0.org) (192.168.0.3) by hivemind.trini0.org with SMTP; 6 Oct 2002 04:55:28 -0000 Message-ID: <3D9FC240.70609@trini0.org> Date: Sun, 06 Oct 2002 00:55:28 -0400 From: Gerard Samuel User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0.1) Gecko/20020915 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Cliff Sarginson Cc: FreeBSD Questions Subject: Re: USB Printing References: <3D9F47DD.4070407@trini0.org> <20021005233031.GA452@raggedclown.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Well after a bit of head banging, I finally got the test page to print. The hardware end was no problem, but apsfilter was giving me a bit of a headache. After a couple times of installing the port and playing with options, I think its ok now, since I got that funky test page. Someone wrote me suggesting CUPS, but from a quick look at the setup, driver support didn't seem too large. I may be wrong, but Ill investigate further. Thanks all. Cliff Sarginson wrote: >On Sat, Oct 05, 2002 at 04:13:17PM -0400, Gerard Samuel wrote: > > >>Well after almost a year and a half of using FreeBSD, Im going to >>attempt to hook up a printer. >>I have a HP DeskJet 640C and all I have is a usb cable for it. >>The handbook doesn't discuss usb printing. >>I came across a thread in the mailing list about using apsfilter to >>setup a usb printer. >>Are there any other options to setting up a usb printer?? >>Is there anything to look for or watch out for that I should be aware >>of?? (besides making sure I have the correct kernel/device nodes) >> >>Thanks for any insight you may provide... >> >> >> >I apsfilter is the right way to go - it works ! Read the manual page >carefully and you should have no problems. Your printer is in the list >of recognised devices (I just checked) .. which does not necessarily >mean it will work, but it should do. Just follow the bouncing ball. >A few other things, you will of course need usb/usblpt support in your >kernel, mine is shown below.. you of course do not need all of these >and you may need ohci instead of uhci .. depends on controller .. I >don't think it matters if you compile both .. look in LINT. >There used to be a typo in SETUP for apsfilter where it refers to a >parallel port as the connection even though you chose USB .. just carry >on if it is still there .. the whole setup works. > >Don't forget you will have to give the printer a name so be aware of >either using the flag -P to lpr, or export the PRINTER environment >variable with the name of the printer (I do this in /etc/profile..which >may not be the right place if you have multiple printers/users etc). > >I have commented the ones you definitely need.. ># USB support >device uhci # UHCI PCI->USB interface (needed or OHCI) >device usb # USB Bus (required) >device ugen # Generic (good idea to have this) >device uhid # "Human Interface Devices" (don't think you need this..but ?) >#device ukbd # Keyboard >device ulpt # Printer (needed) >device ums # Mouse >device uscanner # Scanners > >Good Luck ! > > -- Gerard Samuel http://www.trini0.org:81/ http://dev.trini0.org:81/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message