-
Posts
56 -
Joined
-
Last visited
Reputation
200 ExcellentAbout EJWill

Personal Information
-
Occupation
IT Technician
-
Location
Dunstable
-
We run RemoteApps on Server 2012 and published Pulsar.exe directly, rather than using SIMSLoad.exe as @tmcd35 suggests. Nothing else needed to be changed, SOLUS 3 updates it without issue as well.
-
SIMS crashing on WIN7 when opening but working fine on XP
EJWill replied to ashdent93's topic in MIS Systems
You may have been caught up in the .NET 4.5.1 issues. If you've fully update the windows 7 PC this could be the case. http://www.edugeek.net/forums/mis-systems/129997-microsoft-net-4-5-1-update-borking-sims-net-anyone-else.html#post1110381 I posted this in another thread, with regards to removing 4.5.1 and reinstalling 4.5. This may not be the issue, but it's something you can try -
It's done automatically after they accept the print, we use advanced charging set on the printer tab, and set colour and mono to different values.
-
/* # Custom Papercut Script by William 'EJWill' Baldwin # Created for Manshead Upper School, Dunstable Rd, Caddington */ function printJobHook(inputs, actions) { /* ###################################################################### Defining Attributes and Variables ###################################################################### */ // Variables to easily disable rules if need too. // Set a variable to false if you need to disable it. // Some will be work in progress and not presently used. var DISCOURAGE_SIMPLEX_COLOUR_PRINTING = true; var DISCOURAGE_COLOUR_PRINTING = true; var DISCOURAGE_SIMPLEX_GREYSCALE_PRINTING = true; //Defined static variables. var MAX_COLOUR_PAGES = 0; //Defines maximum number of colour pages before being discouraged. //var MAX_PAGES = 30; //Defines maximum number of pages before being discouraged. //var MAX_COPIES = 2; //Defines maximum number of copies allowed before being discouraged. //Define variables for string use later. Such as showing a thank you message or recording //data in the print logs. var showThankYou = false; var showMessages = false; //var writeToLog = false; //If we're unable to get all the details of the job, then exit. if (!inputs.job.isAnalysisComplete) { return; } //Start of the pop up form. var strForm = "" + "" + "" + "Print Policy Alert http://%PC_SERVER%/images/icons/24x24/warning.png" + "" + "" + "Please help us save toner and paper!" + "" + "" + "Did you know that printing in colour and single paged (Simplex) costs much more than printing Black & White and double paged (Duplex). Help us reduce the environmental impact of printing." + "" + "Your job will produce " + inputs.utils.formatNumber(inputs.job.environmentGramsCO2, 0) + " grams of CO2? This is equivalent to leaving a 60W bulb on for " + inputs.utils.formatNumber(inputs.job.environmentBulbHours, 1) + " hours!" + "" + "What does that mean?" + "" + "Duplex - Printing on both sides of a page." + "Simplex - Printing on only one side of a page." + "" + "" + "Would you like to convert your job to a more environmentally friendly setting?" + "" + ""; /* ###################################################################### Capturing and Modifying Print Jobs ###################################################################### */ /* ------------------------------------------------------------------------------------------------------ If Job is more than the max colour pages before being discouraged and is not in duplex. ------------------------------------------------------------------------------------------------------ */ if (DISCOURAGE_SIMPLEX_COLOUR_PRINTING && inputs.job.totalColorPages > MAX_COLOUR_PAGES && !inputs.job.isDuplex){ var strFormActions = strForm + "" + "Actions" + "" + "" + "" + "Convert to Greyscale" + "I understand, but this needs to be in colour" + "" + "" + "" + "" + "Convert to Duplex" + "I understand, but this needs to be single paged" + "" + "" + "" + "" + "" + ""; response = actions.client.promptForForm(strFormActions, { 'dialogTitle': 'Print Information', 'dialogDesc': inputs.job.documentName, 'hideJobDetails': true, 'fastResponse': true } ); if (response["action"] == "convert" && response["action2"] == "convert"){ // Convert to Greyscale and Duplex actions.job.convertToGrayscale(); actions.job.convertToDuplex(); } else if (response["action"] == "dont-convert" && response["action2"] == "convert"){ // Convert to Duplex actions.job.convertToDuplex(); if (showMessages){ actions.client.sendMessage("Please consider using Greyscale for your next job."); } } else if (response["action"] == "convert" && response["action2"] == "dont-convert"){ // Convert to Greyscale actions.job.convertToGrayscale(); if (showMessages){ actions.client.sendMessage("Please consider using Duplex for your next job."); } } else if (response["action"] == "dont-convert" && response["action2"] == "dont-convert"){ // Do not Convert if (showMessages){ actions.client.sendMessage("Please consider using Greyscale and Duplex for your next job."); } } else if (response == "CANCEL" || response == "TIMEOUT") { // Timeout or Cancel actions.job.cancel(); return; } } /* ------------------------------------------------------------------------------------------------------ If job is duplex but also colour. ------------------------------------------------------------------------------------------------------ */ if (DISCOURAGE_COLOUR_PRINTING && inputs.job.totalColorPages > MAX_COLOUR_PAGES && inputs.job.isDuplex){ var strFormActions = strForm + "" + "Actions" + "" + "" + "" + "Convert to Greyscale" + "I understand, but this needs to be in colour" + "" + "" + "" + "" + "" + " "; response = actions.client.promptForForm(strFormActions, { 'dialogTitle': 'Print Information', 'dialogDesc': inputs.job.documentName, 'hideJobDetails': true, 'fastResponse': true } ); if (response["action"] == "convert") { // Convert to Duplex actions.job.convertToGrayscale(); } else if (response["action"] == "dont-convert"){ // Do not convert if (showMessages){ actions.client.sendMessage("Please consider using Greyscale for your next job."); } } else if (response == "CANCEL" || response == "TIMEOUT") { // Timeout or Cancel actions.job.cancel(); return; } } /* ------------------------------------------------------------------------------------------------------ If job is Greyscale but also simplex. ------------------------------------------------------------------------------------------------------ */ if (DISCOURAGE_SIMPLEX_GREYSCALE_PRINTING && inputs.job.totalGrayscalePages > 1 && !inputs.job.isDuplex){ var strFormActions = strForm + "" + "Actions" + "" + "" + "" + "Convert to Duplex" + "I understand, but this needs to be single paged" + "" + "" + "" + " " + "" + " "; response = actions.client.promptForForm(strFormActions, { 'dialogTitle': 'Print Information', 'dialogDesc': inputs.job.documentName, 'hideJobDetails': true, 'fastResponse': true } ); if (response["action"] == "convert") { // Convert to Duplex actions.job.convertToDuplex(); } else if (response["action"] == "dont-convert"){ // Do not convert if (showMessages){ actions.client.sendMessage("Please consider using Duplex for your next job."); } } else if (response == "CANCEL" || response == "TIMEOUT") { // Timeout or Cancel actions.job.cancel(); return; } } //If showThankYou is true, display message. if (showThankYou) { actions.client.sendMessage("Thank you for considering the environment!"); } } function matchesAny(str, matchStrs, actions) { if (str == null || matchStrs == null) { return false; } for (var i in matchStrs) { if (str.match(matchStrs[i])) { return true; } } }
-
I designed an all encompassing one for our school, which detects if it's a colour print job and if it's more than 1 page so it then asks to make the job mono and duplex. if you're interested?
-
You're welcome
-
Have you got 'Validate page counts after printing (hardware check)' set on the printer? We had issues with incorrect values being printed due to cancellations and errors until we started using hardware validation.
-
Any reason you're opening up the function twice? function printJobHook(inputs, actions) {
-
We had this problem here, and it turned out that the Audio drivers were corrupt on the computers that were erroring. We updated the drivers and all went swimmingly.
-
[sims] Microsoft .net 4.5.1 update borking SIMS.net- anyone else?
EJWill replied to divadiow's topic in MIS Systems
It gets even stranger when you know some computers running 4.5.1 still allow SIMS to run. The error logs indicate it a .NET Framework error too on those that fail. We have around 500 computers and we seem to have this error on 8 of them. Maybe a hardware combination, or something more obscene, like a Microsoft issue. Reinstalling SIMS does not seem to resolve the issue for the ones erroring. -
[sims] Microsoft .net 4.5.1 update borking SIMS.net- anyone else?
EJWill replied to divadiow's topic in MIS Systems
Yep, Apparently it's a known a problem when we rang Captia up. They're looking at solutions with no time frame. Right now the only way we've fixed it, is to run the .NET Framework clean up tool and remove 4.5.1 and then reinstalling 4.5. If you get your windows updates via WSUS or automatically, you will need to disable it trying to update itself again. We share your frustrations. Edit: Here is the link to the cleanup tool. .NET Framework Cleanup Tool User's Guide - Aaron Stebner's WebLog - Site Home - MSDN Blogs I hope this helps. -
This seems absolutely brilliant for a school learning environment. With an option for an in-house intranet server in the works, and the talk of Education licensing (Education License). We'll be seriously looking into this for our school.
-
Just tried giving 2 FQDN's and 2 direct IP's. Our ISA logs tell us that a connection is being initiated, but no response from any of the servers. Doesn't look like a DNS problem. We go through the E2BN filters if that makes a difference, does anyone else use E2BN and able to connect to an external NTP?
-
Just a quick update. It would appear that the settings were being modified correctly, and was attempting to sync with the chosen peer. We noticed this when going through our ISA logs. However, even though a connection is made and data is sent too the NTP (probably a request), we get no response back. We have tried Windows, BBC and Pool NTP's with the same results each time. We're not blocking any responses from these servers. They all just seem reluctant to service our request.
-
Good morrow to you two fine gentlemen, Unfortunatly yes, I had already restarted the VM's. I also tried permenantly disabling the Hyper-V Time Sync Service on the server to no avail. Also came across the guide you mentioned in my travels, and followed it closely, among many others that were all very similar. Still no go. Edit: It does appear that I have managed to at least get the peers to properly show up with w32tm /query /peers now, but the status still shows the time source and Local CMOS. At least one of the hurdles is out of the way. It ended up being group policy overiding the peers list. Just got to find out how to modify the source to NTP (or why it is ignoring the w32tm config).
