On Mon, 13 Dec 2004, Rony Bill wrote:
Dear Rajen,
Sorry for the trouble but could you give me a step by step config method for RHEL-3?
The steps are just the same. Install LPRng + apsfilter and you are done. After installing apsfilter run the 'SETUP' script in /usr/share/apsfilter, or wherever you install it. When asked for various options to be set just remember to set 2 options correctly. One is the printer driver which is eps9mid and the second one is the resolution which should be set as 240x204. This resolution thing had me stumped earlier, but after a bit of trial and error I came to this final figure.
I looked up the /etc/printcap file and it has this inside... " This file was automatically generated by cupsd(8) from the # /etc/cups/printers.conf file. All changes to this file # will be lost. LX300:"
This file is generated by CUPS. When you intend to use LPRng, you should stop the CUPS service and start the lpd server (LPRng). Back up this original file, in case you are not satisfied with LPRng, so that you can use it with CUPS later on.
I have a2ps instead of apsfilter and it has 2 files for config..../etc/a2ps.cfg and a2ps-site.cfg They both have a long text list of 'how to and what to' but I can't figure it out. I have ghostscript already installed.
I haven't used a2ps so I am not in a position to comment on it. Maybe it is also similar/better then apsfilter. But I think a search on freshmeat will give you links to apsfilter. The softwar size is also quite small, so you will be easily able to download it. On my Slackware system the following command shows
less /var/log/packages/apsfilter-7.2.5-i386-2
PACKAGE NAME: apsfilter-7.2.5-i386-2 COMPRESSED PACKAGE SIZE: 295 K UNCOMPRESSED PACKAGE SIZE: 1340 K PACKAGE LOCATION: /var/log/mount/slackware/ap/apsfilter-7.2.5-i386-2.tgz PACKAGE DESCRIPTION: apsfilter: apsfilter (printer filter and configuration tool) apsfilter: apsfilter: Apsfilter is a printer input filter. With apsfilter installed and apsfilter: configured, you can print many different file types (like ASCII, apsfilter: PostScript, and DVI, as well as compressed versions of all of these) apsfilter: directly with 'lpr', and apsfilter will automatically handle the apsfilter: conversion process on the fly. What does apsfilter stand for? apsfilter: Apsfilter Prints So Fine, It Leads To Extraordinary Results ;-) apsfilter: apsfilter: To configure apsfilter, run the SETUP program in /usr/share/apsfilter
Another option that Slackware distro has is that of "ifhp". Since I haven't tried that one, I don't have much idea about it.
I am still unable to print in evolution as it does not show the printers like other programs. It only has 3 choices Create PDF, Generic Postscript and LX300. In LX300 it has only one choice of CUPs as the location, in Generic Postscript it has options file, lpr and custom.
Once you will setup apsfilter with LPRng, you will be able to print in evolution using the Generic Postscript option, since it is giving you the lpr option. A simple lpr will print your evolution mail.
I suggest you try out apsfilter and I am sure you will be satisfied.
Regards, Rajen.