Printing Your Maple Session

To print your Maple session, you must first click on the word File in the upper left-hand corner of your Maple window. This brings up a menu. Click on Print.... A new Page Setup Dialog window will appear with an Output to File: field above a Printer Command: field, which contains the default print commandlpr. Left-click on the small diamond-shaped button located to the left of Printer Command:, then left-click on the Print button at the bottom of the Printer Setup window. Your Maple session will print on the nearest PostScript printer.

You can specify a particular printer by appending

        -Pprintername

to the default lpr command mentioned above. For example, enter a command similar to the following in the Printer Command: field:

        lpr -Pprintername

where printername is the name of a particular printer.

Saving Your Maple Session for Printing

It is possible to save your Maple session as a PostScript file, which you may then print or include in other documents. Please note, however, that you cannot use this file to continue your Maple session.

To save your Maple session as a PostScript file:

  1. Left-click on the diamond-shaped button located to the left of the Output to File: field in the Page Setup Dialog window. This field contains the default filename of session.ps.
  2. If you wish, you may backspace over the existing filename and type in a new one (or a new pathname, including the directory); otherwise, just keep the default filename.
  3. Left-click on the OK button in the lower left corner of the window. Doing this will save the session as a PostScript file under the specified filename in your home directory, or in the directory you specified.

You may print this PostScript file by typing the Maple command

        system(`lpr file.ps`);  (please note that the
                                                 quotations marks shown her
                                                 are BACK quotes)

or by typing

        lpr file.ps

in a UNIX window, where file.ps is the filename you specified in the Output to File: field in the Page Setup Dialog window.

If you would like to choose a different printer other than the default, include the -Pprintername option between lpr and the filename in either of the commands above; for example:

     system(`lpr -Pprintername filename`);

where printername is the name of the desired printer, and filename is in this case the name of the desired PostScript file.

To obtain a list of available printers, enter the following command at a UNIX prompt:

        man printers

Note that saving your session for printing does not save plots from other windows, or allow you to continue your Maple session at a later time.


Other Maple Topics

Click on an item listed below to access additional information on a variety of Maple-related topics.


Return to the ACS Consulting home page.

Return to the Software page.


Return to ACS home page.


Please send comments and suggestions to

consult@rpi.edu