Printing And Formatting [ HP EDIT Reference Manual ] MPE/iX 5.0 Documentation
HP EDIT Reference Manual
Printing And Formatting
You can print the contents of your current editing session from within HP
EDIT. You can also format the text with the Text and Document Processor
(TDP) if TDP is available on your system.
Printing A File
[REV BEG]
HP EDIT provides the Print Text command to print your file. Using the
Print Text command, you can print selected lines of text, a selected
block of text, or an entire file.
You can also define a file equation like the following one that sends
your saved text to a printer rather than to a file:[REV END]
:FILE PRINTER;DEV=LP
This file equation would enable you to print the contents of your current
editing session. You would execute the Keep Text command and save your
text to the file named *PRINTER instead of the current file name.
Instead of defining a file equation for each HP EDIT session, you could
streamline the process by adding a file equation to the UDC discussed in
chapter 1.
Formatting A File
HP EDIT offers a built-in interface to the TDP text formatter if TDP is
available on your system. This formatter offers a wide variety of text
manipulation, font, and format commands. Refer to the TDP/3000 Reference
Manual for information about this formatter.
When you execute the Run TDP Formatter command, HP EDIT saves the
contents of your current editing session in a file called EDTEMP0. HP
EDIT prompts you to specify an output file. (The default is $STDLIST.)
The TDP Final command automatically executes using EDTEMP0 as input and
the file you specified as output. When formatting is complete, EDTEMP0
is automatically purged and HP EDIT resumes.
MPE/iX 5.0 Documentation