[K12OSN] print based on location

Christopher K. Johnson ckjohnson at gwi.net
Sat Aug 28 12:19:45 UTC 2004


Tim Scholten wrote:

> hi
> I am trying to make it so that when a user prints, it will print to 
> the printer in the same room. I looked in the archives an found this 
> thread 
> http://www.redhat.com/archives/k12osn/2003-October/msg00139.html , 
> exactly what i am trying to accomplish here.
>
> I tried using his script in /etc/profile.d/ with the changes for this 
> location, but the default printer is still the original default.
>
The problem is that the PRINTER environment variable is no longer used 
to manage override of the default printer.
The gnome-print-manager and your account's .printers file are involved.  
But I'll have to do some digging to see how the setting can be changed 
and made effective programatically.

Chris

-- 
-----------------------------------------------------------
   "Spend less!  Do more!  Go Open Source..." -- Dirigo.net
   Chris Johnson, RHCE #807000448202021





More information about the K12OSN mailing list