Lugaru's Epsilon
Programmer's
Editor

Context:
Epsilon User's Manual and Reference
   . . .
   Commands by Topic
      Getting Help
      Moving Around
      Changing Text
      . . .
      Miscellaneous
   Command Reference
      . . .
      print-buffer
      print-buffer-no-prompt
      print-region
      print-setup
      process-backward-kill-word
      . . .
   Variable Reference
      abort-file-matching
      abort-key
      abort-searching
      . . .
      yank-rectangle-to-corner
   . . .

Previous   Up    Next
print-buffer-no-prompt  Command Reference   print-setup


Epsilon User's Manual and Reference > Command Reference >

print-region

Print the current region.  Shift-F9

Under Windows, this command displays the standard Windows printing dialog. You can choose to print the current selection, the entire buffer, or just certain pages.

Under other environments, this command always prints the current region. It prompts for the device name of your printer, storing your response in the variable print-destination (or, under Unix, print-destination-unix), and then writes a copy of the region to that device. For DOS or OS/2, the printer device name is typically something like LPT1 or COM2.

If the printer name begins with the ! character, Epsilon interprets the remainder of the name as a command line to execute in order to print a file. Epsilon substitutes the file to be printed for any %f sequence in the command line. For example, if your system requires you to type "netprint filename" to print a file, enter !netprint %f as the device name and Epsilon will run that command, passing it the file name of the temporary file it generates holding the text to print. The device name can include any of the file name template sequences, such as %p for the path to the file to print.

If the variable print-tabs is zero, Epsilon will make a copy of the text to print and convert any tabs into spaces before sending it to the printer.

More info:

Printing



Previous   Up    Next
print-buffer-no-prompt  Command Reference   print-setup


Lugaru Copyright (C) 1984, 2020 by Lugaru Software Ltd. All rights reserved.