*BSD News Article 56103


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.uwa.edu.au!classic.iinet.com.au!swing.iinet.net.au!news.uoregon.edu!europa.chnt.gtegsc.com!gatech!newsjunkie.ans.net!fonorola!riscan.riscan.com!theos.com!agate!boulder!emu.fsl.noaa.gov!kelly
From: kelly@emu.fsl.noaa.gov (Sean Kelly)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Question about Printing speed.
Date: 5 Dec 1995 17:15:40 GMT
Organization: Forecast Systems Laboratory
Lines: 33
Message-ID: <4a1uns$9bi@peabody.Colorado.EDU>
References: <49vjvo$76g@news.map.com>
NNTP-Posting-Host: emu.fsl.noaa.gov

In article <49vjvo$76g@news.map.com>,  <jay@map.com> wrote:
>Would anyone know why the fbsd print daemon sends stuff to the printer
>as slow as it seems to here?

First, do a more controlled test, and keep LPD from sending to the
printer:

   lpc stop <printer-name>

Then make a test file:

   man -t 8 sa | gs -sDEVICE=djet500 -sOutputFile=/tmp/tst

And send that test file to the printer

   cat /tmp/tst > /dev/lpt0

If it's still slow, try switching the lpt driver from interrupt to
polled mode (or vice versa):

   lptcontrol -p -u 0		For polled mode
   lptcontrol -i -u 0		For interrupt mode

And do the `cat' again and see if it's any faster.

-- 
Sean Kelly
NOAA Forecast Systems Laboratory, Boulder Colorado USA

I saw a sign at a gas station.  It said "Help Wanted."  There was
another sign below it that said "Self Service."  So I hired myself.
Then I made myself the boss.  I gave myself a raise.  I paid myself.
Then I quit. -- Steven Wright