home *** CD-ROM | disk | FTP | other *** search
- /*
- * Copyright (c) 1990 Regents of the University of California.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms are permitted
- * provided that the above copyright notice and this paragraph are
- * duplicated in all such forms and that any documentation,
- * advertising materials, and other materials related to such
- * distribution and use acknowledge that the software was developed
- * by the University of California, Riverside.
- *
- * NOTE : That's Riverside. Not Berkeley, not Santa Cruz, not even
- * Irvine. Riverside. Ri - ver - side.
- *
- * The name of the University may not be used to endorse or promote
- * products derived from this software without specific prior written
- * permission.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
- * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
- * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
- *
- * MLPD -- Multiple Line Printer Daemon (Version 1.3)
- * SCCS keywords: @(#)README 1.3 12/1/90
- */
-
- NOTE: This program is in its first testing stages. If I send it out,
- and people like it, I'll post it to the USENET network. If
- not, I'll just put it on a resume. This is the first version,
- and I have already started working on a new version that has
- many more features, all that remain very simplistic to the
- user, which is my main objective.
-
-
- Now on with the real important stuff:
-
-
- This program (MLPD) is a little piece of code I wrote to use a single
- printer queue for a set of multiple printers. It's kind of wierd to
- set up, but once it is running, it should help out a lot.
-
- Here are the steps for a clean configuration, in proper order :
- ---------------------------------------------------------------
-
- 1. Edit Makefile to your particular system and needs. If you are running
- under a SunOS environment, you need to define -DSUN, and if you want
- to print out hari-kari debug messages, you need to specify -DDEBUG.
-
- 2. Compile the program, or get it operational. (Whichever comes first.)
-
- 3. Turn off the printing to the base printer that your employees, friends,
- or students print to, and turn off queueing on the other printers. For
- example, 'lp' is your base printer (Where most people type in 'lpr'),
- and your other printers are the real printers that will be doing the
- actual printing (like 'lp1', 'lp2', etc.)
-
- 4. Make sure all of the printers are properly set up in the /etc/printcap
- so that the printers can run smoothly. Make sure that your main
- printer ('lp' is your main printer, from #3.) doesn't do any printing
- and that your other printers area actually connected to the devices.
-
- 5. Try it out! The command to start off the program is :
-
- mlpd -p [<base printer> <printer1> <printer2> ...] [-t <timeout>]
-
- For example, a command line following #3 and #4 would be:
-
- mlpd -p lp lp1 lp2 -t 5
-
- In this example, the main queueing printer is lp, the other printers
- are lp1 and lp2, and the timeout to check for a print job is 5 seconds.
-
- 6. If it works, try to set it up in your rc.local to start up when you
- start up your system. Make sure, however, that you put the mlpd entry
- after starting up lpd. Otherwise, mlpd will not function.
-
- The program runs under a Sun OS environment. It has been tried out
- under 4.1 SunOS, and I had it tried out under a 4.3 BSD environment,
- thanks to the help of nash@ucselx.sdsu.edu (Thanks, Ron!) I hope that
- it works for you. Please send me all bug reports, special things that
- would make your life easier, etc., so on, so forth. If you do have any
- questions at all, please mail me to let me know about what you need.
- I'll be out with a manual page soon enough. (Gotta learn a bit about
- nroff...Too much TeX and LaTeX.)
-
- --Matt
-
- ____________________________________________________________________________
- Matt D. Robinson Internet: yakker@ucrmath.ucr.edu
- Systems Programming Group, UC Riverside UUCP: ..!ucsd!ucrmath!yakker
-