|
|||||||||||||||||||||||||||||||
1. Introduction to Printing in the Solaris Operating System 2. Planning for Printing in the Solaris Operating System (Tasks) 3. Setting Up Printing Services (Tasks) 4. Setting Up Printers (Tasks) 5. Administering Printers by Using Solaris Print Manager and LP Print Commands (Tasks) 6. Administering Printers That Use Network Printing Protocols (Tasks) 7. Customizing Printing Services and Printers (Tasks) 8. Administering Character Sets, Filters, Forms, and Fonts (Tasks) Administering Character Sets (Task Map) Administering Print Filters (Task Map) Administering Forms (Task Map) Administering Fonts (Task Map) 9. Administering Printers by Using the PPD File Management Utility (Tasks) 10. Setting Up and Administering Printers From the Desktop (Tasks) 11. Printing in the Solaris Operating System (Reference) 12. Troubleshooting Printing Problems (Tasks) |
Creating a New Printer FormWhen 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:
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:
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 8-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. How to Create a New Printer Form Definition
|
||||||||||||||||||||||||||||||
|