Is there a way to print the various data list displays available in Solve and NetMaster products without having to cut and paste?

Document ID : KB000021366
Last Modified Date : 14/02/2018
Show Technical Document Details

Question:

Is there a way to print the various data list displays available in Solve and NetMaster products without having to cut and paste?

Answer:

Most data list displays available in Solve and NetMaster products can be printed directly without having to cut and paste while paging through the list by using command ?PRINT entered while the list is displayed.

As an example, let's say you're viewing a rather lengthy Connection List generated from the NetMaster TCPIP /CONNC panel as shown below, and a printout of the list was requested by support:

NETM1---------------------- TCP/IP : Connections ----------------Stack: TCPIP
 
Command ===>                                                   Scroll ===> CSR
    Line 1 of 123                                Refresh Every ...  ___   Seconds
            S=View I=Information CS=Statistics PT=Packet Trace Z=Drop ?=Actions
    Foreign              Local
    Host           Port  Host          LPort TaskName Status    Idle
 __ 192.168.100.1  6715  192.168.100.3 16088 FRED     CLOSEWAIT 5:08:32
 __ 192.168.100.2  6715  192.168.100.4 25102 JOE      CLOSEWAIT 3:48:32
 __ 192.168.1.1    14822 192.168.1.8   31696 SALLY    CLOSEWAIT 0:00:23
                                       .
                                       .
                                       .

 

Rather than cut, paste, page down, cut, paste, page down and so on, you can simply enter ?PRINT on the command line! The Printer Confirmation panel will be displayed:

NETM1---------------------- PSM : Confirm Printer -----------------------------
Command ===> 
 
Printer Name ..+ $PSEMAIL  
Copies ......... 1   (Range 1 to 255)
Hold? .......... NO  (YES or NO)
Keep? .......... NO  (YES or NO)

 

From here you can select a printer and print the entire list similar to what you were already able to do with Log Entries or data from Command Entry. Not only does the ?PRINT command print what's visible on the screen, but also prints the data to the right of the visible display for lists that are left/right scrollable.

WHERE IT WORKS:

The ?PRINT command works for most data lists that can be generated in Solve and NetMaster, such as Monitor lists (alerts, resources, file transfers, etc...), IP and TELNET connection lists and so on...

WHERE IT DOESN'T WORK:

The ?PRINT command is not a screen print function, and as such does not work for printing menu panels, etc... Also, it does not work for NTS lists as this is a legacy function and the session, application and VR lists generated from within NTS do not follow the same code path that allows for the ?PRINT command. If you attempt the ?PRINT command on a panel that does not support it, you may see an error message or the command may do nothing at all. However, if you see the Printer Confirmation screen that was shown above, then the command works for the displayed list.