From owner-freebsd-questions Fri Nov 15 11:17:53 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 6DC8537B401 for ; Fri, 15 Nov 2002 11:17:51 -0800 (PST) Received: from hotmail.com (f11.law15.hotmail.com [64.4.23.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 26FE843E88 for ; Fri, 15 Nov 2002 11:17:51 -0800 (PST) (envelope-from ljfong@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 15 Nov 2002 11:17:51 -0800 Received: from 12.225.82.30 by lw15fd.law15.hotmail.msn.com with HTTP; Fri, 15 Nov 2002 19:17:50 GMT X-Originating-IP: [12.225.82.30] From: "Lin Jianfong" To: freebsd-questions@freebsd.org Subject: Trouble setting up HP Deskjet 855Cse printer Date: Fri, 15 Nov 2002 11:17:50 -0800 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 15 Nov 2002 19:17:51.0060 (UTC) FILETIME=[B0BB8140:01C28CDB] 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 Hi, I have been trying to set up HP Deskjet 855Cse with my machine running FreeBSD 4.7-RELEASE for a couple days and having trouble getting anything better than garbage printout. Snippet from dmesg -a : ppc0: at port 0x378-0x37f drq 1 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold ppbus0: IEEE1284 device found /NIBBLE/PS2/ECP Probing for PnP devices on ppbus0: ppbus0: PCL,MLC,PML plip0: on ppbus0 lpt0: on ppbus0 lpt0: Polled port ppi0: on ppbus0 Since kernel now recognizes the printer and /dev/lpt0, I ran a couple simple tests by sending data to /dev/lpt0 directly like the handbook suggested, it worked although with horrible staircase effect. Then I activated lpd, and start printing using lpr as regular user, but I could not get anything meaningful other than garbage, be that plain text file or postscript, just some random ASCII chars on the page. I thought this might be filtering problem, so I installed apsfilter package from the ports collection using the distribution CD. Here's my /etc/printcap after going thru apsfilter SETUP : # APS1_BEGIN:printer1 # - don't delete start label for apsfilter printer1 # - no other printer defines between BEGIN and END LABEL wulfgar|cdj850;r=300x300;q=medium;c=full;p=letter;m=auto:\ :lp=/dev/lpt0:\ :if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\ :sd=/var/spool/lpd/wulfgar:\ :lf=/var/spool/lpd/wulfgar/log:\ :af=/var/spool/lpd/wulfgar/acct:\ :mx#0:\ :sh: # APS1_END - don't delete this In the SETUP process, printing test page worked perfectly, I can see the usual 4 rectangle grid layout, complete with, font size testing,screening test, gamma test (tiger heads), geometric objects, and photo of Andreas Klemm. So I installed the setup into /etc/printcap and tried to print as regular user using lpr command some small PS files. It printed garbage, tried plain text file as well, same thing, garbage. Bothers me to no end, how come the test page is perfect but regular printing is screwed up totally ? Things I have tried so far : - Changing to interrupt mode (IRQ 7) and recompiled the kernel, same thing. - Disabled DMA specification (getting rid of drq 1), same thing. - Re-ran SETUP and printed test pages, all test pages printed perfectly. Fong _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message