Solaris Common Desktop Environment: User's Guide

Chapter 11 Printing

You can easily print files, find or cancel print jobs, and get information about printers and print jobs through the desktop.

Your Default Printer

Your system may have more than one printer that you can use for printing. One of the printers will be designated as the default printer. The default printer is the printer that your desktop automatically uses if you submit a document for printing and you don't specify a printer name. When you first open your desktop, the default printer is shown in the Front Panel.

To find out how to display a printer other than your default printer in the Front Panel, see To Change the Front Panel Printer.

To Determine the Default Printer

    To find out the name of your default printer, double-click the Default printer control in the Personal Printers subpanel in the Front Panel.

This starts the Printer Jobs application. The name under the printer icon is the name of your default printer.

To Change the Default Printer

To designate a different printer as the default printer:

  1. Go to your home folder and open the file .dtprofile.

  2. Add or edit a line that sets a value for the LPDEST environment variable:

    LPDEST=printer_device; export LPDEST

    If you are using csh the syntax is:

    setenv LPDEST printer_device
    

    Note –

    This change will take effect the next time you log out and back in again.


    For example, the following line would change the default printer to the printer whose device name is laser3d.

    LPDEST=laser3d; export LPDEST

    If you are using csh the syntax is:

    setenv LPDEST laser3d

Printing Files

The desktop can print different types of files, as listed in Table 11–1.

Table 11–1 Types of Data That Can Be Printed (Initial Configuration)

Type of Data 

Data Type Requirement 

Description 

Text file 

File name ends with.txt 

Text files containing ordinary (ASCII) text data 

PostScript 

File name ends with .ps, or content is recognized as PostScript data 

PostScript files 

(requires a PostScript printer) 

PCL 

File name ends with.pcl,or content is recognized as PCL data 

Printer Control Language files 

(requires a PCL printer) 

Data 

Contains text data 

The default data type assigned to all files containing ASCII data that do not match other data types 

If applications are installed on your system that create other types of files, your system administrator can add printing capabilities for them.


Note –

Ensure that your destination printer is capable of printing PostScriptTM or PCL files before you try to print them.


Submitting a File to a Printer

There are many ways to submit a file to a printer:

To Print Using the Front Panel

  1. Drag a single file or multiple files from File Manager to the Printer control in the Front Panel or to a Printer icon in the Personal Printers subpanel.

    The system then displays a Print dialog box for specifying print options. A Print dialog box appears for each file you drag to the Printer control.

    Graphic
    Note –

    pscolor will not show on your system. It is only included as an example of a printer that has been added to a system.


  2. Optional. Use the text fields in the Print dialog box to set additional print options. (See Setting Print Options Using the Print Dialog Box.)

  3. Click OK in the Print dialog box to send the job to the printer.

To Print Using File Manager

  1. Select the file in File Manager.

  2. Choose Print from the Selected menu or the file's pop-up menu.

    The system displays a Print dialog box for specifying various print options.

  3. Optional. Use the text fields in the Print dialog box to set additional print options. (See Setting Print Options Using the Print Dialog Box.)

  4. Click OK in the Print dialog box to send the job to the printer.

To Print Using Print Manager

  1. Start Print Manager from the Personal Printers subpanel.

  2. Drag a file from File Manager to a printer icon in Print Manager.

    In Print Manager, you can submit a document by dropping it on a printer icon or into the jobs list area to the right of a printer.


    Note –

    If you submit a job to a printer that is down (flag is showing), it may never be printed even though it appears in the jobs list.


    The system displays a Print dialog box for specifying various print options.

  3. Optional. Use the text fields in the Print dialog box to set additional print options. (See Setting Print Options Using the Print Dialog Box.)

  4. Click OK in the Print dialog box to send the job to the printer.

Setting Print Options Using the Print Dialog Box

The desktop displays the Print dialog box when you print text, PCL, PostScript, and data files (see Table 11–1).

Graphic

When application data files, such as word processor documents, are submitted for printing, they may display their own unique Print dialog boxes.

Use the Print dialog box to set these print options:

Table 11–2 Setting Print Options

