Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Oct 1995 09:35:08 -0700
From:      Nate Williams <nate@rocky.sri.MT.net>
To:        tianlin@iguana.ruralnet.net
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: PLEASE HELP: DEClasser printing
Message-ID:  <199510311635.JAA12363@rocky.sri.MT.net>
In-Reply-To: <199510310925.CAA01099@localhost>
References:  <199510310925.CAA01099@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
Tianlin WANG writes:
> Recently, I purchased DEClasser 5100 printer. I hooked it up through
> parallele port to my Pentium 100 with FreeBSD 2.1.0-950726-SNAP and
> DOS installed. I set postscript as the default mode. Under DOS,
> the printer works fine. This indicates that printer itself and
> interface cable connection have no problem. Under BSD, however,
> I cannot get postscript file out to printer. The problem is that
> when I send a postscript file usng lpr try.ps, the computer send a
> signal to printer that READY button in priter is brinking and
>  waiting.

At this point, FreeBSD is sending the postscript file to the printer,
but the printer doesn't understand that it's a PS file.

That's because lpd sends a banner page before anything else, and that
banner page is *NOT* a postscript page.  You need to disable the banner
page on your box.

Here's my printcap entry.  Note the 'sh' and 'mx' entries.  The 'sh'
entry says not to print a banner page and the 'mx' entry tells the lpd
daemon the maximum size of file to accept.  Setting it to zero means
there is no upper limit on the size of file accepted by the printer.

lp|ps|postscript printer:\
        :lp=/dev/lpt0:\
        :mx#0:\
        :sh:\
        :sd=/var/spool/lpd:\
        :lf=/var/log/lpd-errs:



Nate



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199510311635.JAA12363>