Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Jul 2002 10:42:40 +0200
From:      Simon Siemonsma <simon.freebsd@hccnet.nl>
To:        Jud <jud@myrealbox.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Elementary Printing Help, Please
Message-ID:  <200207071042.40516.simon.freebsd@hccnet.nl>
In-Reply-To: <20020707013135.79c4df6f.jud@myrealbox.com>
References:  <20020707013135.79c4df6f.jud@myrealbox.com>

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

--------------Boundary-00=_4VEVWYJXLUV8QUBQJQ00
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: 8bit

You can test if your lpt0 device is configured right by printng to a file in 
Windows and then copy the file /dev/lpt0 in FreeBSD.
When it works you at least that your lpt0 device is configured right.

Did you install pnm2ppa?
Linuxprinting.org contains more information.
the localhost line doesn't have to be uncommented.
I add my printcap file as an attachment so you can compare.

Simon Siemonsma


On Sunday 07 July 2002 07:31, Jud wrote:
> I have an HP 820Cse connected to my local machine as lpt0.  It
> prints fine from Windows, so the hardware works.  I have apsfilter
> installed and /etc/printcap set up to use the ppa driver that
> these particular HP machines must use.  I have lpd_enable="YES" in
> my /etc/rc.conf file.  I also uncommented the localhost line in
> /etc/hosts.equiv, just in case that might have any effect.
> However, I get no response at all from the printer whenever I try
> to print anything.  For instance, if I try
>
> # lptest > /dev/lpt0
>
> there is a momentary pause, then the root prompt comes up for the
> next line, but the printer just sits there.  Same thing if I try
>
> # cat [$HOME]/test > /dev/lpt0
>
> where test is the name I gave to the small Postscript test file
> set out in the Handbook.
>
> Here is the relevant portion of my kernel:
>
> # Parallel port
> device          ppc0    at isa? port IO_LPT1 irq 7
> device          ppbus           # Parallel port bus (required)
> device          lpt             # Printer
>
> I've also tried it without the "port IO_LPT1," but no difference.
>
> Here's the relevant bit of dmesg:
>
> 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
> ppbus0: IEEE1284 device found /NIBBLE/ECP
> Probing for PnP devices on ppbus0:
> ppbus0: <HEWLETT-PACKARD DESKJET 820C> SCP,VLINK
> ppi0: <Parallel I/O> on ppbus0
> plip0: <PLIP network interface> on ppbus0
> lpt0: <Printer> on ppbus0
> lpt0: Interrupt-driven port
>
> The result of
>
> # dmesg | grep lpt0
>
> is
>
> lpt0: <Printer> on ppbus0
> lpt0: Interrupt-driven port
>
> repeated 3 times.
>
> Though I've been slogging away at FreeBSD for a while, this is the
> first time (obviously!) I've tried setting up a printer.  If
> someone would take the trouble to tell me what elementary thing I
> haven't thought of, I'd very much appreciate it.
>
> Thanks,
>
> Jud
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

--------------Boundary-00=_4VEVWYJXLUV8QUBQJQ00
Content-Type: text/plain;
  charset="us-ascii";
  name="printcap"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="printcap"

lp|ascii|unix:\\
	:lp=/dev/lpt0:\\
	:sd=/var/spool/lpd:\\
	:if=/usr/local/bin/asciippafilter:\\
	:mx#0:\\
	:sh:

ps:\\
	:lp=/dev/lpt0:\\
	:sd=/var/spool/ps:\\
	:if=/usr/local/bin/ppafilter:\\
	:mx#0:\\
	:sh:

--------------Boundary-00=_4VEVWYJXLUV8QUBQJQ00--

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?200207071042.40516.simon.freebsd>