*BSD News Article 65743


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.vbc.net!alpha.sky.net!winternet.com!newsfeed.concentric.net!news.texas.net!news.kei.com!newsfeed.internetmci.com!news1.erols.com!news2.cais.net!news.cais.net!peer.news.xara.net!xara.net!dispatch.news.demon.net!demon!arg1.demon.co.uk
From: Andrew Gordon <andrew.gordon@net-tel.co.uk>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: lpd woes
Date: Fri, 12 Apr 1996 01:32:54 GMT
Lines: 33
Message-ID: <829272774.7491@arg1.demon.co.uk>
References: <4kjsfd$jl7@stout.entertain.com>
NNTP-Posting-Host: arg1.demon.co.uk
X-NNTP-Posting-Host: arg1.demon.co.uk
X-Mailer: Mozilla 1.1N (X11; I; FreeBSD 2.1-STABLE i386)
MIME-Version: 1.0
To: dwatson@stout.entertain.com
X-URL: news:4kjsfd$jl7@stout.entertain.com
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii

dwatson@stout.entertain.com (Darryl Watson) wrote:
>I have FreeBSD 2.1.0-R, and am trying to print postscript files to an 
>Okidata OL610e/PS printer.
>
> If I try to send a print job to the 
>printer via lpr, I get errors on the printer LED console, and nothing 
>happens.

Most likely it is choking on the burst page (which is not postscript)
You can turn this off in /etc/printcap

>I am pretty sure the parallel port is bi-directional, which is required, 
>according to the Okidata documentation.

FreeBSD won't do anything special with a bidirectional port.  But you probably
don't need it.

>Has anyone successfully set up one of these printers?  If so, can you 
>send me or post the section of your /etc/printcap file that deals with 
>that port?

I don't have an OKI (well, I have an OKI Microline 84, but that's not
relevant).
However, this simple printcap line works with an HP postscript printer:


lp|hp|local line printer:\
        :lp=/dev/lpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs:sh:mx=0


The important bit is the ":sh:" to suppress the burst page header.