|
|||
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) Introduction to Setting Up Printers Setting Up Printers on a Print Server (Task Map) Setting Up Directly Attached Printers by Using Solaris Print Manager Setting Up Directly Attached Printers by Using LP Print Service Commands Setting Up Network-Attached Printers by Using Solaris Print Manager Setting Up Network-Attached Printers by Using LP Print Commands Adding a New Network-Attached Printer by Using Printer Vendor-Supplied Software Setting Up Printers on a Print Client (Task Map) 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) 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) |
Setting Up Printers That are Associated With PPD FilesYou can set up a printer and associate that printer with a PPD file by using either Solaris Print Manager or LP print commands. When adding or modifying a printer in Solaris Print Manager, the default option is to use PPD files. The Use PPD files attribute is located in the Print Manager drop-down menu of Solaris Print Manager. This default option enables you to select the printer make, model, and driver when you add new printer or modify an existing printer. To deselect this attribute, remove the checkmark from the check box. For more information about how to specify PPD files when a adding a printer, see Administering Printers That Are Associated With PPD Files (Task Map). To specify a PPD file when adding or modifying a printer by using LP print commands, use the lpadmin command with the -n option. For more information, see How to Specify a PPD File When Adding a New Printer by using LP Print Commands. Using PPD Files When Setting Up a Printer in Solaris Print ManagerSolaris Print Manager includes a Use PPD files option that is the default when you create a new print queue or modify an existing print queue. If you do not want to specify a PPD file, you can override this option by removing the checkmark from the check box. To switch back to using PPD files, recheck the Use PPD files check box. Note that if you create a new print queue or modify an existing print queue with PPD files in Solaris Print Manger, you cannot assign the printer type or file content type printer definitions. However, If you do not use PPD files when creating a print queue, you can assign these printer definitions by deselecting the Use PPD files attribute in the Solaris Print Manager drop-down menu. To create a print queue with PPD files, you are required to provide the following information:
The definitions for printer make, model, and printer driver are available in Solaris Print Manager when you create a print queue with the Use PPD files option selected. Note that this option is the default. Note - You do not need to create a print queue that uses PPD files. Also, PPD files are not required for printers that already contain the RIP feature. You can continue to use Solaris Print Manager to configure these printers you did previously. To do so, before adding the printer, remove the checkmark from the Use PPD files check box. For a detailed description of the printer make, printer model, and printer driver printer definitions, see Setting Printer Definitions. Specifying a PPD File When Setting Up a Printer by Using LP Print CommandsUse the -n option with the lpadmin command to specify a PPD file when creating a new print queue or modifying an existing print queue. For example, to add the print queue, foobar, to a Lexmark printer, you would type: # lpadmin -p foobar -v device -I postscript -m standard_foomatic \ -n /path/Lexmark-Optra_E312-Postscript.ppd.gz When using the lpadmin -n command to specify a PPD file, you must provide the full path to the PPD file. Note - If you use the lpadmin -n command to add a PPD file, and the repository that you specify in the PPD file path does not exist on the system, a copy of the PPD file is stored in the user label directory, within the user repository. This directory is located at /var/lp/ppd/user/manufacturer/ppd-file. The Solaris Print Manager cache is then updated to reflect the printer information from the recently added PPD file. For more information, see Chapter 9, Administering Printers by Using the PPD File Management Utility (Tasks). How to Specify a PPD File When Adding a New Printer by using LP Print CommandsWhen you use the lpadmin command with the -n option to specify a PPD file, you are required to provide the full path to the PPD file. If you choose to use a PPD file that is located in a different directory, you must specify the full path to that file.
Example 4-11 Specifying a PPD File When Setting Up a PrinterFor example, to specify the xyz.ppd file that is located in the user's home directory, you would type the following command: # lpadmin -p foo -n /home/user/stuff/xyz.ppd -m \ standard_foomatic -I postscript -v /device |
||
|