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
Back to Blog

Related Articles

Accessing useful routine NPR.SEG.id.editor in MEDITECH CS Software

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

Print Screens/Reports/Macros/Procedure Logic for NPR Procedures in MEDITECH C/S

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

Activate Spy option in Meditech C/S

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