HP 3000 Manuals

Print Text [ HP EDIT Reference Manual ] MPE/iX 5.0 Documentation


HP EDIT Reference Manual

Print Text 
[REV BEG]

Purpose 

Prints a file or a specified number of lines in a file. 

Default Syntax 

[n] ESC P

where n is a count that represents the number of lines to print from the
current cursor location.

Description 

This command sends the file or a block of text to the printer.  There are
three ways to use the Print Text command.

   *   Prints the count lines beginning with the current line the cursor
       is on, if a count is specified.

   *   Prints the current block, if a block is specified.

   *   Prints the entire file, if no lines or block is specified.

When you execute the Print Text command the Print Text screen appears.
When you press Return the text is sent to the output device using the
current print options.  To return to the text without printing, press
CTRL Y.

Procedure 

To print text: 

   1.  To print a specified number of lines or a block, indicate the
       number of lines or block.  To print the entire file, skip step one
       and go to step two.

   2.  Press ESC P. The Print Text command menu appears on your screen.

   3.  Indicate a letter of a print option to change or press Return to
       print as is.

          a.  The Lines per page option determines how long each page
              will be.  The minimum value is 1 if headers are disabled;
              the minimum value is 3 if headers are enabled.  The maximum
              value is 10,000 lines.  The header and the blank line after
              it count as two lines of the page.  The default number of
              lines per page is 60.

          b.  The Output device option specifies whether to send the
              output to a disk file or to a printer.  If the output
              device is a printer, the file specifier must start with an
              asterisk.  When you press o, the editor erases the current
              output device specifier and prompts you for a new value.
              The default is *LP.

          c.  The Print line numbers option determines whether line
              numbers are printed in front of each line of text.  When
              you press n, this option toggles between yes and no.  If
              yes, standard-numbered lines are printed using the first 10
              columns for the formatted line number (COBOL-numbered lines
              are printed with 8-column formatted numbers), and
              unnumbered lines are printed with their record numbers
              right-justified to column 6, with columns 7 and 8 left
              blank.  Otherwise the non-numeric portion of each line is
              printed starting in column 1.  The default value is yes.

          d.  The Print header lines option determines whether or not
              one-line headers are printed at the top of each page.  When
              you press h, this option toggles between yes and no.  If
              yes, the editor prints a header similar to the following
              example:

                   PAGE    12     MON, MAY 22, 1989,  8:17 AM   FILE:  MYFILE.MYGROUP.ACCOUNT

              A blank line follows after the header and printing resumes.

              You can save these options across editing sessions by using
              the Save Config File command.

   4.  To return to the text without printing, press either CTRL Y or the
       F8, Escape.

Related Commands 

       None
[REV END]



MPE/iX 5.0 Documentation