+ Post New Thread
Results 1 to 6 of 6
Educational Software Thread, quickest way to turn Papercut off temporarily in Technical; Quick question: OFSTED are coming in and I want to suspend Papercut print quota-ing while they're here to make lessons ...
  1. #1
    BatchFile's Avatar
    Join Date
    Aug 2007
    Location
    Cumbria
    Posts
    948
    Thank Post
    544
    Thanked 128 Times in 106 Posts
    Rep Power
    60

    quickest way to turn Papercut off temporarily

    Quick question:

    OFSTED are coming in and I want to suspend Papercut print quota-ing while they're here to make lessons go as smoothly as possible.
    What's the quickest way to do that (easily reversibly)? stop the service? would that work?

  2. #2

    Join Date
    Jul 2006
    Location
    London
    Posts
    2,962
    Thank Post
    159
    Thanked 152 Times in 116 Posts
    Rep Power
    49
    should be able to stop the service no problem - we recently discovered that the service had been stopped (accidentaly) and we had no records of any printing for the last few months - there were no problems with any printing in this period so you should be fine

  3. Thanks to sidewinder from:

    BatchFile (14th April 2010)

  4. #3
    BatchFile's Avatar
    Join Date
    Aug 2007
    Location
    Cumbria
    Posts
    948
    Thank Post
    544
    Thanked 128 Times in 106 Posts
    Rep Power
    60
    I've actually decided to leave PC running, but have set the printer prices to 0.00 - that way we can keep monitoring printing but nobody gets blocked

  5. #4

    Join Date
    Jan 2009
    Location
    Melbourne
    Posts
    26
    Thank Post
    3
    Thanked 10 Times in 5 Posts
    Rep Power
    13
    Quote Originally Posted by TonyRidal View Post
    I've actually decided to leave PC running, but have set the printer prices to 0.00 - that way we can keep monitoring printing but nobody gets blocked
    That's a smart move - just to remember to set the costs to a real amount when you need to go live with your print quotas again :-)

    If the date periods are known in advance then another option is to use PaperCut's Advanced Print Scripting. You could for example write a print script that sets the cost to zero for given conditions. For example, during a given a date range, the user's group, the printer selected, or a combination of factors. Scripts are written in JavaScript which makes it pretty easy. For example, here is a script I wrote to allow free printing during science lab class time. You could use this as a starting point.


    Code:
    /*
     * Free printing during class time
     *
     * Members of the Students group get free printing to science lab printers 
     * during lab time (2:00pm to 5:00pm Mondays).
     */
    function printJobHook(inputs, actions) {
    
        var MONDAY      = 1;  // 0 = Sunday, 1 = Monday
    
        var day         = inputs.job.date.getDay(); 
        var hour        = inputs.job.date.getHours();
    
        if (day == MONDAY
                && (hour >= 14 && hour < 17)
                && inputs.user.isInGroup("Students")) {
    
            /*
             * Confirm that the printing is class related. Make it look nice
             * with HTML formatting.
             */
            var response = actions.client.promptYesNo(
                    "<html>Free printing is available for lab work <b>only</b>.<br><br>"
                    + "Is this printing course/lab related?"
                    + "</html>");
    
            // If the user did not respond, cancel the job and exit the script.
            if (response == "TIMEOUT") {
                actions.log.debug("User did not response to lab work question."); 
                actions.job.cancel();
                return;
            }
        
            if (response == "YES") {
                
                // Set the job cost to zero
                actions.job.setCost(0.0);
                
                // Record the reason for free printing in the job comment.
                actions.job.addComment("Free science lab class printing.");
            }
    
    
            /*
             * For tracking only, we'll also record the name of any user that 
             * is using the printers for non-course work.
             */
            if (response == "NO") {
    
                actions.log.info("User '" + inputs.job.username + "' used the"
                        + " science lab printer for non-lab work.");
            }
    
        }
    }
    There are also a number of other Script Recipes that work in a similar way. It's always best to start with one of these, however if you're a hard core coder, feel free to start out from scratch with the API reference!

    Hope this helps.

    PS: I think print scripting is the coolest feature in PaperCut, but then again I'd say that as I was one of the developers who worked on the feature


    Cheers,

    Chris
    Developer@PaperCut

  6. #5

    tmcd35's Avatar
    Join Date
    Jul 2005
    Location
    Norfolk
    Posts
    5,620
    Thank Post
    845
    Thanked 883 Times in 731 Posts
    Blog Entries
    9
    Rep Power
    326
    Quote Originally Posted by TonyRidal View Post
    I've actually decided to leave PC running, but have set the printer prices to 0.00 - that way we can keep monitoring printing but nobody gets blocked
    Probably a bit late now, but this is how I do it -

    in Papercut - select all users and bulk modify. Under 'Restrictions' set to 'Not Restrictred' and save.

    Job done. In the same way set 'Restrictions' back to 'Restricted' when you want to apply quota's again.

  7. #6

    Join Date
    Jan 2009
    Location
    England
    Posts
    1,481
    Thank Post
    297
    Thanked 304 Times in 263 Posts
    Rep Power
    82
    Quote Originally Posted by papercut View Post

    PS: I think print scripting is the coolest feature in PaperCut, but then again I'd say that as I was one of the developers who worked on the feature


    Cheers,

    Chris
    Developer@PaperCut
    That's because print scripting is a pretty cool feature . I've only dipped my toe into using print scripts but they are a great tool

SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 7
    Last Post: 29th January 2010, 05:59 PM
  2. FMS Issue (Fix works but only temporarily).
    By Heebeejeebee in forum MIS Systems
    Replies: 11
    Last Post: 19th May 2009, 03:04 PM
  3. Replies: 9
    Last Post: 17th July 2008, 04:04 PM
  4. FIXED: Server down temporarily
    By contink in forum EduGeek Joomla 1.0 Package
    Replies: 0
    Last Post: 9th March 2008, 04:05 PM
  5. Quickest way format C: drive
    By tosca925 in forum Windows
    Replies: 10
    Last Post: 13th October 2005, 10:43 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •