From owner-freebsd-questions@FreeBSD.ORG Tue Mar 9 19:40:11 2004 Return-Path: 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 BC5FC16A4CE for ; Tue, 9 Mar 2004 19:40:11 -0800 (PST) Received: from smtpo02.icare.priv (unknown [203.78.64.148]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A6E043D1F for ; Tue, 9 Mar 2004 19:40:10 -0800 (PST) (envelope-from satimis@icare.com.hk) Received: from smtpi01.icare.priv ([10.11.12.46]) by smtpo02.icare.priv with Microsoft SMTPSVC(5.0.2195.5329); Wed, 10 Mar 2004 11:39:24 +0800 Received: from 203.88.164.225 ([203.88.164.225]) by smtpi01.icare.priv with Microsoft SMTPSVC(5.0.2195.5329); Wed, 10 Mar 2004 11:39:24 +0800 From: Stephen Liu To: Lowell Gilbert Date: Wed, 10 Mar 2004 20:19:31 +0800 User-Agent: KMail/1.5.4 References: <200403080839.14867.satimis@icare.com.hk> <200403091244.59171.satimis@icare.com.hk> <44hdwy3phy.fsf@be-well.ilk.org> In-Reply-To: <44hdwy3phy.fsf@be-well.ilk.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200403102019.31593.satimis@icare.com.hk> X-OriginalArrivalTime: 10 Mar 2004 03:39:24.0226 (UTC) FILETIME=[47F03A20:01C40651] cc: freebsd-questions@freebsd.org Subject: Re: A question on installing printer X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Mar 2004 03:40:11 -0000 On Wednesday 10 March 2004 01:21, Lowell Gilbert wrote: =2D snip - > > # lptest > /dev/lpt0 > > =A0 > > One line printed on 1st page as follow; > > > > !"#$%&'()* > > +,-./0123456789:;<=3D>?@ABCDEFGHIJK.....XYZ......abcdefghijk.......xyz.= =2E.. > > =A0 > > It seemed OK but paper feed-in continued with 'no_paper' light on (I put > > only 1 paper in the tray) > > Sounds fine. =A0 > > You have more configuration you'll want to do; see the Handbook > chapter for an extensive explanation. =A0Personally, I use apsfilter > (from the ports) to configure and run my Deskjet. Hi Lowell, Tks for your response. Later I also used 'apsfilter' to config my printer. The printtest looked=20 perfect, a complete page filled with nice tiger heads, text and grid border= =2E =20 But still I could not print documents. Hereinunder was my tests; /etc/printcap HPDJ690C|cdj670;r=3D300x300;q=3Dmedium;c=3Dfull;p=3Da4;m=3Dauto:\ =A0 =A0 :lp=3D/dev/lpt0:\ =A0 =A0 :if=3D/usr/local/etc/apsfilter/basedir/bin/apsfilter:\ =A0 =A0 :sd=3D/var/spool/lpd/HPDJ690C:\ =A0 =A0 :lf=3D/var/spool/lpd/HPDJ690C/log:\ =A0 =A0 :af=3D/var/spool/lpd/HPDJ690C/acct:\ =A0 =A0 :mx#0:\ =A0 =A0 :sh: =46ollowing line added to /etc/rc.conf lpd_enable=3D"YES" # lpr -P HPDJ690C clean.txt Only strange symbols printed. 'No paper' light was flashing. =20 # lprm -P HPDJ690C dfA006localhost dequeued cfA006localhost dequeued =20 # lpq -P HPDJ690C no entries =20 But 'No paper' light was still flashing. Turned off the printer and turned = on=20 again the light gone. (I put only one paper on the tray otherwise the print= er=20 will contiue to eject papers) =20 On KDE desktop started a text document Started printing =46ile -> Print Print system currently used Printer Name - HPDJ690C Clicked =20 Only strange symbols printed out and 'no paper' light flashing.=20 =20 Remark: also tried Print system currently used same result:- strange symbols and light flashing A folk on this list mentioning > Once you do this you can insert setup codes via an input filter ahead of > the data to be printed and most printers including many HP models have a > code which switches the interpretation of the LF character. I have no idea how to make it and am still waiting his advice. I am searching around for solutions but still could not find it. =20 B.R. Stephen