Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request From: chuck@wooglin.scc.com (Charles Williams) Newsgroups: comp.sys.sun Subject: quotas on print spools? Message-ID: <8901241959.AA11127@wooglin.scc.com> Date: 3 Feb 89 02:17:47 GMT Sender: usenet@rice.edu Organization: Sun-Spots Lines: 16 Approved: Sun-Spots@rice.edu Original-Date: Tue, 24 Jan 89 14:59:40 EST X-Sun-Spots-Digest: Volume 7, Issue 135, message 4 of 15 Is there anyway to implement a quota mechanism on print spoolers that would limit the size of otems that could be sent to the printer?? I have an Apple LaserWriter connected to a SUN 3/260 that serves as a network wide print spooler. I want to prevent people from printing large (20+ pages) documents during peak hours. Any suggestions?? Chuck [[ Well, there is a printcap capability called "mx" which sets the maximum allowable file size (in file system blocks) for queued files. You can set that on a per-queue basis. But if you want to change it for off-peak hours, that's a little different. I guess you could actually change the value in printcap twice a day: lpr is the one that decides to reject entries that are too large; lpd doesn't reread printcap when it changes, but that shouldn't matter in this case. --wnl ]]