T.O.C. Index Bug Report ASCEND IV Home

print_dialog The Print Dialog

Chapter 15 The Print Dialog


15.1 Overview

The print dialog shown in

Figure 15-1 allows the user to modify the settings which control the printing of information from within ASCEND.

15.2 Settings

15.2.1 Destination

This is a pop-up menu that allows you to select one of the following options for printing: Print, Write to file, Append to file, Enscript, or Custom.

15.2.1.1 Print

On UNIX machines, this option sends the window's contents to the printer specified in the Printer field (PRINTER). Under SystemV systems, the command
lp -dPRINTER
is used as the interface to the printer; on all other UNIX systems, the command
lpr -PPRINTER
is used.

Under Windows, the command
notepad /p
is used to send the window's contents to the user's default printer.

15.2.1.2 Write to file

Under UNIX, this option writes the contents of the window to the file listed in the Name of file field. If a file with the same name exists, ASCEND will overwrite the file after verifying that the user wants to overwrite the file.

This option is not available on the Windows platform.

This option is another version of Save As and will likely go away in future releases of ASCEND.

15.2.1.3 Append to file

Under UNIX, this option appends the contents of the window to the file listed in the Name of file field. If the file does not exist, it will be created.

This option is not available on the Windows platform.

This option will likely go away in future releases of ASCEND.

15.2.1.4 Enscript

On UNIX, this option uses the enscript program to queue the window's contents to the printer specified in the Printer field (PRINTER). On SystemV systems, the command
enscript -dPRINTER enscript-flags
is used; on all other UNIX systems, the command
enscript -PPRINTER enscript-flags
is used. The value of enscript-flags is the value specified in the Enscript flags field.

This option is not available on the Windows platform.

15.2.1.5 Custom

This option allows the user to specify a custom print command. The user should type their custom command in the User print command field; the command should accept a file name as its final argument.

This option is not available on the Windows platform.

15.2.2 Printer

Under UNIX, this field specifies the printer to send the document to when the Destination is Print or Enscript.

This field has no effect under Windows.

15.2.3 Name of file

Under UNIX, this field contains the name of the file used by the Write to file and Append to file options.

This field has no effect under Windows.

15.2.4 Enscript flags

Under UNIX, this field contains the options sent to the enscript program when the Destination is Enscript.

This field has no effect under Windows.

15.2.5 User print command

Under UNIX, this field contains the command used to ``print'' the window's contents when the Destination is Custom. This command should accept the name of a file (a temporary file containing the contents of the window) as its final argument.

This field has no effect under Windows.

15.3 Buttons

15.3.1 OK

Pressing this button accepts the settings, sends the document to the printer or to the specified file, and closes the print dialog. The values displayed in the Text print command and the PRINTER fields in the system utilities window will change to reflect the new settings.

15.3.2 Help

Pressing this button should cause your web browser to display this document.

15.3.3 Cancel

This button ignores any changes you may have made to the settings and closes the print dialog. The file is not printed.


Last Modified: 03:18pm EDT, September 30, 1997
9/26/97 Release 0.8 authors T.O.C. Index Bug Report ASCEND IV Home