Programmer's WorkBench (pwb.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Print Function
                                             Up Contents Index Back
─────Programmer's WorkBench─────────────────────────────────────────────────
 
     The Print function prints files or selections. If the Printcmd
     switch is set, PWB uses the command line given in the switch.
     Otherwise, PWB copies the file or selection to PRN. Under
     multithreaded environments, PWB runs the print command in the
     background.
     See: Printcmd
 
     Print («print»)
          Prints the current file.
 
     Arg <textarg> Print («arg» <textarg> «print»)
          Prints all the files listed in <textarg>. Use a space to
          separate each name from the preceding name. You can use
          environment variables to specify paths for the files.
          See: Environment-Variable Specifiers
 
     Arg <boxarg> │ <linearg> │ <streamarg> Print
     («arg» <boxarg> │ <linearg> │ <streamarg> «print»)
          Prints the selected text.
 
     Arg Meta Print («arg» «meta» «print»)
          Cancels the current background print.
 
     Returns
 
     True:  Print successfully submitted.
     False: Could not start print job.
 
     Update
 
     In PWB 1.x there is no way to cancel a background print.
 
     See
 
     File menu, Print
     File menu, Cancel Print
                                    -♦-