I've been trying to make a Master-template that saves paper everytime I run a measurement.
I have 4 input-values, and depending on the answer there is a different "print set-up".
1) Production-measurement - running according to a time/pieceplan.
2) Set-up - used until CNC-machine is setup for producing "usable" parts.
3) Complains - Yes they happen :-)
4) Test - used when we have smaller programs that will be run once or other tasks.
My plan is:
If OoT=0 and [1], then NO PRINT TO PAPER - PRINT TO PDF - SEND TO SPC.
If OoT>0 and [1], then PRINT TO PAPER - NO PDF - NO SPC.
If [2], then PRINT TO PAPER - ASK FOR PDF - NO SPC.
If [3], then ASK IF PAPER - ASK IF PDF - NO SPC.
If [4], then ASK IF PAPER - ASK IF PDF - ASK IF SPC.
All in all, this gives me 3 combinations:
PRINTART=1 Print to paper and NO PDF.
PRINTART=10 NO paper-print, but PDF.
PRINTART=11 Print to paper, and to PDF.
It doesn't print at all!
I have to print it manually from the Report window, and that wasn't the intension.
you don't mention where/how PRINTART is set. Nor where the PRINT statement is in the part program.
I've only used MODE=END and placed the PRINT command at the end of the part program. Have you added a COMMENT command to see if the correct IF PRINTART value has been selected?
you don't mention where/how PRINTART is set. Nor where the PRINT statement is in the part program.
I've only used MODE=END and placed the PRINT command at the end of the part program. Have you added a COMMENT command to see if the correct IF PRINTART value has been selected?