ppr-list-digest volume 4, number 36, message 5

Note: please don't spam any of the e-mail addresses which you see here. Follow this link if you want some addresses to misuse.


From: Francisco Franco <ffranco@aerocompsys.com>
Date: Mon, 22 Apr 2002 14:44:35 -0400 (EDT)
Subject: Re: PPR: missing ppr.conf?

Hi David,

Yes, I did mean /etc/ppr.  Running those portions of the scripts manually 
did create the media.db and ppr.conf.sample files.  I copied the .sample 
file to ppr.conf, then went to 
http://www.linuxprinting.com/show_printer.cgi=recnum=59648 to generated a 
ppd for the printer I am using and now it is all working fine.

Thanks for the help.  I assume that I ran into some sort of error when 
running the fixit script.  I will try to go back and run it again and see 
if I find out where I went wrong.

Regards,

Francisco

On Mon, 22 Apr 2002, David Chappell wrote:

> Francisco Franco wrote:
> 
> >Hi David,
> >
> >I did run fixup, but neither the media.db nor the ppr.conf were generated.  
> >I have run fixup as root first, then as ppr.  No errors are displayed when 
> >I run fixup.  I even went as far as doing a touch on /etc/ppr.conf and 
> >/etc/media.db, then running fixup again wihtout any success.
> >
> >Francisco
> >
> That should be /etc/ppr/ppr.conf and /etc/ppr/media.db.  Creating an 
> empty media.db will do no harm, but creating an empty /etc/ppr/ppr.conf 
> will since fixup won't overwrite an /etc/ppr/ppr.conf which you created.
> 
> The fixup script actually just runs a bunch of little scripts.  It might 
> be easier to see the problem if you run the problem scripts 
> individually.  The ones you want are:
> 
> /usr/lib/ppr/fixup/fixup_media
> /usr/lib/ppr/fixup/fixup_conf
> 
> The second one creates /etc/ppr/ppr.conf.sample.  The script:
> 
> /usr/lib/ppr/fixup/fixup_samples
> 
> copies sample config files to the real ones if the real ones don't exist 
> yet.
> 
> 

- -- 
Francisco Franco                        ffranco@aerocompsys.com
AeroComp Consulting Inc.                (416) 409-0163