Jump to content
Private Messaging is activated - check "How to" on how to disable it ×

Saving Paper


---
 Share

Recommended Posts

---

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

---

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
Link to comment
Share on other sites

---

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

---

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

 Share

×
×
  • Create New...