*BSD News Article 45455


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.sprintlink.net!howland.reston.ans.net!Germany.EU.net!zib-berlin.de!news.tu-chemnitz.de!irz401!narcisa.sax.de!not-for-mail
From: j@narcisa.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Printers
Date: 13 Jun 1995 10:49:57 +0200
Organization: Private U**x site, Dresden.
Lines: 38
Message-ID: <3rjjfl$s2m@bonnie.tcd-dresden.de>
References: <3rfi45$lfv@warp.cris.com> <3rfu90$pfl@warp.cris.com>
Reply-To: joerg_wunsch@uriah.heep.sax.de
NNTP-Posting-Host: 192.109.108.139
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

In article <3rfu90$pfl@warp.cris.com>, George <grep@cris.com> wrote:
>I uncommented the /etc/printcap entry and created /var/spool/output/lpd 

Please file a problem report for the missing /var/spool/output/lpd
directory.  This one needs to be solved.

>directory and can now get readable output from my printer. I also changed the 
>device in the printcap from /dev/lp to /dev/lpt0 since there was no /dev/lp.

/dev/lp is something like a `generic printer device'.  Either rename,
or make it a symlink to your actual printer.

>The problem now is that it takes over an hour to print /etc/rc. Does anybody 
>know of a way to speed this up? Also the banner wraps around on itself even 
>though I added pw=80 in the printcap entry. myname.my.domain ends up looking 
>like mdyonmaamien.my

I think you aren't much interested in the banners, either, are you?
Add the :sh: flag in the printcap entry, and you'll get rid of'em.

The pw=80 is totally ignored unless you're installing some sort of
output filter.  I've described the filter mechanism in more detail in
another article yesterday.  Look around for it in this newsgroup.
(Btw., i hope you've got it actually as ``pw#80''. :-)

Re. your slow printing.  Is the port interrupt-controlled?  Are you
using a proper cable?  (Many cheap cards or cables are broken with
respect to the /ACK signal, which is used to generate the interrupt.
DOS doesn't use interrupt-controlled printing, so you might not have
noticed it yet.)  Try to turn off interrupt-controlled printing with
`lpcontrol'.  If this speeds up things, either your card or your
cable is bad.  Anyway, by replacing either (or both), and using the
interrupt-controlled driver, it will speed up considerably.
-- 
cheers, J"org                      private:   joerg_wunsch@uriah.heep.sax.de
                                   http://www.sax.de/~joerg/

Never trust an operating system you don't have sources for. ;-)