Printing: PRINT command

 

Use the PRINT command on the action line to print a displayed file:

 

1Press F9 to access the action line.
2Type print
3Press F10 to execute the command and begin printing.

 

The print command in step 2 can be modified as follows:

 

To print a file that is not displayed on screen, type print followed by a space and then the path, name and extension of the file to be printed. If there are spaces in the name of the file or the folder (or subfolder), you must use quotes as shown in the second example below:  

print c:\nbwin\document\filename.nb

print "c:\nbwin\document\file name.nb"

To print even and odd pages of a displayed file, type print followed by a space and a comma, and then o for odd or e for even. For example, to print all odd pages of the currently displayed file, type the following:

print ,o

To print multiple copies of a displayed file,  type print followed by a space and a forward slash, and then the number of copies to be printed. For example, to print two copies of the currently displayed file, type the following:

print /2

To print selected pages of an open file, type print followed by a space, then a comma, then the pages to be printed.  Use a hyphen between the beginning and end of a range of pages and use a forward slash to separate non-contiguous pages or ranges.  For example, to print pages 2 through 10, 16, and 30 through 50, use the following command:

print ,2-10/16/30-50

 

The orientation of printed text is controlled by using the commands or 1 to set the orientation to landscape or or 0 to set the orientation to portrait.

 

1Place your cursor at the top of the document or at the top of the page on which you intend the designated print orientation to begin.
2Press F9 to access the action line.
3Type or 1  or type or 0
4Press F10 to implement the command.
5Press F9 to access the action line.
6Type print
7Press F10 to execute the command and begin printing.