1. Introduction to Printing in the Oracle Solaris Operating System
2. Planning for Printing (Tasks)
3. Setting Up Network Printing Services (Tasks)
4. Setting Up and Administering Printers by Using Solaris Print Manager (Tasks)
5. Setting Up Printers by Using LP Print Commands (Tasks)
6. Administering Printers by Using LP Print Commands (Tasks)
7. Customizing LP Printing Services and Printers (Tasks)
8. Administering the LP Print Scheduler and Managing Print Requests (Tasks)
9. Administering Printers on a Network (Tasks)
10. Administering Character Sets, Filters, Forms, and Fonts (Tasks)
Administering Character Sets (Task Map)
Alerts for Mounting Print Wheels or Font Cartridges
How to Define a Print Wheel or Font Cartridge
How to Unmount and Mount a Print Wheel or Font Cartridge
How to Set an Alert to Mount a Print Wheel or Font Cartridge
How to Set Up an Alias for a Selectable Character Set
Administering Print Filters (Task Map)
Writing a Print Filter Program
Handling Special Printing Modes
Requirements for a Print Filter Program
Creating a Print Filter Definition
lpfilter Output Types Argument
lpfilter Printer Types Argument
Defining Print Filter Options With Templates
How to Create a New Print Filter
Adding, Changing, Deleting, and Restoring Print Filters
How to View Information About a Print Filter
Administering Forms (Task Map)
Adding, Changing, or Deleting Forms
How to Unmount and Mount a Form
Defining Alerts for Mounting Forms
How to Set an Alert to Mount a Form
How to View Information About a Form
How to View the Current Status of a Form
How to Limit User Access to a Form
How to Limit Printer Access to a Form
Administering Fonts (Task Map)
Managing Printer-Resident Fonts
Downloading Host-Resident Fonts
Installing and Maintaining Host-Resident Fonts
How to Install Downloaded PostScript Fonts
How to Install Host-Resident PostScript Fonts
11. Administering Printers by Using the PPD File Management Utility (Tasks)
12. Printing in the Oracle Solaris Operating System (Reference)
13. Troubleshooting Printing Problems in the Oracle Solaris OS (Tasks)
When you want to provide a new form, you must define its characteristics by specifying information for nine required printer characteristics (such as page length and page width) as input to the lpforms command.
The LP print service uses this information to perform the following tasks:
Initialize the printer so that printing is done properly on the form
Send reminders to the system administrator about how to handle the form
The form name can be anything you choose, as long as it does not contain more than 14 alphanumeric characters or any underscores. The information must use the following format:
Page length: scaled-number Page width: scaled-number Number of pages: integer Line pitch: scaled-number Character pitch: scaled-number Character set choice: character-set-name [,mandatory] Ribbon color: ribbon-color Comment: informal notes about the form Alignment pattern: [content-type] alignment pattern
The optional word [,mandatory], means that the user cannot override the character set choice in the form. The content-type can be given, although this information is optional, with an alignment pattern. If this value is given, the print service uses it to determine, as necessary, how to filter and print the file.
Aside from following two exceptions, the information can appear in any order:
The Alignment pattern (which must always be last).
The comment (which must always follow the line with the Comment: prompt).
If the comment contains a line that begins with a key phrase, such as Page length, Page width, and so on, precede that line with a > character so that the key phrase is not at the beginning of the line. The initial > character is stripped from the comment and is not displayed.
Not all of the information must be given. When you do not specify values, the default values in the following table are assigned. Before running the lpforms command, gather the following information about the new form that is described in this table.
Table 10-4 Default Values for Printer Forms
|
Note - The LP print service does not try to mask sensitive information in the alignment pattern. If you do not want sensitive information printed on sample forms, for example when you align checks, then you should mask the appropriate data. The LP print service keeps the alignment pattern stored in a safe place, where only users logged in as superuser or lp user can read it.
When you have gathered the information for the form, specify it as input to the lpforms command. You should record this information first in a separate file so that you can edit it before specifying it with the lpforms command. You can then use the file as input instead of typing each piece of information separately after a prompt.
Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.
For a description on creating printer forms, see Creating a New Printer Form. You should save the printer definition in a text file.
# lpadmin -p printer-name -M -f form-name
For instructions, see How to Add a Form.