Sun Microsystems System Administration Guide: Advanced
Total Page:16
File Type:pdf, Size:1020Kb
System Administration Guide: Advanced Administration Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054 U.S.A. Part No: 817–0403–10 January 2005 Copyright 2005 Sun Microsystems, Inc. 4150 Network Circle, Santa Clara, CA 95054 U.S.A. All rights reserved. This product or document is protected by copyright and distributed under licenses restricting its use, copying, distribution, and decompilation. No part of this product or document may be reproduced in any form by any means without prior written authorization of Sun and its licensors, if any. Third-party software, including font technology, is copyrighted and licensed from Sun suppliers. Parts of the product may be derived from Berkeley BSD systems, licensed from the University of California. UNIX is a registered trademark in the U.S. and other countries, exclusively licensed through X/Open Company, Ltd. Sun, Sun Microsystems, the Sun logo, docs.sun.com, AnswerBook, AnswerBook2, SunOS, Solstice, Solstice AdminSuite, Solstice DiskSuite, Solaris Solve, Java, JavaStation, DeskSet, OpenWindows, NFS, Sun Enterprise SyMON, and Solaris are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. in the U.S. and other countries. Products bearing SPARC trademarks are based upon an architecture developed by Sun Microsystems, Inc. Adobe is a registered trademark of Adobe Systems, Incorporated. The OPEN LOOK and Sun™ Graphical User Interface was developed by Sun Microsystems, Inc. for its users and licensees. Sun acknowledges the pioneering efforts of Xerox in researching and developing the concept of visual or graphical user interfaces for the computer industry. Sun holds a non-exclusive license from Xerox to the Xerox Graphical User Interface, which license also covers Sun’s licensees who implement OPEN LOOK GUIs and otherwise comply with Sun’s written license agreements. U.S. Government Rights – Commercial software. Government users are subject to the Sun Microsystems, Inc. standard license agreement and applicable provisions of the FAR and its supplements. DOCUMENTATION IS PROVIDED “AS IS” AND ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD TO BE LEGALLY INVALID. Copyright 2005 Sun Microsystems, Inc. 4150 Network Circle, Santa Clara, CA 95054 U.S.A. Tous droits réservés. Ce produit ou document est protégé par un copyright et distribué avec des licences qui en restreignent l’utilisation, la copie, la distribution, et la décompilation. Aucune partie de ce produit ou document ne peut être reproduite sous aucune forme, par quelque moyen que ce soit, sans l’autorisation préalable et écrite de Sun et de ses bailleurs de licence, s’il y en a. Le logiciel détenu par des tiers, et qui comprend la technologie relative aux polices de caractères, est protégé par un copyright et licencié par des fournisseurs de Sun. Des parties de ce produit pourront être dérivées du système Berkeley BSD licenciés par l’Université de Californie. UNIX est une marque déposée aux Etats-Unis et dans d’autres pays et licenciée exclusivement par X/Open Company, Ltd. Sun, Sun Microsystems, le logo Sun, docs.sun.com, AnswerBook, AnswerBook2, SunOS, Solstice, Solstice AdminSuite, Solstice DiskSuite, Solaris Solve, Java, JavaStation, DeskSet, OpenWindows, NFS, Sun Enterprise SyMON, et Solaris sont des mardques de fabrique ou des marques déposées, de Sun Microsystems, Inc. aux Etats-Unis et dans d’autres pays. Toutes les marques SPARC sont utilisées sous licence et sont des marques de fabrique ou des marques déposées de SPARC International, Inc. aux Etats-Unis et dans d’autres pays. Les produits portant les marques SPARC sont basés sur une architecture développée par Sun Microsystems, Inc. Adobe est une marque enregistree de Adobe Systems, Incorporated. L’interface d’utilisation graphique OPEN LOOK et Sun™ a été développée par Sun Microsystems, Inc. pour ses utilisateurs et licenciés. Sun reconnaît les efforts de pionniers de Xerox pour la recherche et le développement du concept des interfaces d’utilisation visuelle ou graphique pour l’industrie de l’informatique. Sun détient une licence non exclusive de Xerox sur l’interface d’utilisation graphique Xerox, cette licence couvrant également les licenciés de Sun qui mettent en place l’interface d’utilisation graphique OPEN LOOK et qui en outre se conforment aux licences écrites de Sun. CETTE PUBLICATION EST FOURNIE “EN L’ETAT” ET AUCUNE GARANTIE, EXPRESSE OU IMPLICITE, N’EST ACCORDEE, Y COMPRIS DES GARANTIES CONCERNANT LA VALEUR MARCHANDE, L’APTITUDE DE LA PUBLICATION A REPONDRE A UNE UTILISATION PARTICULIERE, OU LE FAIT QU’ELLE NE SOIT PAS CONTREFAISANTE DE PRODUIT DE TIERS. CE DENI DE GARANTIE NE S’APPLIQUERAIT PAS, DANS LA MESURE OU IL SERAIT TENU JURIDIQUEMENT NUL ET NON AVENU. 041112@10082 Contents Preface21 1 Managing Printing Services (Overview)27 What’s New in Printing?27 Expanded Printer Support in the Solaris Operating System27 Internet Printing Protocol Listener for the Solaris Operating System28 Where to Find Printer Tasks 28 Printing in the Solaris Operating System 28 Solaris Print Manager 29 Printing Support in the Name Service Switch29 LDAP Print Support Guidelines 30 Choosing a Method to Manage Printers 31 The LP Print Service 32 Managing Network Printers 32 Administering Printers 32 Setting Definitions for Printers33 Administering Character Sets, Filters, Forms, and Fonts 33 Customizing the LP Print Service 33 The Solaris Print Client-Server Process 34 The Print Client Process 34 Using Print Clients34 Printer Configuration Resources 35 Using Print Servers 37 Expanded Printer Support 38 Features of Expanded Printer Support 38 Changes to lpstat Command Output When Using PPD Files 42 3 Internet Printing Protocol Listener 43 2 Planning Printers on Your Network (Tasks)45 Distributing Printers on the Network45 Assigning Print Servers and Print Clients46 Print Server Requirements and Recommendations47 Spooling Space47 Disk Space48 Memory48 Swap Space48 Hard Disk48 Planning for Printer Setup49 Setting Definitions for Printers49 Selecting a Printer Type54 Selecting a File Content Type55 3 Setting Up Printers (Tasks)59 Setting Up Printing (Task Map)59 Setting Up Printing by Using Solaris Print Manager61 Printer Setup With Solaris Print Manager61 Solaris Print Manager and Special Characters62 Starting Solaris Print Manager63 M How to Start Solaris Print Manager63 Setting Up a Print Server65 M How to Add a New Attached Printer by Using Solaris Print Manager66 M How to Add a New Attached Printer by Using LP Print Service Commands67 Setting Up a Print Client71 M How to Add Printer Access by Using Solaris Print Manager71 Setting Up a .printers File72 M How to Set Up a .printers File72 Introduction to Adding a Network Printer73 Printer Vendor-Supplied Software for Network Printers75 Sun Support for Network Printers75 Invoking Network Printer Support75 Selecting the Print Protocol75 Selecting the Printer Node Name76 4 System Administration Guide: Advanced Administration • January 2005 Selecting the Destination Name (Also Called the Network Printer Access Name) 76 Setting the Timeout Value 77 Managing Network Printer Access 77 M How to Add a Network Printer by Using Printer Vendor-Supplied Tools 78 M How to Add a New Network Printer by Using Solaris Print Manager 78 M How to Add a New Network Printer by Using LP Print Service Commands 80 4 Administering Printers (Tasks)85 Managing Printers and the Print Scheduler (Task Map) 85 Managing Printers and the Print Scheduler86 Deleting Printers and Printer Access86 M How to Delete a Printer and Remove Printer Access 87 Checking Printer Status 89 M How to Check the Status of Printers 89 Stopping and Restarting the Print Scheduler 91 M How to Stop the Print Scheduler 92 M How to Restart the Print Scheduler 92 Starting the Print Scheduler With Options 93 M How to Set Print Option Values Only for the Duration of a Call93 M How to Set Option Values That Remain Over a System Reboot94 Using the RFC-1179 Protocol Listener to Cascade Print Requests95 Setting or Resetting Miscellaneous Printer Definitions (Task Map) 96 Setting or Resetting Miscellaneous Printer Definitions97 M How to Add a Printer Description 98 Setting Up a Default Printer Destination 98 M How to Set a System’s Default Printer Destination99 Printing Banner Pages 100 M How to Make Banner Pages Optional 101 M How to Turn Off Banner Pages 101 Setting Up Printer Classes 102 M How to Define a Class of Printers 103 Setting Up Printer Fault Alerts 103 M How to Set Fault Alerts for a Printer 104 Setting Up Printer Fault Recovery 105 M How to Set Printer Fault Recovery 106 Limiting User Access to a Printer 107 5 M How to Limit User Access to a Printer108 Managing Print Requests (Task Map)109 Managing Print Requests111 M How to Check the Status of Print Requests112 Enabling or Disabling a Printer From Printing113 M How to Enable or Disable a Printer114 Accepting or Rejecting Print Requests115 M How to Accept or Reject Print Requests for a Printer116 Canceling a Print Request116 M How to Cancel a Print Request117 M How to Cancel a Print Request From a Specific User118 Moving a Print Request119 M How to Move Print Requests to Another Printer119 Changing the Priority of Print Requests120 M How to Change the Priority of a Print Request121