Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Oct 2001 17:02:30 -0700 (PDT)
From:      Ed Alley <alley1@llnl.gov>
To:        maxime@sochi.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Troubles with printing after upgrade 4.3 -> 4.4
Message-ID:  <200110070002.f9702US05318@jordan.llnl.gov>

next in thread | raw e-mail | index | archive | help

On Sat, 06, Oct 2001 Maxime Zakharov <maxime@sochi.com> wrote:

> After upgrade 4.3 -> 4.4 i have trouble with printhing:

> bash-2.05$ lp -P ps-a4 print.ps
> lp: unable to print file: server-error-service-unavailable

> lpd is running. lpc say that printer is ready for printing.
> What changed, tow to reconfigure?

We need a little more information. I will assume that you
have a setup similar to mine. Are you sure that the lpt0
device file is present? Try running the command:

ls -l /dev/lpt0

You should get something like:

crw-------  1 root  wheel  16,  0 Oct  5 23:53 /dev/lpt0

Check the output of dmesg(1). I am running Release 4.4
and I have a printer on my parallel port. dmesg for me reads
in part:

ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/9 bytes threshold
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port

If you don't get somethin like this, then your kernel is not
configured for printing on the parallel port. You have to
make your on kernel. Read how to do this in the handbook.
For your information my kernel config file has these lines:

# Parallel port
device		ppc0	at isa? irq 7
device		ppbus		# Parallel port bus (required)
device		lpt		# Printer

Be sure to check the man pages especially lpt(4).

Good luck
		Ed




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?200110070002.f9702US05318>