Pause Print Job if over X KB

I have an issue where I need to, in real-time, detect print jobs over a certain size.  The reason is that we have a virtual printer that passes a document to a processing program that takes the document and emails/faxes it to customers.  Occasionally a user messes up, uses the wrong parameters to generate the report document that goes to this virtual printer.  Needless to say, it confuses the customer when they receive an invoice that is almost 3 years old.

However, I know I can proactively stop this, or atleast the worst offenses, if I can find a way to detect jobs over about 256KB, pause those jobs, and then alert me of the paused job.  As most jobs are under 100KB, I figure 256KB is a safe limit.  However, I need it to be  flexible in case this is actually too low.

I don't care if I have to do a custom script to do this or buy software.  I just want it to that when a job is accepted into queue, it will auto-pause if over the size restriction.  The job is relayed from a CUPS server, and I have already written a script that an do this, but since it relies on polling the server, there is still a reasonable chance the "too large" job gets thru between pollings.

Any guidance is much appreciated.
LVL 25
Cyclops3590Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Alan Huseyin KayahanCommented:
   Hi m8
       Please have a look at following freewares
      http://www.sharewareconnection.com/hslab-print-logger-4-se.htm 
      http://www.sharewareconnection.com/print-manager-plus.htm

Regards
       
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Cyclops3590Author Commented:
Looks promising.  Will give those a look and revert back later today.  Thanks
0
Cyclops3590Author Commented:
Print Manager Plus is exactly what I am looking for, plus with a bunch of other pretty cool features.

Wonder how that didn't pop up in the google searches I did before. :)  Oh well.  Thanks much.
0
Alan Huseyin KayahanCommented:
You are welcome m8 :)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2003

From novice to tech pro — start learning today.