Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Aug 1995 22:29:50 -0600
From:      kelly@fsl.noaa.gov (Sean Kelly)
To:        fadorno@ix.netcom.com
Cc:        questions@freebsd.org
Subject:   Re: Printcap setup for Epson ActionLaser 1500
Message-ID:  <9508060429.AA13665@emu.fsl.noaa.gov>
In-Reply-To: <199508060348.UAA20037@ix2.ix.netcom.com> (fadorno@ix.netcom.com)

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "Fred" == Fred Adorno <fadorno@ix.netcom.com> writes:

    Fred> Sean, I followed your instructions.  The program is talking
    Fred> to my printer.  However, it just prints garbage and form
    Fred> feeds forever.  Don't I need to make a device driver for the
    Fred> hardware?

If it's on a parallel port, then you already have the device driver,
and you talk to the device driver through /dev/lpt0.

    Fred> Do I need to put some variables in printcap to control form
    Fred> feed and speed info?

Since it's on a parallel port, there isn't any speed info to set up.
The only form feed information you can put in /etc/printcap is what
string to send as a form feed, whether to print a form feed when
opening the device, or whether to suppress them altogether.

Let's narrow down the problem.  Without using lpr at all, type

	lptest 70 10 > /dev/lpt0

and tell me what comes out of your printer.  You might have to wait a
moment for the printer to realize there's no more data arriving before
it starts printing.

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

TASK: Shoot yourself in the foot.  In FORTH: Foot in yourself shoot.



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