Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jan 2001 02:54:29 -0600 (CST)
From:      Mike Meyer <mwm@mired.org>
To:        Jonathan Chen <jonc@itouch.co.nz>
Cc:        questions@freebsd.org
Subject:   Re: Help with printer setup
Message-ID:  <14955.62789.137843.947947@guru.mired.org>
In-Reply-To: <21453008@toto.iv>

next in thread | previous in thread | raw e-mail | index | archive | help
Jonathan Chen <jonc@itouch.co.nz> types:
> On Sat, Jan 20, 2001 at 11:21:24AM -0600, Drew Sanford wrote:
> > I'm trying to set up a printer on 4.2-stable and running into some 
> > problems. I looked at the handbook, and figured that sensably enough, 
> > the first thing to do was to try lptest > lpt0 to see if everything was 
> > talking nicely. After a second or 5, it printed one line of the ascii 
> > charactor set across the top of the page (from ! to o) and then a " at 
> > the righthand end of the next line, then ejected that sheet of paper, 
> > loaded another, and sat there. The trouble shooting section of the 
> > handbook doesn't appear to deal with this situation.
> 
> This sounds like the common staircasing effect. You need a linefeed
> converter filter for this queue. Create a script like this:
> 
> 	#!/bin/sh
> 	#
> 	#	Add a \r to each line
> 	#
> 	awk '{ print $0,"\r"; }'
> 
> and add an entry to this script file in /etc/printcap, eg:
> 
> 	if=/path/to/the/script/file

You can also install the magicfilter port, which has a "text" filter
which takes care of this, among other things.

	<mike
--
Mike Meyer <mwm@mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.


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?14955.62789.137843.947947>