Re: Printing Under Fourgen
Posted in 1995
Topics: General Discussion
icphost!Paul_Fabozzi@208.1.2.55 wrote: > > I just purchased the fourgen accounting system, and the manualy skip > where it tells how the printers are setup. I know that their is an > environment variable that points to a directory called printerlist, > but nothing else. > > Can someone please point me in the right direction, I am about to > start looking through the source code. > > Paul Fabozzi > merlyn@panix.com > Paul: You can find FOURGEN's basic PRINTERLIST file in: $fg/menueze/control (where $fg is usually /usr/fourgen) Their menu scripts will default to this file UNLESS you redefine a variable called "printerlist". You can set printerlist to any file name you wish and that file will be used. This is how you customize lists of printers for each (group of) user(s). At our site, each user has a file called "printerlist" in their home directory. The first entry in the "printerlist" file will always be the default printer, so build the file for each user and you will simplify their lives considerably, as well as controlling which prinbters they can use. In your startup script for "fourgen" programs (ie: fg.gl, fg.all), add these lines: if [ -f $HOME/printerlist ] then printerlist=$HOME/printerlist else printerlist=/usr/defaults/printerlist fi export printerlist