[Ju...] Posted March 11 Share Posted March 11 Is there a way to only print a report if there is a characteristic out of tolerance? I set the report to out of tolerance only but when everything is in tolerance it still prints off the header. The only time we need a printout is if something is out and I thought this would be easier than asking the operators to manually print a report whenever needed. Link to comment Share on other sites More sharing options...
[is...] Posted March 12 Share Posted March 12 (edited) Hi Justin! Try this, put in in the post settings. status=inspectionToleranceState() if len(status)==14 then defineProtocol("#type","presentationProtocol") defineProtocol("#medium","printer", "pdf") defineProtocol("#elements","allCF") defineProtocol("#order","likeList") else defineProtocol("#type","presentationProtocol") defineProtocol("#medium","pdf") defineProtocol("#elements","allCF") defineProtocol("#order","likeList") endif Edited March 12 Link to comment Share on other sites More sharing options...
[An...] Posted March 12 Share Posted March 12 I'd be interested in knowing if there's a non-PCM way to do it. Link to comment Share on other sites More sharing options...
[Ju...] Posted March 12 Author Share Posted March 12 Please sign in to view this quote. Thank you Isagani for the suggestion! I am not sure where to find post settings. Is this a PCM thing? Link to comment Share on other sites More sharing options...
[is...] Posted March 12 Share Posted March 12 It's PCM. Link to comment Share on other sites More sharing options...
[Jü...] Posted March 13 Share Posted March 13 Hello, is there also a way for the PiWeb protocol? Link to comment Share on other sites More sharing options...
[Ma...] Posted March 13 Share Posted March 13 I don't think this can be done in Calypso. If you really need to printout only characteristics out of tolerance, then i would try this approach: define protocol file path to include iO and NiO folder ( can be found in forum ) use BAT file to perform check of NiO folder send file to printer move file to common folder to keep this NiO folder empty ( to keep simple checks ) Although i don't know if is PDF created when there is no out of tolerance. And you have an option to place this to "My Voice" Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in