* [gentoo-user] Where is magicfilterconfig?
@ 2005-07-26 21:10 Alessandro Selli
2005-07-27 14:16 ` A. Khattri
0 siblings, 1 reply; 5+ messages in thread
From: Alessandro Selli @ 2005-07-26 21:10 UTC (permalink / raw
To: gentoo-user
Hello,
I installed magicfilter on a i386 machine because I was
confortable with it's use with LPRng under Debian. I knew it came
with a configuration tool, magicfilterconfig, but that tool is
missing in my installation (from sources). There does not seem to
be a separate package with it. So, where is it? If it's no
longer part of the magicfilter package, what can I use
(documentation?) to generate a working printcap file?
--
Alessandro Selli
Tel: 340.839.73.05
http://alessandro.route-add.net
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Where is magicfilterconfig?
2005-07-26 21:10 [gentoo-user] Where is magicfilterconfig? Alessandro Selli
@ 2005-07-27 14:16 ` A. Khattri
2005-07-28 18:58 ` Alessandro Selli
0 siblings, 1 reply; 5+ messages in thread
From: A. Khattri @ 2005-07-27 14:16 UTC (permalink / raw
To: gentoo-user
On Tue, 26 Jul 2005, Alessandro Selli wrote:
> I installed magicfilter on a i386 machine because I was
> confortable with it's use with LPRng under Debian. I knew it came
> with a configuration tool, magicfilterconfig, but that tool is
> missing in my installation (from sources). There does not seem to
> be a separate package with it. So, where is it? If it's no
> longer part of the magicfilter package, what can I use
> (documentation?) to generate a working printcap file?
You should really have esearch or eix installed (or at least use "emerge
-S"):
$ eix magicfilter
* net-print/magicfilter
Available versions: 1.2-r4 2.3a ~2.3d
Installed: no
Homepage: http://www.pell.portland.or.us/~orc/Code/magicfilter/
Description: Customizable, extensible automatic printer filter
--
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Where is magicfilterconfig?
2005-07-27 14:16 ` A. Khattri
@ 2005-07-28 18:58 ` Alessandro Selli
2005-07-28 22:31 ` A. Khattri
0 siblings, 1 reply; 5+ messages in thread
From: Alessandro Selli @ 2005-07-28 18:58 UTC (permalink / raw
To: gentoo-user
A. Khattri wrote:
> On Tue, 26 Jul 2005, Alessandro Selli wrote:
>
>
>> I installed magicfilter on a i386 machine because I was
>>confortable with it's use with LPRng under Debian. I knew it came
>>with a configuration tool, magicfilterconfig, but that tool is
>>missing in my installation (from sources). There does not seem to
>>be a separate package with it. So, where is it? If it's no
>>longer part of the magicfilter package, what can I use
>>(documentation?) to generate a working printcap file?
>
>
> You should really have esearch or eix installed (or at least use "emerge
> -S"):
>
> $ eix magicfilter
> * net-print/magicfilter
> Available versions: 1.2-r4 2.3a ~2.3d
> Installed: no
> Homepage: http://www.pell.portland.or.us/~orc/Code/magicfilter/
> Description: Customizable, extensible automatic printer filter
>
>
Thank you for your hint.
However, I realize the magicfilterconfig tool is Debian-specific,
since there is no trace of it in the official source code I just
downloaded from
http://www.pell.portland.or.us/~orc/Code/magicfilter/magicfilter-2.3.d.tar.gz
I wish Gentoo too had it!
--
Alessandro Selli
Tel: 340.839.73.05
http://alessandro.route-add.net
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Where is magicfilterconfig?
2005-07-28 18:58 ` Alessandro Selli
@ 2005-07-28 22:31 ` A. Khattri
2005-07-29 17:31 ` Alessandro Selli
0 siblings, 1 reply; 5+ messages in thread
From: A. Khattri @ 2005-07-28 22:31 UTC (permalink / raw
To: gentoo-user
On Thu, 28 Jul 2005, Alessandro Selli wrote:
> However, I realize the magicfilterconfig tool is Debian-specific,
> since there is no trace of it in the official source code I just
> downloaded from
> http://www.pell.portland.or.us/~orc/Code/magicfilter/magicfilter-2.3.d.tar.gz
>
> I wish Gentoo too had it!
Did you try emerging net-print/magicfilter?
The Changelog specifically mentioned magicfilterconfig so it might be in
there...
--
Aj.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Where is magicfilterconfig?
2005-07-28 22:31 ` A. Khattri
@ 2005-07-29 17:31 ` Alessandro Selli
0 siblings, 0 replies; 5+ messages in thread
From: Alessandro Selli @ 2005-07-29 17:31 UTC (permalink / raw
To: gentoo-user
A. Khattri wrote:
> On Thu, 28 Jul 2005, Alessandro Selli wrote:
>
>> However, I realize the magicfilterconfig tool is Debian-specific,
>>since there is no trace of it in the official source code I just
>>downloaded from
>>http://www.pell.portland.or.us/~orc/Code/magicfilter/magicfilter-2.3.d.tar.gz
>>
>> I wish Gentoo too had it!
>
> Did you try emerging net-print/magicfilter?
>
> The Changelog specifically mentioned magicfilterconfig so it might be in
> there...
All right, I queried further and learned this about
magicfilter/magicfilterconfig:
1) until magicfilter version 1.2, magicfilter was developped by H. Peter
Anvin, then David Parsons rewrote it from scratch and changed its
licence from GPL to BSD:
http://www.pell.portland.or.us/~orc/Code/magicfilter/
History
Magicfilter 2 is a complete rewrite of H. Peter Anvin's
Magicfilter 1.2, using slightly more standard components.
2) magicfilter version 1.2 did have the magicfilterconfig tool standard:
http://www.gentoo.org/cgi-bin/viewcvs.cgi/*checkout*/net-print/magicfilter/ChangeLog
*magicfilter-1.2-r3 (26 Mar 2002)
[...]
26 Mar 2002; Aron Griffis <agriffis@gentoo.org>
magicfilter-1.2-r3.ebuild:
Fixed magicfilterconfig man-page installation
3) magicfilter version 2.0 and later (David Parsons') no longer has it.
I did ACCEPT_KEYWORDS='~x86' emerge magicfilter to install the
latest release (2.3d) but magicfilterconfig is not there.
However, I did manage to get it to work. I only had to change in the
/etc/lprng/printcap file the filter line from:
:if=/usr/etc/apsfilter/basedir/bin/apsfilter:\
into:
:if=/usr/share/magicfilter/filters/dj500:\
*And* I had to correct the same filter file, because it erroneously
had two lines defining the gs output device to use, first the right one,
then a wrong one that would override the correct output device. The
/usr/share/magicfilter/filters/dj500 file was thus changed from:
#!/usr/bin/magicfilter
define(Vendor, `Hewlett-Packard')dnl
define(Printer, `DeskJet 500 series B/W printers (and DJ500c with black
cartridge)')dnl
define(DPI,`300')dnl
define(DEVICE,`djet500')dnl
define(PCL,`true')dnl
define(DEVICE,`cdjcolor')dnl
define(HANDLE_TEXT,`cat \eE\e&k2G\e(0N \eE')dnl
into:
#!/usr/bin/magicfilter
define(Vendor, `Hewlett-Packard')dnl
define(Printer, `DeskJet 500 series B/W printers (and DJ500c with black
cartridge)')dnl
define(DPI,`300')dnl
define(DEVICE,`djet500')dnl
define(PCL,`true')dnl
define(HANDLE_TEXT,`cat \eE\e&k2G\e(0N \eE')dnl
There's a glitch in the magicfilter(8) man page, too: where it reads:
/etc/printcap file will simply be the name of the configuration
file, which is set executable and starts with the line:
#! /var/tmp/portage/magicfilter-2.3d/image//usr/bin/magicfilter
it should read:
/etc/printcap file will simply be the name of the configuration
file, which is set executable and starts with the line:
#! /usr/bin/magicfilter
I guess I should file a bug report, right?
--
Alessandro Selli
Tel: 340.839.73.05
http://alessandro.route-add.net
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-07-29 17:37 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-26 21:10 [gentoo-user] Where is magicfilterconfig? Alessandro Selli
2005-07-27 14:16 ` A. Khattri
2005-07-28 18:58 ` Alessandro Selli
2005-07-28 22:31 ` A. Khattri
2005-07-29 17:31 ` Alessandro Selli
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox