I assume this is a setting issue but no luck searching for one that is not correct. We do have another program with the same code that does work correctly so it has me stumped.
Code below - PC-Dmis CAD++ 2017 R2 release - Tp20 - Global EVO
C4 =COMMENT/YESNO,NO,FULL SCREEN=NO,AUTO-CONTINUE=NO,
Print report?
IF/C4.INPUT=="NO"
GOTO/END
END_IF/
PRINT/REPORT,EXEC MODE=END,$
TO_FILE=ON,APPEND=Z:\Master Part File\641000030\641000XXX\Lot-.PDF,AUTO OPEN REPORT=OFF,$
TO_PRINTER=ON,COPIES=1,$
TO_DMIS_REPORT=OFF,FILE_OPTION=INDEX,FILENAME=,$
REPORT_THEORETICALS=NONE,REPORT_FEATURE_WITH_DIMEN SIONS=NO,$
TO_EXCEL_OUTPUT=OFF,
PREVIOUS_RUNS=DELETE_INSTANCES
END =LABEL/
We have been running this program in Operator mode and it has been working fine until recently. Now it will only run and execute the code here (at the very end of the program) in Administrative mode. When run in Operator mode, the box comes up for location of PDF (starts in directory program is in). Why is it skipping my actual code in the program and going to global print settings?
Code below - PC-Dmis CAD++ 2017 R2 release - Tp20 - Global EVO
C4 =COMMENT/YESNO,NO,FULL SCREEN=NO,AUTO-CONTINUE=NO,
Print report?
IF/C4.INPUT=="NO"
GOTO/END
END_IF/
PRINT/REPORT,EXEC MODE=END,$
TO_FILE=ON,APPEND=Z:\Master Part File\641000030\641000XXX\Lot-.PDF,AUTO OPEN REPORT=OFF,$
TO_PRINTER=ON,COPIES=1,$
TO_DMIS_REPORT=OFF,FILE_OPTION=INDEX,FILENAME=,$
REPORT_THEORETICALS=NONE,REPORT_FEATURE_WITH_DIMEN SIONS=NO,$
TO_EXCEL_OUTPUT=OFF,
PREVIOUS_RUNS=DELETE_INSTANCES
END =LABEL/
We have been running this program in Operator mode and it has been working fine until recently. Now it will only run and execute the code here (at the very end of the program) in Administrative mode. When run in Operator mode, the box comes up for location of PDF (starts in directory program is in). Why is it skipping my actual code in the program and going to global print settings?
Comment