Re: a2ps config file

Jeff <[email protected]> Wed, 21 Mar 2007 22:35:21 +1100
Newsgroups gmane.comp.printing.a2ps.devel
Message-ID <[email protected]>
hi,

have you tried setting the HOME environment variable to the path to
your home directory and naming your a2psrc file .a2psrc?

a2ps should also check for a 'local copy' in the current working directory.

please let us know if you experience further problems

Jeff

On 3/21/07, C.G.Senthilkumar. <[email protected]> wrote:
>
> I was talking about a windows machine.
>
> The default medium that came with the exe I installed is libpaper.
> I want to change that through the .cfg file.
>
> However, I'm not able to get a2ps to read the configuration file.
>
> Thanks,
> Senthil.
>
> On Tue, 20 Mar 2007, Nelson H. F. Beebe wrote:
>
> > "C.G.Senthilkumar." <[email protected]> asks where the
> > a2ps configuration file should be located.
> >
> > I have
> >
> >       $HOME/.a2psrc
> >
> > You can run truss, trace, strace, or ktrace (depending on Unix flavor)
> > on a2ps to see what files it tries to open.
> >
> > I just did this on Sun Solaris SPARC:
> >
> >       % truss -o foo.truss -f a2ps foo.c > foo.ps
> >       % fgrep /.a2ps foo.truss
> >       ...
> >       7655:   open("./.a2psrc", O_RDONLY)