Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

Printing from Putty?

apv746
Occasional Contributor

Printing from Putty?

I am using a telnet session from Windows workstation to connect to the OpenVMS host. I wrote something in the VI Editor and I just want to know how can I print that VI file using Putty?

6 REPLIES
apv746
Occasional Contributor

Re: Printing from Putty?

I am using a local printer and not a remote one.

When I want to print my text file in VI it shows this:

$ print andy.txt
%PRINT-F-CREJOB, error creating job
-JBC-E-NOSUCHQUE, no such queue

How can I solve this matter in order to print from VI (or any screen) using PUTTY and Im also using a local printer.
Hein van den Heuvel
Honored Contributor

Re: Printing from Putty?

'vi' is not a normal editor on OpenVMS, but I suppose you coudl have GNV or such installed.

Is the printer connected to the VMS system or to the PC?

Putty is just a window onto the VMS system.

So to print a file you edited i would...
$TYPE file
Highlight file contents in putty window with mouse drag
Create notepad or winword or such pc-local editor window
Past (^V) the highlighted text.
Tweak format as needed.
Ask for print from file menu in pc editor.

Good luck,
Hein.

apv746
Occasional Contributor

Re: Printing from Putty?

The printer is connected to my PC and not to the VMS host.

Karl Rohwedder
Honored Contributor

Re: Printing from Putty?

I addition to Hein's suggestion: Putty allows LOGGING. You may specify logfile name and location and what to log.
Just TYPE the file inside VMS.
But note, that all session output is logged.

regards kalle
Karl Rohwedder
Honored Contributor

Re: Printing from Putty?

In addition to my last post:
You may activate the ALT key (in windows behaviour) to start the system menu in your session. The you can change the chars and activate logging, TYPE your file and disabe logging.

regards Kalle
Brian Reiter
Valued Contributor

Re: Printing from Putty?

FTP the file (as ASCII) to the PC?

Use the cut and paste to notepad quite a lot though.