包含在查找更多文档专项支持资源 | 以 PDF 格式下载本书 (2592 KB)
Chapter 10 Print ToolThe Print Tool DeskSet application provides an easy way to print files. Print Tool provides a graphical user interface to the UNIX printing functions. This chapter describes the functions of the Print Tool. For information about UNIX printing functions, see System Administration Guide or the OpenWindows Advanced User's Guide. To start Print Tool, choose Workspace -> Programs -> Print Tool. Print Tool IconsYou can print files by dragging and dropping files from the File Manager or a header attachment from the Mail Tool onto the Print Tool icon, which is shown in Figure 10-1. Figure 10-1 Print Tool Icon-Before and During PrintingThe name of the current printer is displayed at the bottom of the Print Tool icon. When a file is dragged and dropped onto the Print Tool, the footer of the open Print Tool window displays the name of the file being printed and may also display error messages. You can drag and drop files to be printed onto the drop target of the Print Tool window and onto the Print Tool icon. Print Tool WindowYou can perform the following operations from the Print Tool window, as shown in Figure 10-2:
Figure 10-2 Print Tool Window
Printing FilesThere are two ways to print files:
With both methods, status messages are displayed in the footer of the Print Tool window. The following sequence of messages is typical (each time you start a print job or change printers):
If the properties have been set, the Print Tool window flashes and beeps, when all printing jobs have been completed. If you want to print a file with a format other than the default, you need to supply an alternative print method. Refer to "Changing the Print Method in the Print Tool" for information on these procedures. Typing the Filename in the Print WindowTo print by typing the file name in the PrintTool window:
Dragging and Dropping the FileWhen you drag a file from another application, you can drop it onto either the Print Tool icon or the drop target of the Print Tool window. To print a file by dragging and dropping:
Choosing Another PrinterWhen the Print Tool window is open, the list of available printers is shown in the scrolling list for Printer. The list is alphabetical with the default printer highlighted and located at the top of the list, if it exists. If a default printer does not exist, the first printer in the list is highlighted. To choose another printer, follow these steps:
Checking the Print Queue StatusTo check the status of your print jobs, click SELECT on the Status button near the bottom of the Print Tool window. The scrolling status window lists by job, size (in KB), and time all of your files or jobs (for the selected printer) in the print queue as shown in Figure 10-4. Figure 10-4 Example of Entries in the Print Queue
Each entry in the print queue is identified by Job, Size (in KB), and Time. The Job category shows a unique job number for each file in the queue. It is also helpful to know the size of a print job. Time shows the time the job was submitted. Figure 10-4 shows that the job ranked first will take longer to print than the following job, because it is larger in size. Stopping a Print JobYou can stop one or more of your jobs in the queue. To stop your job(s) in the queue, do the following:
Changing Print Tool PropertiesThe Print Tool properties window allows you to change certain of functions of Print Tool. Click SELECT on the Properties button from the Print Tool window. The Print Tool Properties window is shown in Figure 10-6. Figure 10-6 The Print Tool Properties Window
The following properties can be set from the Print Tool Properties window:
Changing the Print Method in the Print ToolNote - Depending upon your installation, certain printer filter programs should have been installed for the printers you use by the system administrator. If no print filters are installed, your print job will not be printed. Check with your system administrator for the filter programs installed for your printer, or for a complete listing of print filters available and information about the lpfilter command, refer to System Administration Guide. The Override default print method option allows you to use alternate (command line) print methods within Print Tool. If you need to print a file with another print method (such as troff), you need to override the default print method. You must also use the following environment variables (listed here with their meaning): $FILE=Name of your file $PRINTER/$LPDEST=Printer name $COPIES=Number of copies to be printed $HEADER=Print header page with job You can type any command line print method, including UNIX pipes and shell scripts. The print method must be an executable command in your path. For example, if you want to pretty-print a C source file using the vgrind command, you would follow these steps:
Changing the Print Method with the BinderYou can use the Binder application to view or change the print method bound to specific types of files. This information is stored in the non-ASCII file called cetables in the /usr/openwin/lib/cetables directory and can be viewed using Binder. Once you use Binder to customize this file, the information is stored as .cetables directory in your home directory. For complete information on using Binder, refer to Chapter 16, Binder. Starting Print Tool from the Command LineWhen started from the command line, Print Tool looks at the following to determine the default printer:
All printers that are available to you are listed on the Printer scroll list. Printers are in separate directories under /etc/lp/printers. If you need to add or delete printers to your system configuration, you must use the admin tool. See System Administration Guide for more information. |
|