From owner-freebsd-questions@FreeBSD.ORG Sat Feb 27 20:55:56 2010 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 F1BA8106564A for ; Sat, 27 Feb 2010 20:55:56 +0000 (UTC) (envelope-from btillman99@yahoo.com) Received: from web36503.mail.mud.yahoo.com (web36503.mail.mud.yahoo.com [209.191.85.3]) by mx1.freebsd.org (Postfix) with SMTP id B904C8FC1D for ; Sat, 27 Feb 2010 20:55:56 +0000 (UTC) Received: (qmail 17870 invoked by uid 60001); 27 Feb 2010 20:55:52 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1267304152; bh=/EdLjsOGLBODemQcMpx0pfECgKNvc1421+CgC19f/3E=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=3hzw1H/2W5CC8RxEHnOnohzMBLMy/4JzIneYzDg83QhKWojn0xqxJeUlxXdThjmsjDYS3d6skYxUMa1z39/L+i3akil1gd1ZaugKbOV6drz4/Buec50PFNB9n2NLSJ29nNSHfcCkLhrrvZQvgWsLzhCgpsqxVkja7Maeehn/WLc= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=5ldZ3Jlsz1CWsa3nn1IVNl0Yoez2QvMVaD1hAig4SS/ZIZJll+KrO52pkaGBYEFNyXlPTHOgSRMSWM3/sxf0kuM6K25MFL50Pif0aJ5syEV1oNf9TBPWYrAV8b5MZFKhR5Mgw59O0a/ttuvLRk3ufJmUCHjAFBB98sqYov6lh7c=; Message-ID: <761671.17176.qm@web36503.mail.mud.yahoo.com> X-YMail-OSG: 7q3EsqUVM1kWfY7n5MGzAn8sGk0MXVsbAsRU10aGeZEghZjkeSihMzJH6Xy2TY5FwV9waoITOmtOB5h5USLRS6PGGcv57.WZTowVbOur.uUwiiWg.MQHshh7IbefmG0clxjkCMizjWajV1vQLMMMAsmButwu3br8gMiOuObxbTWScEbO_CvXbLyBdn11GKPCDe7mn_QuwK7OurhlD6SbwgJWVQvfSsWXjkPTOzhOwY4qPA9AHHOORWd9su91vW7qxI709IP80JTi60vbildUANpe2VxZYFUIUQ-- Received: from [98.242.237.166] by web36503.mail.mud.yahoo.com via HTTP; Sat, 27 Feb 2010 12:55:52 PST X-Mailer: YahooMailClassic/9.2.12 YahooMailWebService/0.8.100.260964 Date: Sat, 27 Feb 2010 12:55:52 -0800 (PST) From: Bill Tillman To: Warren Block In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org, Robert Bonomi Subject: Re: RESOLVED: Printing via USB Port 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: Sat, 27 Feb 2010 20:55:57 -0000 --- On Sat, 2/27/10, Warren Block wrote: From: Warren Block Subject: Re: RESOLVED: Printing via USB Port To: "Bill Tillman" Cc: "Robert Bonomi" , freebsd-questions@freebsd.o= rg Date: Saturday, February 27, 2010, 2:26 PM On Sat, 27 Feb 2010, Bill Tillman wrote: > Okay guys this is finally working. I found the answer here: > =A0 > http://forums.freebsd.org/showthread.php?p=3D64508 > =A0 > This didn't come up in my other searches. >=20 > This morning I put in "freebsd hl2040 usb" into my yahoo search and this = came up. Didn't you get my last message yesterday?=A0 It had that very link. =A0 > Seems this guy got it to work by using unlpt0 not ulpt0. I had tried this= before and was using the ifhp filter but that didn't work. The printer is not HP or even PCL, so ifhp is likely not the right filter. > So I did this with /etc/printcap: > =A0 > lp|HL2040|Brother HL-2040:\ > =A0=A0=A0=A0=A0=A0=A0 :lp=3D/dev/unlpt0:\ > =A0=A0=A0=A0=A0=A0=A0 :af=3D/home/bill/hl1250.ppd:\ > =A0=A0=A0=A0=A0=A0=A0 :if=3D/usr/local/bin/foomatic-rip:\ > =A0=A0=A0=A0=A0=A0=A0 :lf=3D/var/log/lpd/hl2040.log:\ > =A0=A0=A0=A0=A0=A0=A0 :sh:sd=3D/var/spool/lpd/laser: It was probably the unlpt0 device that cured it.=A0 Could you verify whethe= r the plain lpd entry with the unlpt0 device works? lp:\ =A0 =A0=A0=A0:lp=3D/dev/unlpt0:\ =A0 =A0=A0=A0:sh:\ =A0 =A0=A0=A0:mx#0:\ =A0 =A0=A0=A0:sd=3D/var/spool/lpd/lp:\ =A0 =A0=A0=A0:if=3D/usr/local/libexec/ps2hl1250: \ =A0 =A0=A0=A0:lf=3D/var/log/lpd-errs: -Warren Block * Rapid City, South Dakota USA =A0 Okay, we can put this one to rest. The simpler /etc/printcap above using ps= 2hl1250 which is a very short script works as well. No need to have to load= the foomatic-filters port. Good thinking as this keeps the setup simple an= d easier.=0A=0A=0A