[K12OSN] Script help

Mike Lichtenwalner mll at mtwp.k12.pa.us
Tue Dec 14 17:01:10 UTC 2004

Hi All,

My teachers have found that the URL does not appear on the top of a 
printed Firefox page. The problem is that the Firefox preferences are 
set to start printing .04 inches form the edge of the page, but the 
printers can't handle that.

Instead of requiring each user to manually change their settings, I 
found that if I drop a "user.js" file containing the new 
default_print_edge settings into each user's home directory, the change 
will be made on the next launch of Firefox. Cool!

Could someone provide me with some guidance on writing a script to do 
distriute the user.js file? The script should probably just copy the 
file to the correct location in each user's directory and then change 
the permissions so that the user owns it. The location for user.js is:
(Note that the "XYZ" is a randomly generated 3 alphanumeric string for 
each user.)

Mike Lichtenwalner
Technology Specialist
Manheim Township School District
Lancaster, PA

More information about the K12OSN mailing list