Re: LPRng spooling and small HDDs
On %M 0, Jose L Gomez Dans wrote
> I finally got my SMB printer server to work. Sorry for all the
> e-mails trying to figure out what was wrong. In true fact, the spooling
> stopped because the system ran out of disk space. Apparently, the server
> gets the file without problems, but when it sends it to the printer, it
> tries to make a copy of it somewhere (/tmp), and well, you know, Laser Jet
> files are fairly *bulky* :) I was wondering if there's a way of printing
> directly, or at least someway of not having the file around twice, when it's
> already formatted (most of these files come straight from a Windows driver,
> so they're to be dropped directly to the printer).
> Any clues?
Depending on exactly how you're printing lpr's '-k' option may help you,
but the right thing to do is either to increase the space available for
spooling jobs (disc space is cheap) or limit the size of jobs that
people can print; after all, if making a temporary copy can exhaust your
disk space then so can printing it twice, or printing something twice as
You may also consider using magicfilter to make your printer impersonate a
PS or PCL printer, and have your clients print to that; if they're printing
mainly text it would certainly reduce the size of your spool files. I
haven't tried this myself, but it should work.
"Oh - I - you know - my job is to fear everything." - Bill Gates in Denmark