January 24, 2022

Print code for $T Macros in Meditech C/S

Steps:

  1.   Select the Report DPM NPR.DOLT
  2.   Enter a report name (any name you like)
  3.   Page 1 will need a Report Title: "_%(NPR)DOLT..zcus.report.M..s(0)_"
    You will need to replace "report" with the name of your report.
  4.   Set Active field set to Y and set Page Banner to NONE
  5.   Add the following Footnotes:

        AL START start
        SFF NO
        EFF NO
        PFF NO
  6.  File and translate your report
  7.  Add a macro called start with the following code:

        ""^/Z.PRT.SUPPRESS.PRINTING^/R.FRAGMENT,
      %NPR.DOLT.print.macros.S("%(NPR)DOLT..print.macros")
  8.  File and translate your start macro
  9.  Add a macro called s with the following code:

         IF{'/GO 1^/GO,
                    1^/Z.PRT.SUPPRESS.PRINTING},
         "PRINT $T MACROS";
  10. File and translate your macro and then retranslate your report again

Topics: Report Writing, NPR Report

You Might Also Enjoy

Select the Report DPM NPR.PROC Enter a report name (any name you like) Page 1 will need a ...

Meditech's C/S software has a nice function for "spying" on your own "job". If you are ...

NPR.SEG.id.editor is a very useful routine in MEDITECH's C/S software that provides handy ...

Select the Report DPM NPR.DOLT Enter a report name (any name you like) Page 1 will just ...

The Footnote FD (Field Delimiter) requires you to enter the ASCII code for a keystroke. ...