# Natural Studio 6.1.1: How to print a map layout

**URL:** <https://techcommunity.softwareag.com/t/natural-studio-6-1-1-how-to-print-a-map-layout/60118>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, Natural-on-Linux, Natural-on-Windows-Unix\
**Created:** [August 18, 2005, 3:55pm UTC](https://techcommunity.softwareag.com/t/natural-studio-6-1-1-how-to-print-a-map-layout/60118 "2005-08-18T15:55:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Willie](https://avatars.discourse-cdn.com/v4/letter/w/838e76/32.png) [@Willie](https://techcommunity.softwareag.com/u/Willie)\
**Post date:** [August 18, 2005, 3:55pm UTC](https://techcommunity.softwareag.com/t/natural-studio-6-1-1-how-to-print-a-map-layout/60118/1 "2005-08-18T15:55:34Z")

</div>

I hesitate to ask this simple question, but I am not having luck with the documentation.

How can I print the layout of a map in Natural Studio? The default print function gives me the source code.

Regards  
Willie Wormald

---

<div class="post-metadata">

**Author:** ![Jon\_Russell](https://avatars.discourse-cdn.com/v4/letter/j/919ad9/32.png) [@Jon\_Russell](https://techcommunity.softwareag.com/u/Jon_Russell)\
**Post date:** [August 19, 2005, 6:16pm UTC](https://techcommunity.softwareag.com/t/natural-studio-6-1-1-how-to-print-a-map-layout/60118/2 "2005-08-19T18:16:44Z")

</div>

There is no specific function to do this. Printing maps in Natural on any platform always prints the source.

However there is an easy trick to do it.

1. Edit the map
2. Test the map (Object…Test) to display the layout.
3. type %H - to hardcopy. This produces a window with printer destinations (such as LPT1).  
In the configuration utility (device/report assignments) you can set LPT1 to either a real printer or a file.

Trust this helps  
Regards  
Jon

---

<div class="post-metadata">

**Author:** ![Ralph\_Zbrog](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/ralph_zbrog/32/78_2.png) [@Ralph\_Zbrog](https://techcommunity.softwareag.com/u/Ralph_Zbrog)\
**Post date:** [August 27, 2005, 12:39am UTC](https://techcommunity.softwareag.com/t/natural-studio-6-1-1-how-to-print-a-map-layout/60118/3 "2005-08-27T00:39:11Z")

</div>

On the mainframe this is simple: LIST mapname FORMATTED

On OpenSystems, it’s a little trickier - often it takes me several attempts to get it right.

1. Catalog the map and a program to drive it.
2. Close the map and program editors.
3. CLEAR the editor work area. (Object → Clear or Ctrl-D → Clear)
4. Invoke the program editor. (Object → New → Program)
5. Execute your driver program.
6. When the map displays, press %C. (terminal command)
7. Enter the Edit command. (Ctrl-D → E)
8. A new editor session opens, containing the disply image.
9. Turn off line numbering.

You can now use standard Windows commands, such as ctrl-c and ctrl-v, to cut/copy and paste the image to Notepad, Word, or wherever you like.

Just remember that you need to execute the map. You can’t simply list or “test” it, as on the mainframe.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 2:40pm UTC](https://techcommunity.softwareag.com/t/natural-studio-6-1-1-how-to-print-a-map-layout/60118/4 "2021-04-02T14:40:15Z")

</div>


