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.
Printcmd Switch
                                             Up Contents Index Back
─────Programmer's WorkBench─────────────────────────────────────────────────
 
     Printcmd (Text)
 
     The Printcmd switch specifies a program or operating system command
     that PWB starts when you choose Print from the File menu or execute
     the Print function («print»).
 
     Syntax
 
     Printcmd: command_line
 
     <command_line>    An operating-system command line.
 
     To pass the filename of the current file, specify '%s' in the
     command line. Specify '%%' to pass a literal percent sign.
     You can extract parts of the full filename using a special PWB
     syntax.
     See: Filename-Parts Syntax
 
     Default
 
     Printcmd:COPY %s PRN
 
     See
 
     Print
     File menu, Cancel Print
                                    -♦-