Date: Fri, 15 Nov 2002 11:17:50 -0800 From: "Lin Jianfong" <ljfong@hotmail.com> To: freebsd-questions@freebsd.org Subject: Trouble setting up HP Deskjet 855Cse printer Message-ID: <F11SbqSBwRnAlZ7e5a000011df8@hotmail.com>
index | next in thread | raw e-mail
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: <Parallel port> 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: <HEWLETT-PACKARD DESKJET 850C> PCL,MLC,PML
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Polled port
ppi0: <Parallel I/O> 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
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F11SbqSBwRnAlZ7e5a000011df8>
