Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printing to screen with Procomm

Status
Not open for further replies.

kxboy

Technical User
Nov 6, 2002
152
US
I posted a reply to another question with this info, but I thought I would be good to post, as the reply may not be read by others.

To have a report scroll back on your procomm screen, so it can be captured, or just viewed, rather then going to a printer. Just do this.

On the tool bar,select options,
Then select data options
Then select terminal options.
Check the box "Disable host printing"

On earlier version of procomm,the menu is a little different, just find the terminal options, and you will see the disable host printing check box.

Now when you press "p" to print a report on menu 14, it will just scroll on the screen. Don't forget to uncheck the box if you want to print something.

Here is a script to turn it on/off. Copy the text below to your procomm/aspect directory, then compile it. You can then assign one of the meta keys to this script, and easily get to it from the meta key bar. The status line will show the current print state.

;script to toggle host printing

proc main

fetch terminal hostprint i0

if i0 == 0

set terminal hostprint disable
statmsg "Printing Disabled"

elseif i0 == 1

set terminal hostprint enable
statmsg "Printing Enabled"

endif

endproc
 
and you can also just change the termnial emulation to tvi920 and do a screen capture in plain text
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top