Date: Wed, 15 Mar 2000 19:53:01 -0800 From: Joe Park <joepark@uclink4.berkeley.edu> To: Jonathan Chen <jonc@logisticsoftware.co.nz> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: printer problem Message-ID: <00031520044900.00301@susan.pinol1.sfba.home.com> In-Reply-To: <20000316092415.C33339@jonc.logisticsoftware.co.nz> References: <4.2.0.58.20000314201950.009517d0@uclink4.berkeley.edu> <20000316092415.C33339@jonc.logisticsoftware.co.nz>
next in thread | previous in thread | raw e-mail | index | archive | help
¼ö , 15 3 2000¿¡, Jonathan Chen ÀÛ¼ºÇÑ ±Û:
> On Wed, Mar 15, 2000 at 12:20:38AM -0800, Joe Park wrote:
>
> > Hello,
> >
> > As one of processes of moving from Window to FreeBSD, I started to work on
> > printer now. I have Panasonic KX-P6500 laser printer and on first try of
> > "lptest > /dev/lpt0", it printed one line of ASCII chracters on first page
> > and two blank page.
>
> Yup. That's what I expect. You've got a staircasing effect, as your
> printer does not automatically translate a '\n' to '\r\n'.
>
> >And I thought, "hmm, that's odd. Let me try to set up
> > printcap and see what happen." So I edited printcap like this :
> >
> > ##########################
> > lp|panasonic|local Panasonic KX-P6500:\
> > :sh:\
> > :lp=/dev/lpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs:\
> > :if=/usr/local/libexec/lpfilter:
> > ##########################
> >
> > And "lptest > /dev/lpt0" gives me 3 blank pages.
>
> Changing the printcap file does *NOT* affect lptest, as lptest is
> printing directly to the device. ie it doesn't look at /etc/printcap
> at all.
>
> >I tried spooler but all
> > jobs sit at the queue. I tried polled mode with "lptcontrol -p" but
> > nothing changed.
>
> Have you got the lpd(8) daemon running? What's the output of `lpq -a'
> like?
The problem is not spooler anymore. I don't get lpt0 at all!!! Yesterday, I
had lpt0 but somehow I lost it today. I think I had lpd running as deamon too
but it's gone with it. I added
lpd_enable="YES"
lpd_flags=""
in my /etc/rc.conf file, but my lpd deamon is not running, possibly because I
don't have printer port. this is what I get from lpq -a after I spool lptest :
# lptest 20 5 | lpr
# lpq -a
lp:
Warning: no daemon present
Rank Owner Job Files Total Size
1st root 5 (standard input) 105 bytes
And this is my dmesg....there is no lpt* here.
ppc0 at 0x378 irq 7 flags 0x40 on isa
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppb0: IEEE1284 device found /NIBBLE
Probing for PnP devices on ppbus0:
ppbus0: <Panasonic KX-P6500> PRINTER GDI
ppi0: <generic parallel i/o> on ppbus 0
plip0: <PLIP network interface> on ppbus 0
It very strange....I had lpt0 yesterday but after I tried to configure kernel
with olpt instead of using ppbus, I lost lpt*. I changed back to exact same
setting like this (in kernel config file)
# Parallel port
device ppc0 at isa? port? flags 0x40 tty irq 7
controller ppbus0 # Parallel port bus (required)
device lpt0 at ppbus? # Printer
device plip0 at ppbus? # TCP/IP over parallel
device ppi0 at ppbus? # Parallel port interface device
#controller vpo0 at ppbus? # Requires scbus and da0
What did I do wrong? When I was configuring the kernel, printer was connected
to pc all the time. Do I need to plug it out and try to set it up? I don't
think it matters but I'm getting desparate, I'm trying everything.
I'm using FreeBSD 3.4-stable with Panasonic KX-P6500 laser printer.
Thank you very much for your reply : -)
Joe
> > [...] >
> Jonathan Chen >
---------------------------------------------------------------------- >
When you want to test the depth of a stream, >
don't use both feet.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00031520044900.00301>
