Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Mar 2001 08:10:12 -0600
From:      Mike Meyer <mwm@mired.org>
To:        "Kruppa, Peter Ulrich" <root@pukruppa.de>
Cc:        questions@freebsd.org
Subject:   Re: Printer Configuration
Message-ID:  <15031.25797.973.637300@guru.mired.org>
In-Reply-To: <Pine.BSF.4.33.0103201449560.636-100000@localhost.de>
References:  <15031.6392.501847.974859@guru.mired.org> <Pine.BSF.4.33.0103201449560.636-100000@localhost.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Kruppa, Peter Ulrich <root@pukruppa.de> types:
> A big help is a small interactive printer-configuration-script called
> apsfilter. It will produce printcap-entries and filter-scripts for you.
> You will find that in /usr/ports/print/

That's not what apsfilter is, or does. apsfilter (the program) is the
lpd filter, and it's the shell script from hell.  It includes a
configure script that produces printcap entries and symbolic links
back to apsfilter. magicfilter doesn't produce the printcap entries
for you, but the documentation provides a cut-n-paste one. When you're
done, you don't wind up invoking that SSFH every print
job. magicfilter also handles flat text files without converting them
to postscript so that ghostscript can convert them to bitmaps to send
to your printer.

While apsfilter does the job, magicfilter does it cleaner and
faster. Which is why I recommend it instead of apsfilter.

> Also in this ports-directory you will find ghostscript - a printer-filter
> for .ps files. That should do for the beginning.

Yes, I already mentioned that.

	<mike



> Uli.
> 
> On Tue, 20 Mar 2001, Mike Meyer wrote:
> 
> > Date: Tue, 20 Mar 2001 02:46:48 -0600
> > From: Mike Meyer <mwm@mired.org>
> > To: ABEAICD@aol.com
> > Cc: questions@FreeBSD.ORG
> > Subject: Re: Printer Configuration
> >
> > ABEAICD@aol.com types:
> > > --part1_6b.11671e05.27e7cde3_boundary
> > > Content-Type: text/plain; charset="US-ASCII"
> > > Content-Transfer-Encoding: 7bit
> >
> > Please just send one copy of your question, as ascii text. Don't send
> > HTML, and expecially don't send two copies - one HTML and one
> > text.
> >
> > > Gentlemen:
> > > I have installed FreeBSD Power Pak Ver.4.2 in my PC, and now
> > > I am in the process of configuring my Printer. According to FreeBSD
> > > Handbook I tried to find itf the kernel supports parallel interface, for
> > > this I used the command: # dmesg | grep lpt0 the answer I get is:
> > > lpt0: <PRINTER> on ppbus0 in the first line. lpt0: Interrupt-driven
> > > port in the second line.
> > > From the FreeBSD Book, I tried Testing the Printer: I used the
> > > command line  # lptest > /dev/lpt0, I get no reaction to the status
> > > display.
> >
> > That's not a status display, that just sends text to the printer. If
> > nothing shows up on the printer, then you probably have a printer that
> > can't print ascii text, and need to install the appropriate
> > drivers. I recommend using ghostscript as the rendering engine (it
> > will need to know how to talk to your printer), and magicfilter as the
> > printer filter (it invokes other tools depending on the file type,
> > then ghostscript to render to the printer).
> >
> > > I also tried  Configuring # /etc/printcap, the response i get is:
> > > /etc/printcap: Permission denied.
> > > I wish you could help me with this problem. I look forward to your
> > > answers.
> >
> > You have to configure printcap as root, but it won't do any good until
> > you've got the appropriate rendering engine and filter installed.
> >
> > 	<mike
> >
> > > Al. Saavedra.
> > >
> > >
> > > --part1_6b.11671e05.27e7cde3_boundary
> > > Content-Type: text/html; charset="US-ASCII"
> > > Content-Transfer-Encoding: 7bit
> > >
> > > <HTML><FONT FACE=arial,helvetica><FONT  SIZE=2>Gentlemen:
> > > <BR>I have installed FreeBSD Power Pak Ver.4.2 in my PC, and now
> > > <BR>I am in the process of configuring my Printer. According to FreeBSD
> > > <BR>Handbook I tried to find itf the kernel supports parallel interface, for
> > > <BR>this I used the command: # dmesg | grep lpt0 the answer I get is:
> > > <BR>lpt0: &lt;PRINTER&gt; on ppbus0 in the first line. lpt0: Interrupt-driven
> > > <BR>port in the second line.
> > > <BR>From the FreeBSD Book, I tried Testing the Printer: I used the
> > > <BR>command line &nbsp;# lptest &gt; /dev/lpt0, I get no reaction to the status
> > > <BR>display.
> > > <BR>I also tried &nbsp;Configuring # /etc/printcap, the response i get is:
> > > <BR>/etc/printcap: Permission denied.
> > > <BR>I wish you could help me with this problem. I look forward to your
> > > <BR>answers.
> > > <BR>
> > > <BR>Al. Saavedra.
> > > <BR></FONT></HTML>
> > >
> > > --part1_6b.11671e05.27e7cde3_boundary--
> > >
> > > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > > with "unsubscribe freebsd-questions" in the body of the message
> > >
> > --
> > 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
> >
> 
> -- 
> ###################################################
> #                                                 #
> #     www.pukruppa.de	        www.2000d.de      #
> #                                                 #
> ###################################################
> 
> 
--
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?15031.25797.973.637300>