Printer 

The destination for the print job. The text field initially displays the printer on which you dropped the data file. In this example, the document was dropped on a printer named lj4_n5.

Copies 

The number of copies to print. The default is 1. 

Banner Page Title 

A title to appear on the banner page. The banner page is a sheet of paper that the printer prints before it prints the first page of your document. 

Print Page Numbers 

Prints page numbers on each page. If page numbering is selected, Print Manager will not display the true name of your document. Instead, the name in the jobs list will be STDIN:XXXXX, where XXXXX is a five-digit number. 

Print Command Options 

Other options that change the way printing is done. See the next section for more details on using this field. 

Print Command Options

You can use the Print Command Options text field in the Print dialog box to set other print options. Type the proper lp command flag in the text field for the print option you want to use. To see a list of the lp command flags, type man lp in a Terminal window.

For example, one of the lp flags is -m. This flag tells the print server to send you a mail message that tells you when it is done printing your document. To use this flag you would type -m in the Print Command Options field of the Print dialog box. Then when your document is done printing, a message appears in your mailbox from the printer.

Printer Applications

After you submit a document (print job) for printing, you can use the Print Manager or Printer Jobs applications to find out about the progress of the printing. Printer Jobs gives you information about jobs on a single printer. Print Manager shows all the printers that are on your system.

Print Manager

The Print Manager window is shown below. To find out how to modify it, see Changing the Print Manager Display.

Graphic

To Start Print Manager

    Click the Print Manager control in the Personal Printers subpanel in the Front Panel.

    Graphic

Printer Jobs Application

The Printer Jobs application is the application you see when you open a single printer from the Front Panel. The Printer Jobs application is a simplified version of Print Manager that shows only a single printer instead of all the printers on your system. The functions that are available inside Printer Jobs work the same way as they do in Print Manager.

Graphic

To Start the Printer Jobs Application

    Click the Printer control in the Front Panel.

    Graphic

Note –

The pscolor printer is only shown in the figure as an example of a printer that has been added to a system. It will not be on your subpanel.


Displaying Print Job Information

Information about the jobs waiting to be printed on a printer is displayed when you open a printer icon. A display area to the right of the printer icon displays an icon for each of the jobs waiting to be printed on it, and each job's position in line, job name, and owner.

To Open a Printer Icon

There are three ways to open a printer:

To Close a Printer Icon

Close a printer if you don't want to see the jobs waiting to be printed on it.

To Find a Print Job

  1. Choose Find from the Printers menu.

    Find is available in Print Manager but not in the Printer Jobs application.

  2. Type the name of the print job you want to find in the Job Name field.

    For example, typing cat will find all jobs that include the fragment “cat” in their name, such as “Catchall” and “catalog,” regardless of case.

    To find jobs with the name “cat” only, you would select Exact match.

    To find only jobs that match your capitalization, deselect Ignore case.


    Note –

    Find only finds print jobs that list you as the owner and it searches all printers, even those that are not currently displayed.


  3. Click Start Find.

  4. Once you have found a job, you can go directly to it in Print Manager or cancel it. To go to a found job, select the job and click Goto. To cancel a found job, select it and click Cancel Print Jobs.

To Cancel a Print Job

  1. Select a print job in the Print Manager or Printer Jobs window.

  2. Choose Cancel from the Selected menu or from the print job's pop-up menu (displayed by pressing Shift+F10 or mouse button 3).

  3. Click Yes in the confirmation dialog box.

Print Job Properties

The following properties can be displayed for print jobs:

To Display Print Job Properties

  1. Select a print job.

  2. Choose Properties from the Selected menu or the print job's pop-up menu (displayed by pressing Shift+F10 or mouse button 3).

    The properties are displayed.

Printers and the Front Panel

The printer shown in the Front Panel is usually your default printer. You can change it to another printer, or add a printer to the Personal Printers subpanel.

To Change the Front Panel Printer


Note –

