03.03.2013 Views

DIGITAL RESEARCH(r) CP/M Plus TM (CP/M Version 3) Operating ...

DIGITAL RESEARCH(r) CP/M Plus TM (CP/M Version 3) Operating ...

DIGITAL RESEARCH(r) CP/M Plus TM (CP/M Version 3) Operating ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

The PUT Command <strong>CP</strong>/M 3 User's Guide<br />

Put Printer Output to a File<br />

Syntax: PUT PRINTER {OUTPUT TO} FILE filespec {[o]}<br />

Explanation: The preceding form of the PUT command directs printer output to a<br />

file.<br />

The options are the same as in the PUT CONSOLE command, except<br />

that option NO ECHO is the default for the PUT PRINTER command.<br />

Note that if ECHO is specified, printer output is echoed to the printer.<br />

Examples: A> PUT PRINTER OUTPUT TO FILE XOUT<br />

A>MYPROG<br />

The preceding example directs the printer output of program MYPROG<br />

to file XOUT. The output is not echoed to the printer.<br />

A> PUT PRINTER OUTPUT TO FILE XOUT2 [ECHO ,SYSTEM]<br />

The preceding command directs all printer output to file XOUT2 and<br />

to the printer, and the PUT is in effect until you enter a PUT PRINTER<br />

OUTPUT TO PRINTER command.<br />

The printer output can be directed to one or more files. The output to<br />

these files is terminated when you revert printer output to the printer<br />

using the following command:<br />

PUT PRINTER OUTPUT TO PRINTER<br />

Terminate Console Output to a File<br />

Syntax: PUT CONSOLE FOUTPUT TOI CONSOLE<br />

Explanation: The preceding form of the PUT command directs console output to the<br />

console.<br />

Example: A > PUT CONSOL E OUTPUT TO CONSOLE<br />

The preceding command directs console output to the console.<br />

5-79

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!