---
title: Print code for $T Macros in Meditech C/S
description: For debugging, this allows you to print and see the logic of  $T Macros in MEDITECH C/S
---

[![IPeopleHealthcare_White](https://blog.ipeople.com/hubfs/IPeopleHealthcare_White.png)](https://www.ipeople.com/)

- [Home](https://www.ipeople.com)
- Products 
    - [Professional Services](https://www.ipeople.com/products/meditech-services/)
    - [Downtime Product Suite](https://www.ipeople.com/products/suite)
- [Benefits](https://www.ipeople.com/benefits)
- [About](https://www.ipeople.com/about)
- [Contact](https://www.ipeople.com/contact)
- [IPeople Blog](https://blog.ipeople.com)

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](https://blog.ipeople.com/topic/report-writing), [NPR Report](https://blog.ipeople.com/topic/npr-report)

## You Might Also Enjoy

<https://blog.ipeople.com/activate-spy-option-in-meditech-c/s>

#### [Activate Spy option in Meditech C/S](https://blog.ipeople.com/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 ...

<https://blog.ipeople.com/how-to-send-emails-from-a-cds-for-meditech-cs-customers>

#### [How to Send Emails from a CDS for MEDITECH CS Customers](https://blog.ipeople.com/how-to-send-emails-from-a-cds-for-meditech-cs-customers)

You can send emails from a CDS in CS but you must have the Meditech Parameters set up to ...

<https://blog.ipeople.com/add-a-web-page-link-to-npr-reports-printed-to-web-browser-is-meditech-cs>

#### [Add a web page link to NPR Reports printed to web browser is MEDITECH CS](https://blog.ipeople.com/add-a-web-page-link-to-npr-reports-printed-to-web-browser-is-meditech-cs)

Some C/S sites are set up to allow Browser as an option for printing reports. These ...

<https://blog.ipeople.com/using-the-id-screen-field-attribute-for-meditech-c/s-npr-report-screen-lookups>

#### [Using the ID Screen Field Attribute for MEDITECH CS NPR Report Screen lookups](https://blog.ipeople.com/using-the-id-screen-field-attribute-for-meditech-c/s-npr-report-screen-lookups)

The Process Reports routine has an option for enter/editing Attributes to Screen Field ...

<https://blog.ipeople.com/accessing-useful-routine-npr.seg.id.editor-in-meditech-cs-software>

#### [Accessing useful routine NPR.SEG.id.editor in MEDITECH CS Software](https://blog.ipeople.com/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 ...

[![IPeopleHealthcare_FullColor](https://blog.ipeople.com/hubfs/IPeopleHealthcare_FullColor.png)](https://www.ipeople.com/)

#### CONTACT

- [+1-214-222-1125](tel:+1-214-222-1125)
- [support@ipeople.com](mailto:support@ipeople.com)
- [sales@ipeople.com](mailto:sales@ipeople.com)

#### [JOIN OUR TEAM](https://ipeople.bamboohr.com/jobs/)

#### FOLLOW

- [![Facebook](https://blog.ipeople.com/hubfs/Facebook.svg)](https://www.facebook.com/IPeoplehealthcareTX)
- [![Instagram](https://blog.ipeople.com/hubfs/Instagram.svg)](https://www.instagram.com/interfacepeople/)
- [![Linkedin](https://blog.ipeople.com/hubfs/Linkedin.svg)](https://www.linkedin.com/company/ipeople-healthcare)
- [![Twitter](https://blog.ipeople.com/hubfs/Twitter.svg)](https://twitter.com/InterfacePeople)
- [![email_icon](https://blog.ipeople.com/hubfs/email_icon.svg)](mailto:support@ipeople.com)

 

![](https://blog.ipeople.com/hubfs/IPeople_2022_Aug/Images/Home/arrow-up.png)