Printer Configuration for lpr using Apsfilter
Printer Configuration for lpr using Apsfilter by Patrick Volkerding of Slackware
In the handy email sitting in the root Inbox after installing Slackware, Patrick Volkerding gives his preferred way for configuring a printer. Note that if you are not using Slackware, the script for loading modules will be in a different place and the process of installing the apsfilter package will be done with your package manager instead of installpkg:
“A lot of people ask me how to set up their printer under Linux. In my opinion, the best method is to set up Apsfilter, a system that allows you to print many file formats (DVI, PS, PDF, text) by just sending them to the print spooler with lpr. To set this up, do the following steps:
- Make sure you’re loading the parallel driver in /etc/rc.d/rc.modules. This should be done by default.
- Install the LPD printer software. This is the ”lprng“ package on the A series. Odds are it’s already been installed.
- You’ll probably want to have the TCP/IP subsystem installed and configured (at least for loopback). The ”tcpip“ package is part of the N series, and the ”netconfig“ script is used to do a basic TCP/IP configuration.
- Apsfilter uses a variety of other filters that it expects to find installed. You’ll want to install the ”espgs“ (Ghostscript) and ”gnu-gs-fonts“ packages on the AP series to add Ghostscript if you want the ability to print !PostScript documents. If you want to print DVI files, install at least the default teTeX packages from the T series.
- Install the apsfilter package. This package is part of the AP series, so if you’ve done a full installation then it’s already installed. Otherwise, find the package in the ap directory and install it:
installpkg apsfilter-*.tgz
- Change into the /usr/share/apsfilter/ directory, and run the SETUP program:
./SETUP
It’ll write your /etc/printcap, and you’ll be all set to start printing. Once you’ve got it working, you can also use netatalk and Samba to provide print services to Macs and Windows machines on the local network with your Linux box.”
Tip:Search for your printer name at http://www.linuxprinting.org to see if it is compatible with Linux and which type of drivers select (ghostscript, gimp-print, etc.).
See: Apsfilter Screenshots
Copyright (c) by the authors.
Prior to editing, authors agreed to license their contributions by the terms of the GPL.
See our licensing page for details.
Linux® is a registered trademark of Linus Torvalds.
tutorials/during/printer_configuration_for_lpr_using_apsfilter.txt · Last modified: 2008/07/20 21:08
Welcome to LinuxBasics.org - The online community that helps people to get Linux installed and running.
During this tour, we will guide you through our website, which has many facets which wait to be explored
The biggest project we are running is our Linux course, based on the LBook.
The book is stored in wiki-format, which enables us to update and correct it as we go.
Discussion for the course is on our Forum
Our Forum is used for discussion of Linux and for questions and answers.
Search the mailing-list that was used prior to the Forum.
The questions and answers from the list are stored in the list's archives in order to help others with the same problems.
Every weekend, we meet to chat in IRC. These meetings are NOT mandatory, but are a nice chance to get to know each other better.
IRC is also a great tool to solve many problems, since it is very quick and easy to ask for more details if you need them.
The tutorials are one of the oldest sections on the LBo-website.
Here you find explanations on how to do specific tasks in Linux. Many of the tutorials were created after a certain problem
has been discussed (and usually solved :) on the mailing-list.
The tutorials are categorized in
In the links section, you find outbound links to other valuable resources.
One of our later additions to the site. We maintain a mirror of the Linux Documentation Project. This is our contribution to the "home of the HOWTOs"
Another later addition is the LBlog which focuses on how to do stuff on the Linux Desktop. It begins with the basics on installing Ubuntu.
Using the integrated site-search, you can search the tutorials, the LBook and all other wiki-pages
Simply type the search term into the box in the upper-right corner of our webpages
As a community, we depend on your feedback and collaboration. So, if you have something to share with others, please contact us. If you have a suggestion for a topic you would like to see covered here, please add it on the Wishlist.
There are many ways to contribute: You can answer questions on the Forum, you can write a complete tutorial or just a step-by-step documentation on how you completed a specific task using linux. Ask questions if the information on this site is not clear, tell us if we got something wrong, spell-check our writings, whatever.
We are looking forward to meeting you at LinuxBasics.org
Anita, Jisao, Sam and Stefan