This does not change your default printer assignment. To find out how to change the default printer, see To Change the Default Printer.


  1. Open the Personal Printers subpanel (by clicking the arrow above the Printer control in the Front Panel) and verify that the icon for the printer you want to move to the Front Panel appears.

    If the printer is not in the Personal Printers subpanel, add it by following the steps in To Add a Printer to the Personal Printers Subpanel.

  2. In the subpanel, point to the printer icon you want to add to the Front Panel and select Put In Main Panel from the icon's pop-up menu (displayed by pressing Shift+F10 or mouse button 3).

    To verify that the printer has been changed, click the Printer control in the Front Panel and check the name of the icon in the Printer Jobs window that appears.

To Add a Printer to the Personal Printers Subpanel

  1. Open the Personal Printers subpanel (by clicking the arrow above the Printer control in the Front Panel).

  2. Start Print Manager.

  3. Drag a printer icon from the Print Manager window to the Install Icon control in the open subpanel.

Changing the Print Manager Display

This section describes how to change display parameters in Print Manager.

To Change How Printers and Print Jobs Are Displayed

  1. Start Print Manager.

  2. Choose Set Options from the View menu.

  3. Select how you want the print jobs represented:

    • Large Icon – Displays printers and print jobs as large icons

    • Small Icon – Displays printers and print jobs as small icons

    • Name Only – Displays printer and print jobs as only text

    • Details – Displays job owner, size, job number, and the date and time each job was submitted

    • Show Labels – Displays a description of each details row to the left of the job list area


      Note –

      The term “not available” may appear in some fields to indicate that the print server is not supplying that information


  4. Click OK.

To Change the Update Frequency

  1. Start Print Manager.

  2. Choose Set Options from the View menu.

  3. Adjust the interval gauge to specify how frequently printers are queried for information about their print jobs. The default is every 30 seconds.

  4. Click OK.

To Determine Which Jobs Are Displayed

  1. Start Print Manager.

  2. Choose Set Options from the View menu.

  3. Select which jobs you want shown:

    • Only Mine – Displays just your print jobs

    • Everyone's – Displays all print jobs

  4. Click OK.

To Display the Print Manager Message Line

  1. Start Print Manager.

  2. Choose Set Options from the View menu.

  3. Select Message Line to display a message line at the bottom of the Print Manager window.

    The message line shows the number of printers on your system and the number that are currently hidden. It also presents messages telling you when printer updates are being done.

  4. Click OK.

To Display the Print Manager Problem Flag

  1. Start Print Manager.

  2. Choose Set Options from the View menu.

  3. Select Problem Flag to have a flag icon displayed next to printers when a problem is found with one of them.

    For more information on the problem, you can double-click the Flag icon.

  4. Click OK.

To Determine Which Printers Are Shown

  1. Start Print Manager.

  2. Choose Modify the Show List from the View menu.

    Printers that are visible in the Print Manager window have highlighted names.

  3. Click a non-highlighted printer to make it visible in the Print Manager window.

    Click a highlighted printer to remove it from the main window. You can also use Select All to show all the printers or Deselect All to hide all the printers.

  4. Click OK.

Printer Properties

The following properties can be displayed:

To Show a Printer's Properties

  1. Select a printer in the Print Manager window or the printer in the Printer Jobs window.

  2. Choose Properties from the Selected menu or from the printer's pop-up menu (displayed by pressing Shift+F10 or mouse button 3).

To Change a Printer's Icon

  1. Select a printer in the Print Manager window or the printer in the Printer Jobs window.

  2. Choose Properties from the Selected menu or from the printer's pop-up menu (displayed by pressing Shift+F10 or mouse button 3).

  3. Click Find Set.

  4. Select the new icon you wish to use.

    If the icon you want is not visible, choose another folder from the Icon Folders menu. This dialog box will only display icons that have a complete set of all three sizes.

  5. After you have selected an icon, click OK.

  6. Click OK in the Properties dialog box.

To Change a Printer's Icon Label

  1. Select a printer in the Print Manger window or the printer in the Printer Jobs window.

  2. Choose Properties from the Selected menu or from the printer's pop-up menu (displayed by pressing Shift+F10 or mouse button 3).

  3. Type the new icon label in the Icon Label field.

  4. Click OK.